Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2006
    Location
    USA
    Posts
    79

    Question 16-40+ Load, Yet 90% of CPU is idle (and) 0.00 IO waits. What could it be?...

    Hello,

    I have a really challanging task of knowing why and host to fix the situation
    where at most times the CPU is totally idle and same for IO activity, yet the
    load at most times is 16-40+.

    For instance at time of writing this: The load is 16 now and linux says:

    avg-cpu: %user %nice %sys %iowait %idle
    0.49 0.40 0.90 0.00 98.20

    (That's a whopping 98.20 idle state!)


    How could that possibly be? And could you wonderful folks attempt to offer
    me advice on how to find out why load is so high yet almost totally idle activity.

    If you need various commands for me to run, let me know.

    If there's also any ADMINS (with good status) that are willing to look at this and
    think they can figure out this case, let me know. I'll gladly pay.

    Thanks.
    Andre

  2. #2
    Join Date
    Dec 2006
    Posts
    68
    Can you run top command . The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list oftasks currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for tasks are all user configurable and that configuration can be made persistent across restarts.

    command to run :- top -c

    I f you want to sort the results by memory press [shift+m]

    To sort it by cpu usage press [shift+p] .
    To sort it by time press [shift+t]

    If you want me to look at it, send me a pm.

    Regards
    Reverse engineering Rocks

  3. #3
    Join Date
    Oct 2006
    Location
    uk
    Posts
    448
    Is the server performance suffering with this "high" load?

    If its performing fine, whats the problem...

  4. #4
    Join Date
    Aug 2006
    Location
    USA
    Posts
    79
    The thing is obviously when server has this high load, it's really slow.

    Here's: # top -c

    => http://img99.imageshack.us/img99/3118/topdk3.gif


    -A

  5. #5
    Join Date
    Dec 2006
    Posts
    68
    From the top results, i see apache is consuming cpu,

    Can you try restarting apache.

    Can you also post the result of 'ps ax'
    Reverse engineering Rocks

  6. #6
    Join Date
    Aug 2006
    Location
    USA
    Posts
    79
    Yes when I restart apache, load gradually goes down. Then when I start it, load stays stable at about 8 (which is very fast actually), but then once again slowly averages at 16-40.

    Here's: ps ax


    PID TTY STAT TIME COMMAND
    1 ? S 0:10 init [2]
    2 ? S 0:00 [keventd]
    3 ? SN 0:34 [ksoftirqd_CPU0]
    4 ? SN 0:00 [ksoftirqd_CPU1]
    5 ? S 0:44 [kswapd]
    6 ? S 0:01 [bdflush]
    7 ? S 0:18 [kupdated]
    8 ? S 0:00 [scsi_eh_0]
    9 ? S 0:00 [scsi_eh_1]
    10 ? S< 0:00 [mdrecoveryd]
    11 ? S< 4:01 [raid1d]
    12 ? SN 3:12 [raid1syncd]
    13 ? S 32:24 [kjournald]
    32487 ? Ss 0:10 /sbin/syslogd
    8986 ? Ss 0:00 /sbin/klogd
    19311 ? Ss 0:00 /usr/sbin/inetd
    2482 ? Ss 0:03 /usr/sbin/sshd
    17581 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
    25059 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
    11762 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
    15706 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
    18533 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
    15054 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
    20678 ttyS0 Ss+ 0:00 /sbin/getty -L ttyS0 9600 vt100
    12297 ? Ss 0:03 /usr/sbin/cron
    32603 ? SN 0:00 /bin/sh /usr/bin/mysqld_safe
    18400 ? SN 7:54 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    19627 ? SN 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
    8682 ? RN 0:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    30954 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    26714 ? SN 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    5907 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    30926 ? SN 0:09 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    27917 ? SN 0:40 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    31724 ? SN 0:38 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    10586 ? SN 0:46 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    14899 ? SN 1:31 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    16437 ? Ss 0:00 /usr/sbin/cron
    18784 ? Ss 1:29 /sbin/syslogd
    31911 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m
    25490 ? Ss 0:00 sshd: root@notty
    26058 ? S 0:00 sshd: root@notty
    21233 ? Ss 0:00 /usr/lib/sftp-server
    24477 ? Ss 0:00 sshd: root@pts/1
    8604 ? Ss 0:00 -bash
    8847 ? S 0:00 /bin/bash -i
    27359 ? Ss 0:06 SCREEN
    23866 ? Ss 0:00 /bin/bash
    18292 ? S 0:00 /bin/bash -i
    6460 ? Ss 0:00 /bin/bash
    26787 ? Ss 0:00 /bin/bash
    17870 ? Ss 0:00 /bin/bash
    561 ? S 0:00 /bin/bash -i
    30812 ? Ss+ 0:00 /bin/bash
    6964 ? S 0:00 /bin/bash -i
    6521 ? SNs 0:01 pure-ftpd (SERVER)
    7584 ? S+ 0:00 /usr/bin/perl ./renice_all.pl
    25409 ? S 0:00 /bin/bash -i
    14149 ? Ss 0:02 sshd: root@pts/0
    22285 ? S 0:00 sshd: root@pts/0
    2693 ? Ss 0:00 -bash
    29533 ? S+ 0:00 screen -r
    21986 ? Ss+ 0:00 /bin/bash
    15084 ? SN 0:00 pure-ftpd (IDLE)
    3356 ? SN 0:00 pure-ftpd (PRIV)
    10369 ? SN 0:00 pure-ftpd (IDLE)
    9061 ? SN 0:00 pure-ftpd (PRIV)
    22119 ? SN 0:00 pure-ftpd (IDLE)
    23819 ? SN 0:00 pure-ftpd (PRIV)
    9853 ? SN 0:03 pure-ftpd (IDLE)
    20489 ? SN 0:00 pure-ftpd (PRIV)
    23177 ? SN 0:00 pure-ftpd (IDLE)
    16586 ? SN 0:00 pure-ftpd (PRIV)
    10416 ? S+ 0:00 tail -f /tmp/timer.log
    30846 ? SN 0:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    20361 ? SN 0:00 pure-ftpd (IDLE)
    19403 ? SN 0:00 pure-ftpd (PRIV)
    21056 ? SN 0:00 pure-ftpd (IDLE)
    14576 ? SN 0:00 pure-ftpd (PRIV)
    14349 ? SN 0:00 pure-ftpd (IDLE)
    23494 ? SN 0:00 pure-ftpd (PRIV)
    14678 ? SN 0:00 pure-ftpd (IDLE)
    884 ? SN 0:00 pure-ftpd (PRIV)
    29122 ? SNs 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    26364 ? S 0:04 /var/wkscript/scripts/log_analizer .110mb.com
    19115 ? SN 0:00 pure-ftpd (IDLE)
    2790 ? SN 0:00 pure-ftpd (PRIV)
    9422 ? SN 0:01 pure-ftpd (IDLE)
    11700 ? SN 0:00 pure-ftpd (PRIV)
    6227 ? SN 0:00 pure-ftpd (IDLE)
    6221 ? SN 0:00 pure-ftpd (PRIV)
    26376 ? SNs 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    408 ? S+ 0:14 top
    30981 ? S+ 0:00 /usr/bin/perl ./restart.pl
    16061 ? SN 0:00 pure-ftpd (UPLOAD)
    22776 ? SN 0:00 pure-ftpd (PRIV)
    18003 ? SN 0:00 pure-ftpd (UPLOAD)
    32213 ? SN 0:00 pure-ftpd (PRIV)
    26640 ? SN 0:00 pure-ftpd (IDLE)
    14284 ? SN 0:00 pure-ftpd (PRIV)
    9942 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    14391 ? SN 0:01 pure-ftpd (UPLOAD)
    11279 ? SN 0:00 pure-ftpd (PRIV)
    21279 ? SN 0:00 pure-ftpd (UPLOAD)
    30473 ? SN 0:00 pure-ftpd (PRIV)
    28903 ? SN 0:00 pure-ftpd (UPLOAD)
    19085 ? SN 0:00 pure-ftpd (PRIV)
    15917 ? SN 0:00 pure-ftpd (UPLOAD)
    28771 ? SN 0:00 pure-ftpd (PRIV)
    27571 ? SN 0:00 pure-ftpd (IDLE)
    10906 ? SN 0:00 pure-ftpd (PRIV)
    22464 ? SN 0:00 pure-ftpd (IDLE)
    14852 ? SN 0:00 pure-ftpd (PRIV)
    30218 ? SN 0:00 pure-ftpd (IDLE)
    17626 ? SN 0:00 pure-ftpd (PRIV)
    1077 ? SN 0:00 pure-ftpd (IDLE)
    24579 ? SN 0:00 pure-ftpd (PRIV)
    17972 ? SN 0:00 pure-ftpd (IDLE)
    15713 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    20412 ? SN 0:00 pure-ftpd (PRIV)
    7277 ? SN 0:00 pure-ftpd (UPLOAD)
    6182 ? SN 0:00 pure-ftpd (PRIV)
    7336 ? SN 0:00 pure-ftpd (IDLE)
    19189 ? SN 0:00 pure-ftpd (PRIV)
    16774 ? SN 0:00 pure-ftpd (UPLOAD)
    15184 ? SN 0:00 pure-ftpd (PRIV)
    2256 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    29606 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    9781 ? RN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    19051 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    15757 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    21386 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    13816 ? RN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    29238 ? SN 0:00 pure-ftpd (UPLOAD)
    6280 ? SN 0:00 pure-ftpd (PRIV)
    8273 ? SN 0:00 pure-ftpd (IDLE)
    23618 ? SN 0:00 pure-ftpd (PRIV)
    31262 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    23899 ? SN 0:00 pure-ftpd (IDLE)
    31802 ? SN 0:00 pure-ftpd (PRIV)
    26291 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    14355 ? SN 0:00 pure-ftpd (UPLOAD)
    5535 ? SN 0:00 pure-ftpd (PRIV)
    20831 ? SN 0:00 pure-ftpd (UPLOAD)
    13712 ? SN 0:00 pure-ftpd (PRIV)
    8422 ? SN 0:00 pure-ftpd (IDLE)
    7160 ? SN 0:00 pure-ftpd (PRIV)
    14374 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    15005 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    10040 ? SN 0:00 pure-ftpd (UPLOAD)
    857 ? SN 0:00 pure-ftpd (PRIV)
    19183 ? SN 0:00 pure-ftpd (IDLE)
    13593 ? SN 0:00 pure-ftpd (PRIV)
    23979 ? SN 0:00 pure-ftpd (IDLE)
    14282 ? SN 0:00 pure-ftpd (PRIV)
    26857 ? SN 0:00 pure-ftpd (IDLE)
    12528 ? SN 0:00 pure-ftpd (PRIV)
    3010 ? SN 0:00 pure-ftpd (IDLE)
    14531 ? SN 0:00 pure-ftpd (PRIV)
    21270 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    1777 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    3240 ? ZN 0:00 [apache2] <defunct>
    16269 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    850 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    21529 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    6402 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    24886 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    6680 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    8449 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    13772 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    16129 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    14763 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    18691 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    3200 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    1796 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    10791 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    12234 ? SN 0:00 pure-ftpd (IDLE)
    23561 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    24740 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    30670 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    10170 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    1957 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    9223 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    1939 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    26038 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    22013 ? SN 0:00 pure-ftpd (PRIV)
    8448 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    13695 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    14814 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    13784 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    19816 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    9582 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    24187 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    7638 ? DN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    27780 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    11872 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    19355 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    5319 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    27581 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    6820 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    26788 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    17163 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    1771 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    1197 ? SN 0:00 pure-ftpd (IDLE)
    17848 ? SN 0:00 pure-ftpd (PRIV)
    6695 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    6852 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    6505 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    32176 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    5133 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    10438 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    2614 ? R+ 0:00 ps ax
    29096 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    16246 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    9982 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    7742 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    31834 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    6019 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    21930 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    12479 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    22642 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    7861 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysq
    5439 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    3415 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    11767 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    11643 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    110mb:/# ps ax
    PID TTY STAT TIME COMMAND
    1 ? S 0:10 init [2]
    2 ? S 0:00 [keventd]
    3 ? SN 0:34 [ksoftirqd_CPU0]
    4 ? SN 0:00 [ksoftirqd_CPU1]
    5 ? S 0:44 [kswapd]
    6 ? S 0:01 [bdflush]
    7 ? S 0:18 [kupdated]
    8 ? S 0:00 [scsi_eh_0]
    9 ? S 0:00 [scsi_eh_1]
    10 ? S< 0:00 [mdrecoveryd]
    11 ? S< 4:01 [raid1d]
    12 ? SN 3:12 [raid1syncd]
    13 ? D 32:29 [kjournald]
    32487 ? Ss 0:10 /sbin/syslogd
    8986 ? Ss 0:00 /sbin/klogd
    19311 ? Ss 0:00 /usr/sbin/inetd
    2482 ? Ss 0:03 /usr/sbin/sshd
    17581 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
    25059 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
    11762 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
    15706 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
    18533 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
    15054 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
    20678 ttyS0 Ss+ 0:00 /sbin/getty -L ttyS0 9600 vt100
    12297 ? Ss 0:03 /usr/sbin/cron
    32603 ? SN 0:00 /bin/sh /usr/bin/mysqld_safe
    18400 ? SN 7:55 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    19627 ? SN 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
    8682 ? SN 0:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    30954 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    26714 ? SN 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    5907 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    30926 ? SN 0:09 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    27917 ? SN 0:40 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    31724 ? SN 0:38 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    10586 ? SN 0:46 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    14899 ? SN 1:32 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    16437 ? Ss 0:00 /usr/sbin/cron
    18784 ? Ss 1:29 /sbin/syslogd
    31911 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m
    25490 ? Ss 0:00 sshd: root@notty
    26058 ? S 0:00 sshd: root@notty
    21233 ? Ss 0:00 /usr/lib/sftp-server
    24477 ? Ss 0:00 sshd: root@pts/1
    8604 ? Ss 0:00 -bash
    8847 ? S 0:00 /bin/bash -i
    27359 ? Ss 0:07 SCREEN
    23866 ? Ss 0:00 /bin/bash
    18292 ? S 0:00 /bin/bash -i
    6460 ? Ss 0:00 /bin/bash
    26787 ? Ss 0:00 /bin/bash
    17870 ? Ss 0:00 /bin/bash
    561 ? S 0:00 /bin/bash -i
    30812 ? Ss+ 0:00 /bin/bash
    6964 ? S 0:00 /bin/bash -i
    6521 ? SNs 0:01 pure-ftpd (SERVER)
    7584 ? S+ 0:00 /usr/bin/perl ./renice_all.pl
    25409 ? S 0:00 /bin/bash -i
    14149 ? Ss 0:02 sshd: root@pts/0
    22285 ? S 0:00 sshd: root@pts/0
    2693 ? Ss 0:00 -bash
    29533 ? S+ 0:00 screen -r
    21986 ? Ss+ 0:00 /bin/bash
    15084 ? SN 0:00 pure-ftpd (IDLE)
    3356 ? SN 0:00 pure-ftpd (PRIV)
    10369 ? SN 0:00 pure-ftpd (IDLE)
    9061 ? SN 0:00 pure-ftpd (PRIV)
    22119 ? SN 0:00 pure-ftpd (IDLE)
    23819 ? SN 0:00 pure-ftpd (PRIV)
    9853 ? SN 0:03 pure-ftpd (IDLE)
    20489 ? SN 0:00 pure-ftpd (PRIV)
    10416 ? S+ 0:00 tail -f /tmp/timer.log
    30846 ? SN 0:08 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    20361 ? SN 0:00 pure-ftpd (IDLE)
    19403 ? SN 0:00 pure-ftpd (PRIV)
    14678 ? SN 0:00 pure-ftpd (IDLE)
    884 ? SN 0:00 pure-ftpd (PRIV)
    29122 ? SNs 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    26364 ? S 0:05 /var/wkscript/scripts/log_analizer .110mb.com
    19115 ? SN 0:00 pure-ftpd (IDLE)
    2790 ? SN 0:00 pure-ftpd (PRIV)
    9422 ? SN 0:01 pure-ftpd (IDLE)
    11700 ? SN 0:00 pure-ftpd (PRIV)
    6227 ? SN 0:00 pure-ftpd (IDLE)
    6221 ? SN 0:00 pure-ftpd (PRIV)
    26376 ? SNs 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    408 ? S+ 0:17 top
    30981 ? S+ 0:00 /usr/bin/perl ./restart.pl
    16061 ? SN 0:00 pure-ftpd (UPLOAD)
    22776 ? SN 0:00 pure-ftpd (PRIV)
    18003 ? SN 0:00 pure-ftpd (IDLE)
    32213 ? SN 0:00 pure-ftpd (PRIV)
    26640 ? SN 0:00 pure-ftpd (IDLE)
    14284 ? SN 0:00 pure-ftpd (PRIV)
    14391 ? SN 0:02 pure-ftpd (IDLE)
    11279 ? SN 0:00 pure-ftpd (PRIV)
    21279 ? SN 0:00 pure-ftpd (UPLOAD)
    30473 ? SN 0:00 pure-ftpd (PRIV)
    28903 ? SN 0:00 pure-ftpd (UPLOAD)
    19085 ? SN 0:00 pure-ftpd (PRIV)
    15917 ? SN 0:00 pure-ftpd (UPLOAD)
    28771 ? SN 0:00 pure-ftpd (PRIV)
    22464 ? SN 0:00 pure-ftpd (IDLE)
    14852 ? SN 0:00 pure-ftpd (PRIV)
    30218 ? SN 0:00 pure-ftpd (IDLE)
    17626 ? SN 0:00 pure-ftpd (PRIV)
    1077 ? SN 0:00 pure-ftpd (IDLE)
    24579 ? SN 0:00 pure-ftpd (PRIV)
    17972 ? SN 0:00 pure-ftpd (IDLE)
    15713 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    20412 ? SN 0:00 pure-ftpd (PRIV)
    29238 ? SN 0:00 pure-ftpd (IDLE)
    6280 ? SN 0:00 pure-ftpd (PRIV)
    8273 ? SN 0:00 pure-ftpd (IDLE)
    23618 ? SN 0:00 pure-ftpd (PRIV)
    23899 ? SN 0:00 pure-ftpd (IDLE)
    31802 ? SN 0:00 pure-ftpd (PRIV)
    14355 ? SN 0:00 pure-ftpd (IDLE)
    5535 ? SN 0:00 pure-ftpd (PRIV)
    20831 ? SN 0:00 pure-ftpd (UPLOAD)
    13712 ? SN 0:00 pure-ftpd (PRIV)
    8422 ? SN 0:00 pure-ftpd (IDLE)
    7160 ? SN 0:00 pure-ftpd (PRIV)
    19183 ? SN 0:00 pure-ftpd (IDLE)
    13593 ? SN 0:00 pure-ftpd (PRIV)
    23979 ? SN 0:00 pure-ftpd (IDLE)
    14282 ? SN 0:00 pure-ftpd (PRIV)
    26857 ? SN 0:00 pure-ftpd (IDLE)
    12528 ? SN 0:00 pure-ftpd (PRIV)
    3010 ? SN 0:00 pure-ftpd (IDLE)
    14531 ? SN 0:00 pure-ftpd (PRIV)
    12234 ? SN 0:00 pure-ftpd (IDLE)
    22013 ? SN 0:00 pure-ftpd (PRIV)
    1197 ? SN 0:00 pure-ftpd (UPLOAD)
    17848 ? SN 0:00 pure-ftpd (PRIV)
    20200 ? SN 0:00 pure-ftpd (IDLE)
    18662 ? SN 0:00 pure-ftpd (PRIV)
    26226 ? SN 0:00 pure-ftpd (IDLE)
    10482 ? SN 0:00 pure-ftpd (PRIV)
    19699 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    23299 ? SN 0:00 pure-ftpd (IDLE)
    19532 ? SN 0:00 pure-ftpd (PRIV)
    19428 ? SN 0:00 pure-ftpd (IDLE)
    18725 ? SN 0:00 pure-ftpd (PRIV)
    23050 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    15053 ? SN 0:00 pure-ftpd (IDLE)
    25124 ? SN 0:00 pure-ftpd (PRIV)
    18423 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    5387 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    30519 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    24766 ? SN 0:00 pure-ftpd (IDLE)
    5633 ? SN 0:00 pure-ftpd (PRIV)
    22603 ? SN 0:00 pure-ftpd (IDLE)
    18753 ? SN 0:00 pure-ftpd (PRIV)
    30303 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    29792 ? SN 0:00 pure-ftpd (IDLE)
    4969 ? SN 0:00 pure-ftpd (PRIV)
    9404 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    18984 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    8855 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    20501 ? SN 0:00 pure-ftpd (UPLOAD)
    23352 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    31227 ? SN 0:00 pure-ftpd (PRIV)
    10361 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    5464 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    22482 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    2920 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    12539 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    12736 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    14952 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    9932 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    10647 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    23118 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    9070 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    12701 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    89 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    5800 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    22430 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    8374 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    29878 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    27179 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    23852 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    32531 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    17536 ? SN 0:00 pure-ftpd (IDLE)
    240 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    29431 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    23179 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    32236 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    12262 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    26296 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    30136 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    5258 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    15270 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    10846 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    17992 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    17569 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    13642 ? SN 0:00 pure-ftpd (PRIV)
    10590 ? SN 0:00 pure-ftpd (IDLE)
    32058 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    8840 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    14640 ? SN 0:00 pure-ftpd (PRIV)
    2409 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    25569 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    5541 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    5269 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    14337 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    15509 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    28912 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd-users.conf
    28676 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    24614 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    18407 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    25682 ? SN 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.p
    20759 ? SN 0:00 /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf
    28360 ? R+ 0:00 ps ax
    24298 ? SNs 0:00 /usr/sbin/exim4 -Mc 1H26fm-0000eu-43
    3909 ? SN 0:00 /usr/sbin/exim4 -Mc 1H26fm-0000eu-43
    14371 ? SN 0:00 pure-ftpd (IDLE)
    28945 ? SN 0:00 pure-ftpd (PRIV)
    Last edited by hal987; 01-03-2007 at 09:13 AM.

  7. #7
    Join Date
    Apr 2003
    Location
    San Jose, CA.
    Posts
    1,624
    What's strange in your top and what someone else was pointing out I believe, is that if you add up the CPU%ages from the top picture, the first 4 apache entries are using up about 50% of the cpu (18.2, 14.6, 10.9, 5.5). Yet the overall Cpu(s) line is showing 98.1% idle... that doesn't make much sense.

    Is this a multiprocessor machine, or single processor? If it's multiprocessor, hit I on the top, so you can see processor utilization broken out per cpu as well.

    Are you running the ps and top commands as root or as a regular user?

  8. #8
    Join Date
    Aug 2006
    Location
    USA
    Posts
    79
    I'm ofcourse running commands as root user as this is on one of my cluster servers.

    This server has 2 CPU's. Each one has 1x 1.86Ghz processor.

    Yes. As you have mentioned "doesn't make much sense", you're right. It doesn't.

    I'm used to usually figuring out via benchmarking. But this case can't be benchmarked (at least to my knowledge). The issue is just simply there.

    Eitherway, it can or others reading this attempt to give me some pointers, that'll be great.

    Perhaps there's a script that will tell more info about servers operations that I'm not aware of.

  9. #9
    Could you please show what does:
    Code:
    free
    show you?

    How much RAM do you have?

    Are your HDDs IDE or SATA/SCSI?
    Server Surgeon George
    http://www.serversurgeon.com
    Linux, BSD and Windows Administration Services
    Toll Free US 877-378-7436 International +1-213-291-9191

Posting Permissions

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