The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

server overload

Discussion in 'General Discussion' started by Skm74, Dec 14, 2002.

  1. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I got server overload messages a couple of times / day. this is a copy of top:

    20203 mysql 20 0 13328 9M 2600 R 2.2 2.0 0:00 mysqld
    20179 mysql 14 0 13328 9M 2600 R 1.9 2.0 0:00 mysqld
    20182 mysql 14 0 13328 9M 2600 R 1.5 2.0 0:00 mysqld
    29590 root 9 0 1192 1192 828 R 1.3 0.2 0:19 top
    20142 nobody 9 0 5172 4784 4360 R 1.1 0.9 0:00 httpd
    20175 mysql 14 0 13328 9M 2600 R 1.1 2.0 0:00 mysqld
    15583 nobody 9 0 6856 6472 4436 R 0.9 1.2 0:13 httpd
    15474 nobody 9 0 7352 6968 4712 S 0.7 1.3 0:13 httpd
    22740 nobody 9 0 6944 6596 4592 S 0.7 1.3 0:11 httpd
    31572 nobody 9 0 5492 5104 4496 S 0.7 1.0 0:03 httpd
    18401 nobody 9 0 5168 4780 4396 S 0.7 0.9 0:00 httpd
    15601 nobody 9 0 5752 5364 4832 S 0.5 1.0 0:15 httpd
    15631 nobody 9 0 6680 6292 4344 S 0.5 1.2 0:13 httpd
    15648 nobody 9 0 5852 5464 4836 S 0.5 1.0 0:12 httpd
    15671 nobody 9 0 5928 5540 4696 S 0.5 1.0 0:14 httpd
    11716 nobody 9 0 5448 5060 4416 S 0.5 1.0 0:02 httpd
    13972 nobody 9 0 5400 5012 4428 R 0.5 0.9 0:02 httpd
    18792 nobody 9 0 5328 4940 4396 R 0.5 0.9 0:02 httpd
    16468 nobody 9 0 5408 5020 4412 S 0.5 0.9 0:00 httpd
    1619 mysql 15 0 13328 9M 2600 R 0.3 2.0 14:36 mysqld
    15521 nobody 9 0 5644 5256 4448 S 0.3 1.0 0:13 httpd
    15576 nobody 9 0 6604 6216 4344 S 0.3 1.2 0:12 httpd
    15602 nobody 9 0 5488 5100 4440 S 0.3 1.0 0:13 httpd
    15636 nobody 9 0 5644 5256 4476 S 0.3 1.0 0:12 httpd
    15638 nobody 9 0 6436 6048 4420 S 0.3 1.1 0:13 httpd
    15641 nobody 9 0 6740 6356 4440 S 0.3 1.2 0:14 httpd
    15646 nobody 9 0 6924 6536 4376 S 0.3 1.2 0:12 httpd
    9656 nobody 9 0 5320 4932 4412 S 0.3 0.9 0:03 httpd
    31579 nobody 9 0 5336 4948 4396 S 0.3 0.9 0:01 httpd
    19287 nobody 9 0 5256 4868 4368 S 0.3 0.9 0:00 httpd
    19288 nobody 9 0 5300 4912 4388 S 0.3 0.9 0:00 httpd
    19345 nobody 9 0 5256 4868 4372 S 0.3 0.9 0:00 httpd
    13 root 9 0 0 0 0 SW 0.1 0.0 2:40 kjournal
     
  2. techark

    techark Well-Known Member

    Joined:
    May 22, 2002
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Where is the rest the part showing load and CPU % Mem used etc.

    Might be able to help more if we have a little more infromation.
     
  3. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    That was what I got whe I did run top in ssh.

    Here is current from WHM Now with server load 19:

    Pid Owner Priority Cpu % Mem % Command
    12656 mysql 0 2.9 1.8 /usr/sbin/mysqld--basedir=/--datadir=/var/lib/mysql--user=mysql--pid-file=/var/lib/mysql/server2.nethotell.org.pid--skip-locking
    12655 mysql 0 2.3 1.8 /usr/sbin/mysqld--basedir=/--datadir=/var/lib/mysql--user=mysql--pid-file=/var/lib/mysql/server2.nethotell.org.pid--skip-locking
    13283 nobody 0 1.7 1.1 /usr/local/apache/bin/httpd-DSSL
    13344 nobody 0 1.5 1.1 /usr/local/apache/bin/httpd-DSSL
    13525 nobody 0 1.5 1.1 /usr/local/apache/bin/httpd-DSSL
    13437 nobody 0 1.3 1.1 /usr/local/apache/bin/httpd-DSSL
    12482 root 0 1.3 0.2 top -n 2 -b -c
    13244 nobody 0 1.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13248 nobody 0 1.1 1.3 /usr/local/apache/bin/httpd-DSSL
    13339 nobody 0 1.1 0.9 /usr/local/apache/bin/httpd-DSSL
    13544 nobody 0 1.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13623 nobody 0 0.9 1.1 /usr/local/apache/bin/httpd-DSSL
    8509 nobody 0 0.9 0.9 /usr/local/apache/bin/httpd-DSSL
    13247 nobody 0 0.7 1.1 /usr/local/apache/bin/httpd-DSSL
    13530 nobody 0 0.7 0.9 /usr/local/apache/bin/httpd-DSSL
    16176 nobody 0 0.7 1.2 /usr/local/apache/bin/httpd-DSSL
    5569 nobody 0 0.7 0.9 /usr/local/apache/bin/httpd-DSSL
    1619 mysql 0 0.5 1.8 /usr/sbin/mysqld--basedir=/--datadir=/var/lib/mysql--user=mysql--pid-file=/var/lib/mysql/server2.nethotell.org.pid--skip-locking
    13296 nobody 0 0.5 1.1 /usr/local/apache/bin/httpd-DSSL
    13303 nobody 0 0.5 1.1 /usr/local/apache/bin/httpd-DSSL
    13536 nobody 0 0.5 1.2 /usr/local/apache/bin/httpd-DSSL
    2731 nobody 0 0.5 1.1 /usr/local/apache/bin/httpd-DSSL
    4678 nobody 0 0.5 1.0 /usr/local/apache/bin/httpd-DSSL
    12031 nobody 0 0.5 0.9 /usr/local/apache/bin/httpd-DSSL
    832 root 0 0.3 0.1 syslogd-m0
    13243 nobody 0 0.3 1.1 /usr/local/apache/bin/httpd-DSSL
    13361 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    13408 nobody 0 0.3 1.3 /usr/local/apache/bin/httpd-DSSL
    13556 nobody 0 0.3 1.1 /usr/local/apache/bin/httpd-DSSL
    13631 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    24151 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    2280 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    6774 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    7079 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    8472 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    10190 nobody 0 0.3 0.9 /usr/local/apache/bin/httpd-DSSL
    1566 mysql 0 0.1 1.8 /usr/sbin/mysqld--basedir=/--datadir=/var/lib/mysql--user=mysql--pid-file=/var/lib/mysql/server2.nethotell.org.pid--skip-locking
    13298 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13366 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13367 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    13409 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13410 nobody 0 0.1 1.2 /usr/local/apache/bin/httpd-DSSL
    13411 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13416 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13427 nobody 0 0.1 1.2 /usr/local/apache/bin/httpd-DSSL
    13453 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    13473 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    13527 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    13552 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13562 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13568 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    13626 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    14233 nobody 0 0.1 1.1 /usr/local/apache/bin/httpd-DSSL
    15806 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    28452 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    2985 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    6751 nobody 0 0.1 1.0 /usr/local/apache/bin/httpd-DSSL
    8450 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    8506 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    8507 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    10339 nobody 0 0.1 0.9 /usr/local/apache/bin/httpd-DSSL
    12647 mysql 0 0.1 1.8 /usr/sbin/mysqld
    12661 mysql 0 0.1 1.8 /usr/sbin/mysqld
    1 root 0 0.0 0.0 init [3]
    2 root 0 0.0 0.0 keventd
    3 root 0 0.0 0.0 kapm-idled
    4 root 19 0.0 0.0 ksoftirqd_CPU0
    5 root 0 0.0 0.0 kswapd
    6 root 0 0.0 0.0 kreclaimd
    7 root 0 0.0 0.0 bdflush
    8 root 0 0.0 0.0 kupdated
    9 root 20 0.0 0.0 mdrecoveryd
    13 root 0 0.0 0.0 kjournald
    89 root 0 0.0 0.0 khubd
    212 root 0 0.0 0.0 kjournald
    540 root 0 0.0 0.0 eth0
    837 root 0 0.0 0.0 klogd-2
    1003 named 0 0.0 2.2 named-unamed
    1005 named 0 0.0 2.2 named-unamed
    1006 named 0 0.0 2.2 named-unamed
    1007 named 0 0.0 2.2 named-unamed
    1008 named 0 0.0 2.2 named-unamed
    1028 root 0 0.0 0.1 /usr/sbin/sshd
    1061 root 0 0.0 0.1 xinetd-stayalive-reuse-pidfile/var/run/xinetd.pid
    1132 root 0 0.0 0.2 cpaneld - listening port 2082
    1137 root 0 0.0 0.2 webmaild
    1147 root 0 0.0 0.3 cppop - accepting on port 110
    1159 nobody 0 0.0 0.2 entropychat
    1164 nobody 0 0.0 0.0 /usr/local/cpanel/bin/startmelange
    1343 root 0 0.0 0.2 /usr/sbin/exim-bd-q1h
    1349 root 0 0.0 0.2 antirelayd
    1368 cpanel 0 0.0 0.1 /usr/bin/stunnel-4.02local/usr/local/cpanel/etc/stunnel/my/stunnel.conf
    1382 root 0 0.0 0.3 whostmgrd
    1406 root 0 0.0 0.2 antirelayd
    1411 root 0 0.0 0.4 /usr/bin/spamd -d
    1467 root 0 0.0 0.1 crond
    1485 root 0 0.0 0.1 /bin/sh/usr/bin/safe_mysqld--datadir=/var/lib/mysql--pid-file=/var/lib/mysql/server2.nethotell.org.pid
    1635 mysql 0 0.0 1.8 /usr/sbin/mysqld--basedir=/--datadir=/var/lib/mysql--user=mysql--pid-file=/var/lib/mysql/server2.nethotell.org.pid--skip-locking
    1832 root 0 0.0 0.1 /usr/sbin/portsentry-tcp
    1922 root 0 0.0 0.3 /usr/bin/perl/usr/libexec/usermin/miniserv.pl/etc/usermin/miniserv.conf
    1926 root 0 0.0 0.0 /sbin/mingettytty1
    1927 root 0 0.0 0.0 /sbin/mingettytty2
    1930 root 0 0.0 0.0 /sbin/mingettytty3
    1931 root 0 0.0 0.0 /sbin/mingettytty4
    1932 root 0 0.0 0.0 /sbin/mingettytty5
    1933 root 0 0.0 0.0 /sbin/mingettytty6
    30324 root 0 0.0 0.1 pure-ftpd (SERVER)
    30349 root 0 0.0 0.0 /usr/sbin/pure-authd-s/var/run/ftpd.sock-r/usr/sbin/pureauth
    24504 cpanel 0 0.0 0.4 interchange
    11729 root 0 0.0 0.2 /usr/sbin/exim-oX35-bd
    11794 root 0 0.0 0.3 chkservd
    26686 root 19 0.0 0.3 cpanellogd - updating logs
    15509 fargprod 19 0.0 0.3 cpanellogd - http logs for fargprod
    15510 fargprod 19 0.0 0.3 cpanellogd - http logs for fargprod
    15511 fargprod 19 0.0 0.0 /usr/local/cpanel/bin/logrunner1.0/usr/local/cpanel/3rdparty/bin/webalizer-N10-D/home/fargprod/tmp/webalizer/dns_cache.db-R250-p-nfargprodukter-o/home/fargprod/tmp/webalizer/usr/local/apache/domlogs/fargprodukter-plym.se
    15512 fargprod 19 0.0 0.0 /usr/local/cpanel/3rdparty/bin/webalizer-N10-D/home/fargprod/tmp/webalizer/dns_cache.db-R250-p-nfargprodukter-o/home/fargprod/tmp/webalizer/usr/local/apache/domlogs/fargprodukter-plym.se
    15513 fargprod 19 0.0 0.0 /usr/local/cpanel/3rdparty/bin/webalizer-N10-D/home/fargprod/tmp/webalizer/dns_cache.db-R250-p-nfargprodukter-o/home/fargprod/tmp/webalizer/usr/local/apache/domlogs/fargprodukter-plym.se
    13236 root 0 0.0 0.8 /usr/local/apache/bin/httpd-DSSL
    13245 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13269 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13270 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13273 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13280 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13281 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13282 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13297 nobody 0 0.0 1.6 /usr/local/apache/bin/httpd-DSSL
    13299 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13304 nobody 0 0.0 1.6 /usr/local/apache/bin/httpd-DSSL
    13305 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13314 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    13337 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13338 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13340 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13345 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13346 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13351 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13352 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13353 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13358 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13360 nobody 0 0.0 1.5 /usr/local/apache/bin/httpd-DSSL
    13368 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13415 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13421 nobody 0 0.0 1.5 /usr/local/apache/bin/httpd-DSSL
    13422 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13423 nobody 0 0.0 1.5 /usr/local/apache/bin/httpd-DSSL
    13426 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13428 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13436 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13438 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13454 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13455 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13460 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13461 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    13462 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13474 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13475 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13481 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    13482 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13483 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    13495 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13499 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13500 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13506 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13524 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13526 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13531 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13534 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13535 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13545 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13546 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13550 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13551 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13555 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13557 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13563 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13564 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13569 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13584 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13585 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13586 nobody 0 0.0 1.2 /usr/local/apache/bin/httpd-DSSL
    13592 nobody 0 0.0 1.6 /usr/local/apache/bin/httpd-DSSL
    13600 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13624 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13625 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    13630 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13632 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    13637 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13646 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    13651 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    4470 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    14744 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    19548 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    24587 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    28162 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    28577 nobody 0 0.0 1.1 /usr/local/apache/bin/httpd-DSSL
    9764 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    9798 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    9831 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    10897 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    10978 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    24150 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    25209 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    28354 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    2263 nobody 0 0.0 1.0 /usr/local/apache/bin/httpd-DSSL
    3020 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    3021 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    6833 nobody 0 0.0 1.3 /usr/local/apache/bin/httpd-DSSL
    7176 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    8471 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    10254 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    10281 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    10282 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    10554 nobody 0 0.0 0.9 /usr/local/apache/bin/httpd-DSSL
    12465 root 0 0.0 0.4 whostmgrd - serving ak142.nuaccess.net
    12467 root 0 0.0 1.6 /usr/local/cpanel/whostmgr/bin/whostmgr2./top
    12659 mysql 0 0.0 0.0 mysqld
     
  4. techark

    techark Well-Known Member

    Joined:
    May 22, 2002
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Well again post the whole top screen showing server load mem cpu free etc.

    I can see you have all those processes running but to be honest I am not going to set there and wade thru them all trying to add them up to see % of cpu free and mem used etc.

    If you want some help post the whole snap shot of information.
     
  5. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    5:30pm up 7 days, 16:10, 1 user, load average: 11.48, 9.13, 7.89
    215 processes: 206 sleeping, 7 running, 1 zombie, 1 stopped
    CPU states: 64.5% user, 26.7% system, 0.0% nice, 8.7% idle
    Mem: 504792K av, 499064K used, 5728K free, 364K shrd, 47500K buff
    Swap: 1020116K av, 53172K used, 966944K free 159752K cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
    20217 nobody 9 0 4956 4956 4428 S 2.3 0.9 0:00 httpd
    13454 nobody 9 0 4840 4840 4108 S 1.3 0.9 0:14 httpd
    13339 nobody 9 0 4944 4944 4384 S 1.1 0.9 0:14 httpd
    12872 nobody 9 0 4996 4996 4432 S 1.1 0.9 0:00 httpd

    etc......
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    When you load top before doing snapshop do &shift+P& this will sort by CPU usage showing who is using the most. Then recreate snapshop. Then do &shift+m& this gives the memory hogs, then snapshop again.
     
  7. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    6:00pm up 7 days, 16:40, 1 user, load average: 4.81, 5.92, 6.79
    224 processes: 213 sleeping, 8 running, 2 zombie, 1 stopped
    CPU states: 67.0% user, 30.4% system, 0.0% nice, 2.5% idle
    Mem: 504792K av, 498220K used, 6572K free, 364K shrd, 47904K buff
    Swap: 1020116K av, 53172K used, 966944K free 171728K cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
    7836 mysql 11 0 12900 9604 2472 S 4.2 1.9 0:00 mysqld
    7847 mysql 20 0 12900 9604 2472 R 4.2 1.9 0:00 mysqld
    7829 mysql 10 0 12900 9604 2472 S 3.6 1.9 0:00 mysqld
    etc....

    by memory

    6:01pm up 7 days, 16:41, 1 user, load average: 6.90, 6.26, 6.86
    215 processes: 203 sleeping, 6 running, 5 zombie, 1 stopped
    CPU states: 73.2% user, 26.7% system, 0.0% nice, 0.0% idle
    Mem: 504792K av, 495608K used, 9184K free, 364K shrd, 47924K buff
    Swap: 1020116K av, 53172K used, 966944K free 172228K cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
    1003 named 9 0 11796 10M 3044 S 0.0 2.2 0:00 named
    1005 named 9 0 11796 10M 3044 S 0.0 2.2 0:00 named
    1006 named 9 0 11796 10M 3044 S 0.1 2.2 4:54 named
    1007 named 9 0 11796 10M 3044 S 0.0 2.2 0:02 named
    1008 named 9 0 11796 10M 3044 S 0.0 2.2 0:48 named
    1566 mysql 9 0 13508 9M 2472 S 0.3 2.0 16:40 mysqld
    1619 mysql 17 0 13508 9M 2472 R 0.0 2.0 15:16 mysqld


    etc...
     
  8. techark

    techark Well-Known Member

    Joined:
    May 22, 2002
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Well first off it looks like that is a busy server. How many sites do you have on it?

    Also what does the MySQL/Mem history in WHM show you as the top processes and how much mem cpu are they using?.

    It also looks like you may have some scripts either forms or something maintaining constant connections to mysql databases.
     
  9. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I have 20 Sites on it, ! is using a php game that uses mysql he have about 70 online all the time.

    Todays Cpu usage

    Note: you must be running build 29+ for more then 24 hours for this to work
    Note: These figures are averages since 0000 hours today.
    Note: This script will not able to track cgi cpu/memory usage if you do not have suexec installed.
    Note: Percentages are based on one cpu. If you have 2 cpus divide the number in half to get the percentage of all cpu power used User Domain %CPU %MEM Mysql Processes
    mysql 17.01 12.66 0.0
    Top Process %CPU 48.7 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server2.nethotell.org.pid --skip-locking
    Top Process %CPU 34.0 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server2.nethotell.org.pid --skip-locking
    Top Process %CPU 29.0 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server2.nethotell.org.pid --skip-locking
    root 6.62 5.92 1.7
    Top Process %CPU 21.0 /usr/bin/perl /usr/bin/mrtg /etc/mrtg/mrtg.cfg
    Top Process %CPU 20.0 /usr/bin/perl /usr/bin/mrtg /etc/mrtg/mrtg.cfg
    Top Process %CPU 14.0 /usr/bin/perl /usr/bin/mrtg /etc/mrtg/mrtg.cfg
    ekke betongen.com 6.17 40.14 3.0
    Top Process %CPU 27.1 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -configbetongen.com -update
    Top Process %CPU 24.9 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -configbetongen.com -update
    Top Process %CPU 20.7 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -configbetongen.com -update
    mailman 3.58 0.35 0.0
    Top Process %CPU 17.0 /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/qrunner
    Top Process %CPU 13.0 /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/qrunner
    phocs phocs.com 0.92 7.76 0.6
    Top Process %CPU 5.0 httpd [vendolin.phocs.com] [/bildius.gif]
    Top Process %CPU 4.0 httpd [vendolin.phocs.com] [/annons.php?nr9811]
    Top Process %CPU 3.5 httpd [vendolin.phocs.com] [/vendolinbilder/8483.bild]
    skm74 webplats.org 0.75 0.94 0.0
    Top Process %CPU 70.0 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -configwebplats.org -update
    Top Process %CPU 25.0 [analog ]
    Top Process %CPU 8.0 php -q -f /home/skm74/public_html/modernbill-enc/include/scripts/generate_invoices_daily.inc.php /home/skm74/public_html/modernbill-enc/ cron 0 0
    cash cashheaven.org 0.58 1.88 0.0
    Top Process %CPU 60.4 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -configcashheaven.org -update
    Top Process %CPU 6.0 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -configcashheaven.org -update
    Top Process %CPU 1.8 httpd [www.cashheaven.org] [/images/rightnyheter.png]
    emir pionirska.net 0.25 0.01 0.0
    Top Process %CPU 1.0 sh -c /usr/local/cpanel/bin/logrunner 1.0 /usr/local/cpanel/3rdparty/bin/analog +C&IMAGEDIR /images/& +C&DOMAINSFILE /usr/local/cpanel/3rdparty/share/analog/lang/ukdom.tab& +C&CHARTDIR ./& +C&ALLCHART ON& +C&LANGUAGE US-ENGLISH& +C&LANGFILE /usr/local/cpanel/3rdparty/share/analog/lang/us.lng& +C&OUTFILE /home/emir/tmp/analog/12.html& +C&LOCALCHARTDIR /home/emir/tmp/analog/& +C&CACHEOUTFILE /home/emir/tmp/analog/cache.out& +C&CACHEFILE /home/emir/tmp/analog/cache& +C&VHOST ON& +C&OSREP ON& +C&BROWSER ON& +C&FULLBROWSER ON& +C&REDIRREF ON& +C&REFSITE ON& +C&FAILREF ON& +C&LogFormat COMBINED& +C&HOSTNAME pionirska.net& +C&HOSTURL http://pionirska.net/& /usr/local/apache/domlogs/pionirska.net 2&&1
    Top Process %CPU 0.3 cpanellogd - http logs for emir
    patient puckot.org 0.24 0.02 0.0
    Top Process %CPU 0.1 httpd [jag.ar.pr0n.puckot.org] [/img/pr0n-logga.jpg]
    wmfrmal wlbclan.com 0.19 0.30 0.0
    Top Process %CPU 13.5 httpd [www.wlbclan.com] [/php/html/index.php]
    Top Process %CPU 5.4 httpd [www.wlbclan.com] [/php/html/index.php]
    Top Process %CPU 3.5 httpd [www.wlbclan.com] [/php/html/index.php]
    mail 0.10 0.02 0.0
    hansson mrhansson.com 0.01 0.05 0.0
    Top Process %CPU 0.4 cpaneld - serving h39n2fls31o276.telia.com
    gloone rstvideo.com 0.01 0.02 0.0
    Top Process %CPU 1.0 [webalizer ]
    poptudor wassberg.com 0.01 0.01 0.0
    fredrika fredrikandersson.com 0.01 0.01 0.0
    agebrink agebrink.net 0.00 0.02 0.0
    Top Process %CPU 0.2 httpd [www.agebrink.net] [/ifkforum/viewtopic.php?t29&postdays0&postorderasc&start]
    lpsprodu lpsproduction.com 0.00 0.01 0.0
    azalee azalee.nu 0.00 0.00 0.0
    nobody 0.00 0.21 0.0
    Top Process %CPU 13.5 /usr/local/apache/bin/httpd -DSSL
    Top Process %CPU 8.0 /usr/local/apache/bin/httpd -DSSL
    Top Process %CPU 5.4 /usr/local/apache/bin/httpd -DSSL
    holi76 tissar.com 0.00 0.01 0.0
    clamav 0.00 0.10 0.0
    fiskarn julgransfabriken.com 0.00 0.00 0.0
    fargprod fargprodukter-plym.se 0.00 0.06 0.0
    cpanel 0.00 0.50 0.0
    paul hallbeck.net 0.00 0.00 0.0
    backup raggare.com 0.00 0.01 0.0
    528 0.00 0.01 0.0
    named 0.00 10.97 0.0
     
  10. techark

    techark Well-Known Member

    Joined:
    May 22, 2002
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Hmm well my guess is that is your problem there

    &mysql 17.01 12.66 0.0&

    Mysql is running processes all the time using your resources can you tweak your script to not use persistent connections if it is?

    I had a customer using a script that had persistent connections turned on and he was consuming nealy 50% of the CPU he changed and now he is less than 2% on the same script and site.
     
  11. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    the server load blocks mail server (exim) It can´t send when server load is over 5.0 can i change that to 10 or something
     
  12. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    How do i tweak it ???
     
  13. techark

    techark Well-Known Member

    Joined:
    May 22, 2002
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    I really do not know, but why would you want to? At a load of 10 I suspect that server is crawling as is.

    While I have seen loads exceeding that and still working you are playing with crash territory and risk major data corruption in my opinion.
     
  14. Skm74

    Skm74 Well-Known Member

    Joined:
    Sep 28, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Does it help if I move the database to an other server?
     
  15. marinanewman

    marinanewman Active Member

    Joined:
    Nov 28, 2002
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    server load

    I am having same problem.. seems like the cpanel is not letting one process shut down before it opens up more from same user.. my server load from one person in cpanel is up to 55cpu..

    just keeps adding process after process to top and is making server inaccessible to the other users..
     
  16. nyy

    nyy Member

    Joined:
    Feb 17, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Anyone know anything about it?
    I just have got this error now.
    So many processes running from the same user.

    All were working fine, and suddenly, the site doesn't work anymore.

    Thanks,

    cPanel.net Support Ticket Number:
     
  17. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Are you guys running kernel 2.4.2x on a dual-thread server? If so, you need ot upgrade to kernel 2.6.3 to resolve the conflict problem.
     
  18. IRCdPR

    IRCdPR Registered

    Joined:
    Dec 15, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem:

    load average: 14.57, 9.90, 5.85

    And the httpd cpu loading:

    14186 root 16 0 1800 1800 836 S 90.6 0.3 2:06 0 httpd

    90.6 is a cpu load

    I see the problen when the pages running

    Any Spaecial configuration to apache???

    Only run 3 webpages in a server......

    Ps: Excuse my english
     
  19. POLVIP

    POLVIP Member

    Joined:
    Feb 9, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Long Island, NY
    i had the same problem, checked my rootkit and ooops got someone
    do the same thing
     
  20. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Note: These figures are averages since 0000 hours today.
    Note: This script will not able to track cgi cpu/memory usage if you do not have suexec installed.
    Note: Percentages are based on one cpu. If you have 2 cpus divide the number in half to get the percentage of all cpu power used User Domain %CPU %MEM Mysql Processes
    lolmydomain.com 83.78 48.52 0.0
    Top Process %CPU 14.1 httpd [www.mydomaina.com] [/meadow2/fight.php]
    Top Process %CPU 13.1 httpd [www.mydomaina.com] [/meadow2/chat.php]
    Top Process %CPU 8.8 httpd [www.mydomaina.com] [/images/emotions/star.gif]
    mysql 65.11 281.53 0.0
    Top Process %CPU 2.5 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/wad.mydomainb.com.pid --skip-locking
    Top Process %CPU 2.4 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/wad.mydomainb.com.pid --skip-locking
    Top Process %CPU 2.3 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/wad.mydomainb.com.pid --skip-locking
    root 1.59 6.40 3.5
    Top Process %CPU 15.0 /usr/bin/perl /usr/bin/mrtg /etc/mrtg/mrtg.cfg
    Top Process %CPU 5.0 /bin/bash /etc/init.d/apf stop
    Top Process %CPU 0.9 cpanellogd - sleeping for logs
    darfedmydomainb 0.17 0.13 0.0
    Top Process %CPU 1.6 httpd [www.mydomainb] [/forum/viewtopic.php?t29&sidfdfd1aa52cbe5f833efa31c82143d]
    Top Process %CPU 1.5 httpd [www.mydomainb] [/error/index.php?404]
    mailman 0.04 3.25 0.0
    Top Process %CPU 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runnerCommandRunner:0:1 -s
    Top Process %CPU 0.1 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runnerOutgoingRunner:0:1 -s
    mailnull 0.03 7.42 0.0
    Top Process %CPU 1.0 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /usr/mailscanner/etc/MailScanner.conf
    Top Process %CPU 0.4 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /usr/mailscanner/etc/MailScanner.conf
    darfermydomainb.com 0.02 0.00 0.0
    nobody 0.00 0.15 0.0
    Top Process %CPU 14.1 /usr/local/apache/bin/httpd -DSSL
    Top Process %CPU 13.1 /usr/local/apache/bin/httpd -DSSL
    Top Process %CPU 8.8 /usr/local/apache/bin/httpd -DSSL
    admin 0.00 0.34 0.0
    cpanel 0.00 0.28 0.0
    named 0.00 4.01 0.0

    started with one red
    yesterday one red one yellow
    today two red line


    is he stopping the firewall?
    /bin/bash /etc/init.d/apf stop


    what is this?
    /usr/bin/perl /usr/bin/mrtg /etc/mrtg/mrtg.cfg


    (If you have 2 cpus divide the number in half to get the percentage of all cpu power used )
    I have a dual xeon it shows very cool like 4 processors
    but can I divide it with 4 or 2?
     
    #20 viooltje, Mar 19, 2004
    Last edited: Mar 19, 2004
Loading...

Share This Page