Results 1 to 6 of 6
  1. #1

    Strange server load

    Hello!

    I have server with p4 3.2 HT and 1GB RAM, It started to run with very high load recently. I always check apache status in WHM and before this problem, the load was below 0.5 with 20-30 current apache requests. But for example, at the moment, I have 22 apache requests and server load is 1.67. In peak hours I have 70-120 apache requests, normally, the server load should have been below 2, but recently load is between 10-20 with 70-120 apache requests. This is strange because the sites on the server are not busier than they were before, I check bandwith graphs, they are almost the same with previous month.

    This is a centos 3.5 server with cpanel latest release, mysql 4.1, apache 1.3.33, php 4.3.11 (eaccelator installed)

    Here are some stats below, it'is morning in my country now, load used to be below 0.5 at these hours.. Do you have any idea?

    Thank you.

    top:

    Code:
    14102 nobody    25   0 99916 4120  3952 R    50.0  0.3 450:21   1 httpd
    15949 nobody    15   0 95256  25M 18076 S     1.8  2.5   0:15   0 httpd
    21277 nobody    15   0 94600  14M  7376 S     1.3  1.4   0:00   0 httpd
    29893 mysql     15   0  229M 179M  1780 S     0.2 17.7   5:21   0 mysqld
    15942 nobody    15   0 95068  22M 15020 S     0.2  2.2   0:11   0 httpd
    19568 nobody    15   0 94548  15M  8436 S     0.2  1.5   0:03   0 httpd
    11314 nobody    15   0 95872 1236   732 S     0.1  0.1 148:08   0 icecast
    21355 root      16   0  5288 1208   896 R     0.1  0.1   0:00   0 top
        1 root      16   0  1584  412   392 S     0.0  0.0   0:52   1 init
        2 root      RT   0     0    0     0 SW    0.0  0.0   0:52   0 migration/0
        3 root      34  19     0    0     0 SWN   0.0  0.0   0:00   0 ksoftirqd/0
        4 root      RT   0     0    0     0 SW    0.0  0.0   0:03   1 migration/1
        5 root      34  19     0    0     0 SWN   0.0  0.0   0:00   1 ksoftirqd/1
        6 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   0 events/0
        7 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   1 events/1
        8 root      10  -5     0    0     0 SW<   0.0  0.0   0:04   0 khelper
       13 root      11  -5     0    0     0 SW<   0.0  0.0   0:00   0 kthread
       22 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   1 kacpid
      113 root      10  -5     0    0     0 SW<   0.0  0.0  12:32   0 kblockd/0
      114 root      10  -5     0    0     0 SW<   0.0  0.0  13:15   1 kblockd/1
      127 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 khubd
      202 root      15   0     0    0     0 SW    0.0  0.0  24:33   1 kswapd0
      203 root      11  -5     0    0     0 SW<   0.0  0.0   0:00   0 aio/0
      204 root      11  -5     0    0     0 SW<   0.0  0.0   0:00   1 aio/1
      793 root      17   0     0    0     0 SW    0.0  0.0   0:00   0 kseriod
      870 root      11  -5     0    0     0 SW<   0.0  0.0   0:00   0 ata/0
      871 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   1 ata/1
      873 root      16   0     0    0     0 SW    0.0  0.0   0:00   1 scsi_eh_0
      874 root      16   0     0    0     0 SW    0.0  0.0   0:00   0 scsi_eh_1
      894 root      16   0     0    0     0 SW    0.0  0.0   0:00   0 khpsbpkt
      927 root      15   0     0    0     0 SW    0.0  0.0   0:33   0 kirqd
      928 root      15   0     0    0     0 SW    0.0  0.0   1:20   0 kjournald
     1544 root      15   0     0    0     0 SW    0.0  0.0   3:35   0 kjournald
     1545 root      15   0     0    0     0 SW    0.0  0.0   0:38   0 kjournald
     1546 root      15   0     0    0     0 SW    0.0  0.0   3:49   0 kjournald
     1547 root      15   0     0    0     0 SW    0.0  0.0   9:21   0 kjournald
     2079 root      16   0  1580  236   184 S     0.0  0.0   0:25   1 irqbalance
     2123 root      18   0  1580  176   172 S     0.0  0.0   0:00   0 acpid
     3776 xfs       16   0  5144  260   232 S     0.0  0.0   0:00   0 xfs
     3786 daemon    16   0  1636  236   196 S     0.0  0.0   0:00   1 atd
     4749 root      17   0  1600  156   152 S     0.0  0.0   0:00   0 portsentry
     5319 nobody    15   0  1948    4     0 S     0.0  0.0   0:00   0 melange
     5322 nobody    17   0  4384  144   140 S     0.0  0.0   0:00   0 entropychat
     5337 root      16   0  1640  164   124 S     0.0  0.0   0:02   0 mdadm
     5355 root      18   0  1576  124   120 S     0.0  0.0   0:00   1 mingetty
     5356 root      17   0  1576  124   120 S     0.0  0.0   0:00   1 mingetty
     5357 root      18   0  1576  124   120 S     0.0  0.0   0:00   0 mingetty
     5358 root      20   0  1576  124   120 S     0.0  0.0   0:00   1 mingetty
     5359 root      18   0  1576  124   120 S     0.0  0.0   0:00   0 mingetty
     5360 root      18   0  1576  124   120 S     0.0  0.0   0:00   1 mingetty
    13741 root      16   0  4776 1628  1164 S     0.0  0.1   0:38   1 chkservd
    14547 named     17   0 48992  10M  1592 S     0.0  1.0  19:50   0 named
     5726 root      16   0  3712  796   700 S     0.0  0.0   0:00   0 sshd
    26621 mailman   17   0  7240 1120  1116 S     0.0  0.1   0:00   0 mailmanctl
    26623 mailman   16   0  7188 1852  1064 S     0.0  0.1   0:55   0 python2
    26624 mailman   16   0  7288 1876  1064 S     0.0  0.1   0:57   0 python2
    26625 mailman   16   0  7148 1832  1064 S     0.0  0.1   0:55   0 python2
    26626 mailman   16   0  7332 1960  1080 S     0.0  0.1   0:57   0 python2
    psaux:

    Code:
     USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
    root         1  0.0  0.0  1584  412 ?        S    May09   0:52 init [3]
    root         2  0.0  0.0     0    0 ?        SW   May09   0:52 [migration/0]
    root         3  0.0  0.0     0    0 ?        SWN  May09   0:00 [ksoftirqd/0]
    root         4  0.0  0.0     0    0 ?        SW   May09   0:03 [migration/1]
    root         5  0.0  0.0     0    0 ?        SWN  May09   0:00 [ksoftirqd/1]
    root         6  0.0  0.0     0    0 ?        SW<  May09   0:00 [events/0]
    root         7  0.0  0.0     0    0 ?        SW<  May09   0:00 [events/1]
    root         8  0.0  0.0     0    0 ?        SW<  May09   0:04 [khelper]
    root        13  0.0  0.0     0    0 ?        SW<  May09   0:00 [kthread]
    root        22  0.0  0.0     0    0 ?        SW<  May09   0:00 [kacpid]
    root       113  0.0  0.0     0    0 ?        SW<  May09  12:32 [kblockd/0]
    root       114  0.0  0.0     0    0 ?        SW<  May09  13:15 [kblockd/1]
    root       127  0.0  0.0     0    0 ?        SW   May09   0:00 [khubd]
    root       202  0.0  0.0     0    0 ?        SW   May09  24:33 [kswapd0]
    root       203  0.0  0.0     0    0 ?        SW<  May09   0:00 [aio/0]
    root       204  0.0  0.0     0    0 ?        SW<  May09   0:00 [aio/1]
    root       793  0.0  0.0     0    0 ?        SW   May09   0:00 [kseriod]
    root       870  0.0  0.0     0    0 ?        SW<  May09   0:00 [ata/0]
    root       871  0.0  0.0     0    0 ?        SW<  May09   0:00 [ata/1]
    root       873  0.0  0.0     0    0 ?        SW   May09   0:00 [scsi_eh_0]
    root       874  0.0  0.0     0    0 ?        SW   May09   0:00 [scsi_eh_1]
    root       894  0.0  0.0     0    0 ?        SW   May09   0:00 [khpsbpkt]
    root       927  0.0  0.0     0    0 ?        SW   May09   0:33 [kirqd]
    root       928  0.0  0.0     0    0 ?        SW   May09   1:20 [kjournald]
    root      1544  0.0  0.0     0    0 ?        SW   May09   3:35 [kjournald]
    root      1545  0.0  0.0     0    0 ?        SW   May09   0:38 [kjournald]
    root      1546  0.0  0.0     0    0 ?        SW   May09   3:49 [kjournald]
    root      1547  0.0  0.0     0    0 ?        SW   May09   9:21 [kjournald]
    root      2079  0.0  0.0  1580  236 ?        S    May09   0:25 irqbalance
    root      2123  0.0  0.0  1580  176 ?        S    May09   0:00 /usr/sbin/acpid
    xfs       3776  0.0  0.0  5144  260 ?        S    May09   0:00 xfs -droppriv -daemon
    daemon    3786  0.0  0.0  1636  236 ?        S    May09   0:00 /usr/sbin/atd
    root      4749  0.0  0.0  1600  156 ?        S    May09   0:00 /usr/sbin/portsentry -tcp
    nobody    5319  0.0  0.0  1948    4 ?        S    May09   0:00 /usr/local/cpanel/bin/startmelange
    nobody    5322  0.0  0.0  4384  144 ?        S    May09   0:00 entropychat
    root      5337  0.0  0.0  1640  164 ?        S    May09   0:02 mdadm --monitor --scan -f
    root      5355  0.0  0.0  1576  124 tty1     S    May09   0:00 /sbin/mingetty tty1
    root      5356  0.0  0.0  1576  124 tty2     S    May09   0:00 /sbin/mingetty tty2
    root      5357  0.0  0.0  1576  124 tty3     S    May09   0:00 /sbin/mingetty tty3
    root      5358  0.0  0.0  1576  124 tty4     S    May09   0:00 /sbin/mingetty tty4
    root      5359  0.0  0.0  1576  124 tty5     S    May09   0:00 /sbin/mingetty tty5
    root      5360  0.0  0.0  1576  124 tty6     S    May09   0:00 /sbin/mingetty tty6
    nobody   11314  0.2  0.1 95872 1236 ?        S    May09 148:08 icecast -c /usr/etc/icecast.xml
    root     13741  0.0  0.1  4776 1628 ?        S    May26   0:38 chkservd
    named    14547  0.0  1.0 48992 10556 ?       S    May26  19:50 /usr/sbin/named -u named
    root      5726  0.0  0.0  3712  796 ?        S    May28   0:00 /usr/sbin/sshd
    mailman  26621  0.0  0.1  7240 1120 ?        S    Jun08   0:00 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl -s start
    mailman  26623  0.0  0.1  7188 1852 ?        S    Jun08   0:55 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
    mailman  26624  0.0  0.1  7288 1876 ?        S    Jun08   0:57 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
    mailman  26625  0.0  0.1  7148 1832 ?        S    Jun08   0:55 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
    mailman  26626  0.0  0.1  7332 1960 ?        S    Jun08   0:57 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
    mailman  26627  0.0  0.1  7228 1892 ?        S    Jun08   0:56 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
    mailman  26628  0.0  0.1  7464 2048 ?        S    Jun08   0:59 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
    mailman  26629  0.0  0.1  7300 1876 ?        S    Jun08   1:01 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
    mailman  26630  0.0  0.1  7184 1432 ?        S    Jun08   0:00 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
    root     26667  0.0  0.1 143380 1320 ?       SN   Jun08  10:38 cpanellogd - setting up logs for xxxx
    root     20830  0.0  1.4 53312 15444 ?       S    Jun17   6:58 /usr/sbin/clamd
    mailnull 20836  0.0  0.1  6676 1512 ?        S    Jun17   0:07 /usr/sbin/exim -bd -q60m
    mailnull 20842  0.0  0.1  6676 1408 ?        S    Jun17   0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    root     20938  0.0  0.1  3516 1208 ?        S    Jun17   1:28 antirelayd
    root     11574  0.0  0.1 24364 1556 ?        S    Jun17   0:00 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5
    root     18191  0.0  0.8 92428 8296 ?        S    Jun17   1:11 /usr/local/apache/bin/httpd -DSSL
    root     14022  0.0  0.0  1656  620 ?        S    Jun18   0:01 crond
    root     14093  0.0  0.0  1644  556 ?        S    Jun18   0:19 syslogd -m 0
    root     14097  0.0  0.0  1592  448 ?        S    Jun18   0:00 klogd -x
    root     13415  0.0  0.1  8608 1148 ?        S    Jun19   0:14 cupsd
    xxxxx  3346  0.0  0.1 143380 1584 ?       SN   Jun21   0:00 cpanellogd - http logs for xxxx
    xxxxx  3379  0.0  0.0  1436  332 ?        SN   Jun21   0:03 /usr/local/cpanel/bin/logrunner 2.0 /usr/local/cpanel/3rdparty/bin/awstats.pl -config=xxx.com -update
    xxxxx  3380  0.0  1.5 24956 16404 ?       SN   Jun21   2:24 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=xxx.com -update
    root     12769  0.0  1.5 25944 16384 ?       S    Jun21   0:08 spamd child
    root     14105  0.0  1.5 25928 16356 ?       S    Jun21   0:08 spamd child
    root     15732  0.0  1.7 27964 17644 ?       S    Jun21   0:09 spamd child
    root     17245  0.0  1.5 27216 16476 ?       S    Jun21   0:08 spamd child
    root     13245  0.0  0.1  8244 2056 ?        S    Jun21   0:07 cppop - accepting on port 110
    root     13423  0.0  0.1  6960 1092 ?        S    Jun21   0:00 pure-ftpd (SERVER)
    root     13826  0.0  0.0  6732  788 ?        S    Jun21   0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
    root     13846  0.0  0.0  2196  768 ?        S    Jun21   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
    root     14059  0.0  1.6 27864 17264 ?       S    Jun21   0:07 spamd child
    nobody   14102 40.0  0.3 99916 4120 ?        R    Jun22 452:53 /usr/local/apache/bin/httpd -DSSL
    root     22866  0.0  0.0  2180  840 ?        S    Jun22   0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid
    mysql    22887  0.0 17.7 234528 183320 ?     S    Jun22   0:05 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22888  0.0 17.7 234528 183320 ?     S    Jun22   0:01 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22889  0.0 17.7 234528 183320 ?     S    Jun22   0:09 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22890  1.2 17.7 234528 183320 ?     S    Jun22   7:06 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22893  1.1 17.7 234528 183320 ?     S    Jun22   6:31 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22901  1.1 17.7 234528 183320 ?     S    Jun22   6:46 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22902  1.0 17.7 234528 183320 ?     S    Jun22   6:21 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22908  1.1 17.7 234528 183320 ?     S    Jun22   6:32 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    22956  1.0 17.7 234528 183320 ?     S    Jun22   6:23 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23039  1.0 17.7 234528 183320 ?     S    Jun22   6:21 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23247  1.0 17.7 234528 183320 ?     S    Jun22   6:07 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23252  0.9 17.7 234528 183320 ?     S    Jun22   5:20 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23253  1.0 17.7 234528 183320 ?     S    Jun22   5:52 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23254  1.0 17.7 234528 183320 ?     S    Jun22   6:16 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23544  1.0 17.7 234528 183320 ?     S    Jun22   6:10 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23545  1.0 17.7 234528 183320 ?     S    Jun22   6:10 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23555  1.0 17.7 234528 183320 ?     S    Jun22   6:13 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    23560  0.9 17.7 234528 183320 ?     S    Jun22   5:47 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mailnull 23939  0.0  0.2  7460 3040 ?        S    Jun22   0:03 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    mysql    25282  0.9 17.7 234528 183320 ?     S    Jun22   5:33 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25283  0.9 17.7 234528 183320 ?     S    Jun22   5:15 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25284  1.0 17.7 234528 183320 ?     S    Jun22   6:11 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25285  0.9 17.7 234528 183320 ?     S    Jun22   5:24 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25286  0.9 17.7 234528 183320 ?     S    Jun22   5:09 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25288  0.9 17.7 234528 183320 ?     S    Jun22   5:29 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25289  0.9 17.7 234528 183320 ?     S    Jun22   5:31 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25290  1.0 17.7 234528 183320 ?     S    Jun22   6:10 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    28363  0.9 17.7 234528 183320 ?     S    Jun22   5:11 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    29769  0.8 17.7 234528 183320 ?     S    Jun22   4:39 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    29770  0.9 17.7 234528 183320 ?     S    Jun22   5:02 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    29874  0.9 17.7 234528 183320 ?     S    Jun22   4:51 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    29885  0.8 17.7 234528 183320 ?     S    Jun22   4:29 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    29886  0.9 17.7 234528 183320 ?     S    Jun22   5:11 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    29893  1.0 17.7 234528 183320 ?     S    Jun22   5:21 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    29907  1.1 17.7 234528 183320 ?     S    Jun22   5:52 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    21987  0.8 17.7 234528 183320 ?     S    Jun22   2:46 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25181  0.7 17.7 234528 183320 ?     S    Jun22   2:05 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25182  0.7 17.7 234528 183320 ?     S    Jun22   2:14 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25183  0.7 17.7 234528 183320 ?     S    Jun22   2:12 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25191  0.8 17.7 234528 183320 ?     S    Jun22   2:32 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25192  0.8 17.7 234528 183320 ?     S    Jun22   2:33 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25193  0.8 17.7 234528 183320 ?     S    Jun22   2:26 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    mysql    25194  0.9 17.7 234528 183320 ?     S    Jun22   2:40 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/xxx.xxx.xxx.pid --skip-locking
    root      7320  0.0  0.0     0    0 ?        SW   00:36   0:00 [pdflush]
    root      7321  0.0  0.0     0    0 ?        SW   00:36   0:00 [pdflush]
    cpanel   15544  0.0  0.1  3728 1628 ?        S    02:06   0:00 /usr/bin/stunnel-4.04local /usr/local/cpanel/etc/stunnel/default/stunnel.conf
    root     15558  0.0  0.7  9616 8096 ?        S    02:06   0:00 cpsrvd - waiting for connections
    root     15926  0.0  0.4  9948 4312 ?        S    02:08   0:00 /usr/bin/perl /usr/local/cpanel/bin/leechprotect
    nobody   15927  0.3  2.5 95088 26428 ?       S    02:08   0:11 /usr/local/apache/bin/httpd -DSSL
    nobody   15928  0.2  2.3 95176 24056 ?       S    02:08   0:10 /usr/local/apache/bin/httpd -DSSL
    nobody   15929  0.3  2.2 95968 22920 ?       S    02:08   0:14 /usr/local/apache/bin/httpd -DSSL
    nobody   15931  0.3  2.6 95464 27052 ?       S    02:08   0:11 /usr/local/apache/bin/httpd -DSSL
    nobody   15932  0.2  2.4 95984 25660 ?       S    02:08   0:09 /usr/local/apache/bin/httpd -DSSL
    nobody   15933  0.3  2.5 95444 25936 ?       S    02:08   0:14 /usr/local/apache/bin/httpd -DSSL
    nobody   15935  0.3  2.2 95012 23592 ?       S    02:08   0:11 /usr/local/apache/bin/httpd -DSSL
    nobody   15936  0.3  2.1 95688 22688 ?       S    02:08   0:12 /usr/local/apache/bin/httpd -DSSL
    nobody   15937  0.3  2.1 95468 22108 ?       S    02:08   0:14 /usr/local/apache/bin/httpd -DSSL
    nobody   15938  0.3  2.2 96572 23088 ?       S    02:08   0:14 /usr/local/apache/bin/httpd -DSSL
    nobody   15942  0.3  2.2 95068 22780 ?       S    02:08   0:11 /usr/local/apache/bin/httpd -DSSL
    nobody   15944  0.4  2.3 95076 24572 ?       S    02:08   0:16 /usr/local/apache/bin/httpd -DSSL
    nobody   15949  0.4  2.5 95416 26380 ?       S    02:08   0:16 /usr/local/apache/bin/httpd -DSSL
    nobody   15950  0.4  2.2 94932 23076 ?       S    02:08   0:14 /usr/local/apache/bin/httpd -DSSL
    nobody   15951  0.4  2.1 96032 22572 ?       S    02:08   0:15 /usr/local/apache/bin/httpd -DSSL
    nobody   15952  0.3  2.4 95948 25328 ?       S    02:08   0:12 /usr/local/apache/bin/httpd -DSSL
    nobody   15953  0.3  2.1 94712 22324 ?       S    02:09   0:11 /usr/local/apache/bin/httpd -DSSL
    nobody   15954  0.3  2.4 95032 25288 ?       S    02:09   0:11 /usr/local/apache/bin/httpd -DSSL
    nobody   15955  0.3  2.5 96392 26112 ?       S    02:09   0:13 /usr/local/apache/bin/httpd -DSSL
    nobody   15956  0.3  2.5 95088 26352 ?       S    02:09   0:13 /usr/local/apache/bin/httpd -DSSL
    nobody   15957  0.4  2.3 94788 24104 ?       S    02:09   0:14 /usr/local/apache/bin/httpd -DSSL
    root     17986  0.0  0.2  7060 2216 ?        S    02:32   0:00 sshd: [email protected]
    root     17988  0.0  0.1  3480 1192 ?        S    02:32   0:00 /usr/libexec/openssh/sftp-server
    root     18153  0.0  0.1  7072 1920 ?        S    02:35   0:00 sshd: [email protected]/0
    root     18155  0.0  0.1  5376 1352 pts/0    S    02:36   0:00 -bash
    nobody   19568  0.5  1.5 94908 16296 ?       S    02:59   0:03 /usr/local/apache/bin/httpd -DSSL
    nobody   19570  0.2  1.3 94124 14236 ?       S    02:59   0:01 /usr/local/apache/bin/httpd -DSSL
    nobody   20658  0.5  1.5 94540 15800 ?       S    03:02   0:02 /usr/local/apache/bin/httpd -DSSL
    nobody   21376  0.0  0.8 92560 8508 ?        S    03:07   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21377  0.4  1.3 95896 13960 ?       S    03:07   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21379  0.0  0.9 92916 9688 ?        S    03:07   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21381  0.3  1.2 94556 13020 ?       S    03:07   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21382  0.3  1.3 95848 13956 ?       S    03:07   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21384  0.1  0.9 93148 9544 ?        S    03:07   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21391  0.0  0.8 92556 8492 ?        S    03:08   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21957  0.0  0.8 92428 8388 ?        S    03:09   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21958  1.6  1.2 94224 12740 ?       S    03:09   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   21959  3.3  1.3 95888 13944 ?       S    03:09   0:00 /usr/local/apache/bin/httpd -DSSL
    root     21963  0.0  0.0  2924  872 pts/0    R    03:09   0:00 ps aux
    netstat -npl:

    Code:
     Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 0.0.0.0:8000                0.0.0.0:*                   LISTEN      11314/icecast
    tcp        0      0 0.0.0.0:993                 0.0.0.0:*                   LISTEN      15544/stunnel-4.04l
    tcp        0      0 0.0.0.0:1                   0.0.0.0:*                   LISTEN      4749/portsentry
    tcp        0      0 0.0.0.0:2082                0.0.0.0:*                   LISTEN      15558/cpsrvd - wait
    tcp        0      0 0.0.0.0:2083                0.0.0.0:*                   LISTEN      15544/stunnel-4.04l
    tcp        0      0 0.0.0.0:995                 0.0.0.0:*                   LISTEN      15544/stunnel-4.04l
    tcp        0      0 0.0.0.0:8099                0.0.0.0:*                   LISTEN      5726/sshd
    tcp        0      0 0.0.0.0:2084                0.0.0.0:*                   LISTEN      5322/entropychat
    tcp        0      0 0.0.0.0:2086                0.0.0.0:*                   LISTEN      15558/cpsrvd - wait
    tcp        0      0 0.0.0.0:2087                0.0.0.0:*                   LISTEN      15544/stunnel-4.04l
    tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      22887/mysqld
    tcp        0      0 0.0.0.0:6666                0.0.0.0:*                   LISTEN      5319/startmelange
    tcp        0      0 0.0.0.0:110                 0.0.0.0:*                   LISTEN      13245/cppop - accep
    tcp        0      0 0.0.0.0:2095                0.0.0.0:*                   LISTEN      15558/cpsrvd - wait
    tcp        0      0 0.0.0.0:143                 0.0.0.0:*                   LISTEN      13846/xinetd
    tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LISTEN      11574/spamd.pid --m
    tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      4749/portsentry
    tcp        0      0 0.0.0.0:2096                0.0.0.0:*                   LISTEN      15544/stunnel-4.04l
    tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      18191/httpd
    tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      20842/exim
    tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      13423/pure-ftpd (SE
    tcp        0      0 xx.xx.xx.14:53              0.0.0.0:*                   LISTEN      14547/named
    tcp        0      0 xx.xx.xx.13:53              0.0.0.0:*                   LISTEN      14547/named
    tcp        0      0 xx.xx.xx.12:53              0.0.0.0:*                   LIST
    tcp        0      0 xx.xx.xx.11:53              0.0.0.0:*                   LIST
    tcp        0      0 xx.xx.xx.10:53              0.0.0.0:*                   LIST
    tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LIST
    tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LIST
    tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LIST
    tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LIST
    tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LIST
    udp        0      0 0.0.0.0:56607               0.0.0.0:*
    udp        0      0 xx.xx.xx.14:53              0.0.0.0:*
    udp        0      0 xx.xx.xx.13:53              0.0.0.0:*
    udp        0      0 xx.xx.xx.12:53              0.0.0.0:*
    udp        0      0 xx.xx.xx.11:53              0.0.0.0:*
    udp        0      0 xx.xx.xx.10:53              0.0.0.0:*
    udp        0      0 127.0.0.1:53                0.0.0.0:*
    udp        0      0 0.0.0.0:631                 0.0.0.0:*
    Active UNIX domain sockets (only servers)
    Proto RefCnt Flags       Type       State         I-Node PID/Program name    Pat
    unix  2      [ ACC ]     STREAM     LISTENING     5019   3776/xfs            /tm
    unix  2      [ ACC ]     STREAM     LISTENING     65009433 20830/clamd         /
    unix  2      [ ACC ]     STREAM     LISTENING     2630   2123/acpid          /va
    unix  2      [ ACC ]     STREAM     LISTENING     72346940 13826/pure-authd    /
    unix  2      [ ACC ]     STREAM     LISTENING     74047637 22887/mysqld        /

  2. #2
    13 apache requests currently being processed and the server load is 2.48

  3. #3
    Try running:

    netstat -an |grep :80 |wc -l

    and see if there's a certain IP opening up many connections to your server, slowing it down.

  4. #4
    Already done that. This is not an attack. When I restart mysql, It is ok for some time. I restarted mysql a few minutes ago and now the load is 0.03 But after an hour at most, It will go crazy again.. I don't know why. Looks like mysql connections are hanging for some reason.

  5. #5
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,574
    It could be a bad MySQL conf. but I am going to say that it's an issue with someone attacking your box.

    Can you try looking at "netstat -nt" when the load goes high to see if some user is sending a ton of requests to your server.

    Use the command below to block an IP. Just replace 1.1.1.1 with the IP address you wish to block.

    Code:
    /sbin/iptables -A INPUT -s 1.1.1.1 -j REJECT
    Thanks,
    MediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
    The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business

  6. #6
    Join Date
    Mar 2004
    Location
    Seattle, WA
    Posts
    2,561
    Yeah, you may want to make sure your httpd config and mysql config has been optimized for best performance.
    ColoInSeattle - From 1U to cage space colocation in Seattle
    ServerStadium - Affordable Dedicated Servers
    Come visit our 18k sq ft. facility in Seattle!
    Managed Private Cloud | Colocation | Disaster Recovery | Dedicated Servers

Posting Permissions

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