Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2001
    Posts
    99

    Question httpd not showing when i run 'top'

    hello
    .
    i had an old server at interland and i remember when i used to run the top command i used to get a list of httpd processes.

    on my new server at theplanet,i dont see any http processes in 'top'.

    my site gets around 30000 hits/day/

    this is whats worrying me.

    do you see any reason why there is no httpd process showing?

    seeing the traffic i get,it should atleast show 5-10 httpd processes.

    maybe i am interpreting the 'top' command stats wrong.


    here is the server status.



    08:14:25 up 11 days, 6:49, 1 user, load average: 0.36, 0.32, 0.28
    136 processes: 135 sleeping, 1 running, 0 zombie, 0 stopped
    CPU states: cpu user nice system irq softirq iowait idle
    total 7.9% 0.0% 1.6% 0.0% 0.1% 0.0% 90.0%
    cpu00 10.7% 0.0% 2.3% 0.0% 0.7% 0.3% 85.6%
    cpu01 7.0% 0.0% 1.2% 0.0% 0.0% 0.0% 91.8%
    cpu02 6.7% 0.0% 1.9% 0.0% 0.0% 0.0% 91.2%
    cpu03 7.3% 0.0% 1.1% 0.0% 0.0% 0.0% 91.4%
    Mem: 1028000k av, 931176k used, 96824k free, 0k shrd, 93612k buff
    365916k actv, 164824k in_d, 15932k in_c
    Swap: 1052248k av, 73052k used, 979196k free 510256k cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    8073 named 25 0 18684 18M 2136 S 1.7 1.8 28:54 3 named
    9107 mysql 16 0 43404 19M 1556 S 1.2 1.9 0:03 0 mysqld-max
    4557 mysql 16 0 43404 19M 1556 S 1.1 1.9 0:19 2 mysqld-max
    4521 mysql 16 0 43404 19M 1556 S 1.0 1.9 0:18 2 mysqld-max
    9616 mysql 16 0 43404 19M 1556 S 0.7 1.9 0:01 3 mysqld-max
    5391 mysql 16 0 43404 19M 1556 S 0.5 1.9 0:14 3 mysqld-max
    5446 mysql 16 0 43404 19M 1556 S 0.5 1.9 0:15 3 mysqld-max
    5829 mysql 16 0 43404 19M 1556 S 0.5 1.9 0:15 2 mysqld-max
    8937 mysql 16 0 43404 19M 1556 S 0.5 1.9 0:03 1 mysqld-max
    9356 mysql 16 0 43404 19M 1556 S 0.4 1.9 0:02 0 mysqld-max
    1 root 15 0 500 468 440 S 0.0 0.0 0:14 2 init
    2 root RT 0 0 0 0 SW 0.0 0.0 0:00 0 migration/0
    3 root RT 0 0 0 0 SW 0.0 0.0 0:00 1 migration/1
    4 root RT 0 0 0 0 SW 0.0 0.0 0:00 2 migration/2
    5 root RT 0 0 0 0 SW 0.0 0.0 0:00 3 migration/3
    6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
    7 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd/0
    8 root 34 19 0 0 0 SWN 0.0 0.0 0:00 1 ksoftirqd/1
    9 root 34 19 0 0 0 SWN 0.0 0.0 0:00 2 ksoftirqd/2
    10 root 34 19 0 0 0 SWN 0.0 0.0 0:00 3 ksoftirqd/3
    11 root 15 0 0 0 0 SW 0.0 0.0 1:19 0 kswapd

    can you advice.


    thanks
    sam

  2. #2
    What is the output of "ps ax"? You should see a list of processes. If you are using Linux, you can use "ps axf" for a tree view.
    ::. www.diginode.net : Dedicated Servers : Virtual Machine Servers .::
    ::. Industry-Leading Remote Server Management .::
    ::. Automatic OS Re-image : Instant Server Reboot : Remote Serial Console .::
    ::. Over 20 OSes to choose from : Install a new OS every day .::

  3. #3
    Join Date
    Aug 2001
    Posts
    99
    ps ax shows a long list.

    it does show httpd now.
    does this mean httpd is working fine?


    10 ? SWN 0:00 [ksoftirqd/3]
    11 ? SW 1:19 [kswapd]
    12 ? SW 0:36 [kscand]
    13 ? SW 0:01 [bdflush]
    14 ? SW 1:10 [kupdated]
    15 ? SW 0:00 [mdrecoveryd]
    23 ? SW 2:30 [kjournald]
    67 ? SW 0:00 [khubd]
    2484 ? SW 0:00 [kjournald]
    2814 ? S 0:01 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/ru
    3019 ? S 0:32 syslogd -m 0
    3023 ? S 0:00 klogd -x
    3033 ? S 0:32 irqbalance
    3110 ? S 0:06 /usr/sbin/sshd
    9966 ? S 0:00 \_ sshd: [email protected]/0
    9976 pts/0 S 0:00 \_ -bash
    13854 pts/0 R 0:00 \_ ps axf
    3124 ? S 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
    3147 ? S 0:00 /var/rlxagent/rlxagentd -h 10.128.30.19 -C /var/rlxagent/rlxagentd.conf
    3157 ? S 0:00 /usr/bin/spamd -x -u spamd -H /home/spamd -d
    3174 ? S 0:04 crond

    3932 ? S 0:00 /usr/local/libexec/authlib/authdaemond.plain start
    3935 ? S 0:00 \_ /usr/local/libexec/authlib/authdaemond.plain start
    3936 ? S 0:00 \_ /usr/local/libexec/authlib/authdaemond.plain start
    3938 ? S 0:00 \_ /usr/local/libexec/authlib/authdaemond.plain start
    3939 ? S 0:00 \_ /usr/local/libexec/authlib/authdaemond.plain start
    3940 ? S 0:00 \_ /usr/local/libexec/authlib/authdaemond.plain start
    3944 ? S 0:00 /usr/local/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/sbin
    3947 ? S 0:00 /usr/local/sbin/courierlogger imapd
    19075 ? S 1:16 elinks http://rdf.dmoz.org
    23833 ? S 1:41 /usr/sbin/httpd
    7963 ? S 0:03 \_ /usr/sbin/httpd
    7971 ? S 0:04 \_ /usr/sbin/httpd
    7974 ? S 0:03 \_ /usr/sbin/httpd
    9102 ? S 0:03 \_ /usr/sbin/httpd
    9189 ? S 0:02 \_ /usr/sbin/httpd
    9335 ? S 0:02 \_ /usr/sbin/httpd
    9592 ? S 0:02 \_ /usr/sbin/httpd
    9606 ? S 0:02 \_ /usr/sbin/httpd
    9608 ? S 0:02 \_ /usr/sbin/httpd
    10139 ? S 0:01 \_ /usr/sbin/httpd
    10144 ? S 0:02 \_ /usr/sbin/httpd
    10145 ? S 0:02 \_ /usr/sbin/httpd
    10152 ? S 0:02 \_ /usr/sbin/httpd
    10153 ? S 0:01 \_ /usr/sbin/httpd
    10154 ? S 0:01 \_ /usr/sbin/httpd
    10156 ? S 0:01 \_ /usr/sbin/httpd
    11561 ? S 0:01 \_ /usr/sbin/httpd
    12140 ? S 0:01 \_ /usr/sbin/httpd
    8623 ? S 0:00 /bin/sh /usr/bin/safe_mysqld --skip-grant-tables
    8643 ? S 4:45 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql --user=my
    8645 ? S 7:09 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql --use
    8646 ? S 0:00 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8647 ? S 0:00 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8648 ? S 0:00 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8649 ? S 0:00 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8650 ? S 0:00 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8651 ? S 2:19 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8652 ? S 0:14 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8653 ? S 1:42 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8654 ? S 0:00 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    7988 ? S 0:19 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    7993 ? S 0:19 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    8037 ? S 0:17 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    9104 ? S 0:15 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    9233 ? S 0:14 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql -
    9356 ? S 0:11 \_ /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mys

  4. #4
    When in TOP, press Shift-H.
    YourCheapHost.com - Low cost multi domain hosting solutions. [Legal adult content friendly]
    Reliable web site hosting is our motto. We have Alertra stats to back that up.
    Proven provider of high quality shared and reseller accounts since 2002.

  5. #5
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    shift-H ?? Perhaps you meant shift-M ?
    Also, http will show up on the default top list only if the cpu usage is intensive. If they are serving simple files, it may not come up in the top list, because other processes such as mysqld will get preference over httpd.
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  6. #6
    Originally posted by visiondream3
    shift-H ?? Perhaps you meant shift-M ?
    No. I meant Shift-H. Only applicable for RH 9.
    YourCheapHost.com - Low cost multi domain hosting solutions. [Legal adult content friendly]
    Reliable web site hosting is our motto. We have Alertra stats to back that up.
    Proven provider of high quality shared and reseller accounts since 2002.

  7. #7
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    alright. thanks
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •