DA sluggish

AndyII

Verified User
Joined
Oct 3, 2006
Messages
571
I have 2 servers with DA and latest version, now I seem to be very sluggish when in DA either as admin or user, one of the servers actually times out but a refresh will get you there. loads are low (.58)

can I roll back to see if it has something to do with DA upgrade?
as this is when it seem to have started.

Compiled on Redhat Enterprise 4.0
Server Version 1.33.1
Current Available Version 1.331000
Last Updated Thu Feb 26 08:00:14 2009

Apache 1.3.37
DirectAdmin 1.33.1
Exim 4.60
MySQL 4.1.11
PHP 4.4
 
Last edited:
Also, if during the time that DA is chugging away on whatever it's doing, run:
Code:
killall -USR1 directadmin
then check /var/log/directadmin/error.log to see what each child process was doing at that time.

Note if you have thousands of system messages in the "Message System" try removing some to speed things up.

John
 
Thanks for the replies.
I did a ps -ef while there didnt seem to be any trouble for a reference and will do these as suggested when it (if) happens again.
can someone tell me if there is a command that will single out a user that is consuming a lot of resources?, perhaps a list in order of consumption :confused:
 
When running "top" - you can press 'c' and see exactly what the processes are doing.

I'd also keep an eye on your maillog to make sure you don't have a spammer on board.

Another thing to check is /var/log/secure - you might be experiencing a brute force attack if you don't have protection in place
 
thank you, I do run KISS FW and I will see what top says with the 'c" option.
I do see a lot of WordPress sites and they seem to be some troubles when they are using the rss feeds
 
WordPress is extremely resource intensive. We recently added 8 WordPress sites at once to one of our servers, and the server load went up to over 500; the server was virtually useless. We moved the three highest resource-intensive sites off the server, and everything quieted down.

Note that the quick-and-dirty way to see who's using the most resources in a site with MySQL is by parsing the MySQL slow log.

Jeff
 
thanks for the tips, I just have to learn how to "parsing the MySQL slow log."
here is an update, I'm in DA admin doesn't really matter what I try to do, but I will click show users, page loads quickly, I return try a different link, page stalls, if I hit the link again it may load, or not, so its not any particular option I choose its random , I try to login as (user) again stalls or finally loads, most times I get "Page cant be displayed".
also
top 'c'
sometimes its apache hogging, others its mysql, and sometimes nothing going on, all is very quit and loads are very low

I took a snapshot of ps -ef


Code:
[root@x ~]# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Mar25 ?        00:00:03 init [3]
root         2     1  0 Mar25 ?        00:00:00 [migration/0]
root         3     1  0 Mar25 ?        00:00:00 [ksoftirqd/0]
root         4     1  0 Mar25 ?        00:00:00 [migration/1]
root         5     1  0 Mar25 ?        00:00:00 [ksoftirqd/1]
root         6     1  0 Mar25 ?        00:00:00 [events/0]
root         7     1  0 Mar25 ?        00:00:00 [events/1]
root         8     6  0 Mar25 ?        00:00:00 [khelper]
root         9     6  0 Mar25 ?        00:00:00 [kacpid]
root        32     6  0 Mar25 ?        00:00:00 [kblockd/0]
root        33     6  0 Mar25 ?        00:00:00 [kblockd/1]
root        34     1  0 Mar25 ?        00:00:00 [khubd]
root        54     6  0 Mar25 ?        00:00:00 [aio/0]
root        55     6  0 Mar25 ?        00:00:00 [aio/1]
root        53     1  0 Mar25 ?        00:00:28 [kswapd0]
root       201     1  0 Mar25 ?        00:00:00 [kseriod]
root       308     7  0 Mar25 ?        00:00:00 [ata/0]
root       309     7  0 Mar25 ?        00:00:00 [ata/1]
root       313     1  0 Mar25 ?        00:00:00 [scsi_eh_0]
root       314     1  0 Mar25 ?        00:00:00 [scsi_eh_1]
root       339     6  0 Mar25 ?        00:00:00 [kmirrord]
root       351     1  0 Mar25 ?        00:03:12 [kjournald]
root      1513     1  0 Mar25 ?        00:00:00 udevd
root      1609     6  0 Mar25 ?        00:00:00 [hda_codec/0]
root      1610     6  0 Mar25 ?        00:00:00 [hda_codec/1]
root      1947     6  0 Mar25 ?        00:00:00 [kauditd]
root      2008     1  0 Mar25 ?        00:00:00 [kjournald]
root      2579     1  0 Mar25 ?        00:00:00 cpuspeed -d -n
root      2580  2579  0 Mar25 ?        00:00:00 cpuspeed -d -n
root      3489     1  0 Mar25 ?        00:00:21 syslogd -m 0
root      3493     1  0 Mar25 ?        00:00:00 klogd -x
root      3503     1  0 Mar25 ?        00:00:00 irqbalance
rpc       3521     1  0 Mar25 ?        00:00:00 portmap
root      3540     1  0 Mar25 ?        00:00:00 rpc.statd
root      3568     1  0 Mar25 ?        00:00:00 rpc.idmapd
root      3635     1  0 Mar25 ?        00:00:00 /usr/sbin/smartd
root      3644     1  0 Mar25 ?        00:00:00 /usr/sbin/acpid
root      3753     1  0 Mar25 ?        00:00:00 xinetd -stayalive -pidfile /var/
root      3762     1  0 Mar25 ?        00:00:00 /usr/local/directadmin/da-popb4s
nobody    3771     1  0 Mar25 ?        00:00:00 /usr/local/directadmin/directadm
mail      3780     1  0 Mar25 ?        00:00:02 /usr/sbin/exim -bd -q15m -oP /va
root      3795     1  0 Mar25 ?        00:00:00 gpm -m /dev/input/mice -t exps2
ftp       3818     1  0 Mar25 ?        00:00:02 proftpd: (accepting connections)
root      3831     1  0 Mar25 ?        00:00:00 vm-pop3d -d 10 -t 600
root      3852     1  0 Mar25 ?        00:00:03 crond
xfs       3888     1  0 Mar25 ?        00:00:00 xfs -droppriv -daemon
root      3905     1  0 Mar25 ?        00:00:00 /usr/sbin/atd
dbus      3915     1  0 Mar25 ?        00:00:00 dbus-daemon-1 --system
root      3924     1  0 Mar25 ?        00:00:00 cups-config-daemon
root      3934     1  0 Mar25 ?        00:00:00 hald
root      3946     1  0 Mar25 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --d
mysql     3967  3946  0 Mar25 ?        00:00:44 /usr/sbin/mysqld --basedir=/ --d
mysql     4126  3967  0 Mar25 ?        00:00:56 /usr/sbin/mysqld --basedir=/ --d
mysql     4127  4126  0 Mar25 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql     4128  4126  0 Mar25 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql     4129  4126  0 Mar25 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql     4130  4126  0 Mar25 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql     4137  4126  0 Mar25 ?        00:00:01 /usr/sbin/mysqld --basedir=/ --d
mysql     4138  4126  0 Mar25 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql     4140  4126  0 Mar25 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql     4141  4126  0 Mar25 ?        00:00:32 /usr/sbin/mysqld --basedir=/ --d
root      4149     1  0 Mar25 tty1     00:00:00 /sbin/mingetty tty1
root      4150     1  0 Mar25 tty2     00:00:00 /sbin/mingetty tty2
root      4151     1  0 Mar25 tty3     00:00:00 /sbin/mingetty tty3
root      4152     1  0 Mar25 tty4     00:00:00 /sbin/mingetty tty4
root      4153     1  0 Mar25 tty5     00:00:00 /sbin/mingetty tty5
root      4154     1  0 Mar25 tty6     00:00:00 /sbin/mingetty tty6
named     5132     1  0 Mar25 ?        00:00:45 named -u named
apache     793     1  0 Mar27 ?        00:00:00 /usr/local/apache/bin/httpd -DSS
apache    4362     1  0 Mar28 ?        00:00:00 /usr/local/apache/bin/httpd -DSS
root      2648     1  0 Mar29 ?        00:00:00 cupsd
root     30142     6  0 Mar30 ?        00:00:07 [pdflush]
root     26047     1  0 Mar31 ?        00:00:01 /usr/sbin/sshd
root      6242     6  0 Mar31 ?        00:00:02 [pdflush]
root     25938  3831  0 05:56 ?        00:00:00 vm-pop3d -d 10 -t 600
root     26162  3831  0 05:59 ?        00:00:00 vm-pop3d -d 10 -t 600
root     26419  3831  0 06:02 ?        00:00:00 vm-pop3d -d 10 -t 600
root     26642  3831  0 06:05 ?        00:00:00 vm-pop3d -d 10 -t 600
root     27005  3831  0 06:09 ?        00:00:00 vm-pop3d -d 10 -t 600
root     27324  3831  0 06:12 ?        00:00:00 vm-pop3d -d 10 -t 600
root     27562  3831  0 06:15 ?        00:00:00 vm-pop3d -d 10 -t 600
root     27660  3831  0 06:16 ?        00:00:00 vm-pop3d -d 10 -t 600
mail     27753  3780  0 06:17 ?        00:00:00 /usr/sbin/exim -bd -q15m -oP /va
root     27990  3831  0 06:19 ?        00:00:00 vm-pop3d -d 10 -t 600
root     27999  3852  0 06:20 ?        00:00:00 crond
esocd    28000 27999  0 06:20 ?        00:00:00 /usr/local/directadmin/dataskq
root     28083 28000  0 06:20 ?        00:00:00 sh -c /bin/tar czfp /home/esocd/
root     28084 28083  0 06:20 ?        00:00:00 /bin/tar czfp /home/esocd/backup
root     28085 28084 12 06:20 ?        00:00:30 gzip
mysql    28122  4126  0 06:20 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql    28249  4126  0 06:21 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql    28250  4126  0 06:21 ?        00:00:00 /usr/sbin/mysqld --basedir=/ --d
root     28364  3771  0 06:22 ?        00:00:00 /usr/local/directadmin/directadm
nobody   28365  3771  0 06:22 ?        00:00:00 /usr/local/directadmin/directadm
nobody   28367  3771  0 06:22 ?        00:00:00 /usr/local/directadmin/directadm
nobody   28375  3771  0 06:22 ?        00:00:00 /usr/local/directadmin/directadm
nobody   28423  3771  0 06:22 ?        00:00:00 /usr/local/directadmin/directadm
root     28440  3831  0 06:22 ?        00:00:00 vm-pop3d -d 10 -t 600
root     28478 26047  0 06:23 ?        00:00:00 sshd: root@pts/0
root     28486 28478  0 06:23 pts/0    00:00:00 -bash
root     28627     1  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28638 28627  1 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28639 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28640 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28641 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28642 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28643 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28644 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28645 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28653 28627  1 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28654 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28655 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28656 28627  1 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28657 28627  2 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28658 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
apache   28659 28627  0 06:24 ?        00:00:00 /usr/sbin/httpd -DHAVE_AUTH -DHA
root     28666 28486  0 06:24 pts/0    00:00:00 ps -ef
 
Also, if during the time that DA is chugging away on whatever it's doing, run:
Code:
killall -USR1 directadmin
then check /var/log/directadmin/error.log to see what each child process was doing at that time.

Note if you have thousands of system messages in the "Message System" try removing some to speed things up.

John

this is the output in error.log
Code:
2009:04:01-12:00:35: DA [30855] : currently processing : Waiting for child exit : 5 servers
2009:04:01-12:00:35: DA [30997] : currently processing : Sockets::wait()
2009:04:01-12:00:35: DA [30999] : currently processing : Sockets::wait()
2009:04:01-12:00:35: DA [31000] : currently processing : Sockets::wait()
2009:04:01-12:00:35: DA [31001] : currently processing : Sockets::wait()
2009:04:01-12:00:35: DA [31002] : currently processing : Sockets::wait()
 
well, its getting annoying, navigating to a different option results in " The connection has timed out".
at the front end, sites seem to load and display quickly.
this morning loads were less than 1, and all I did was do a 50MB backup on a user site,
(when I could get there, finally) the loads went to a quick 15 and settled back down again after the backup completed.
ok now the other server is doing it, the DC says there are no issues with hardware or connection....
this other server is running Server Version 1.33.1
and has only a few sites (6) on it
 
will do, thanks
Now the newest server is doing same, navigation is sometimes slow and will time out.
Also the forums are timing out navigating through here, would there be a connection with the 2?
what I am suggesting is if when I am in admin and DA control panel is trying to connect to DirectAdmin .com for verification and having difficulties, would this cause the timeouts?
here in the forum, it is happening, going from post to post or topic....:confused:
in other words, what is happening here is also happening in DA
 
any news?

Now, that more than a month has passed, do you have a solution for that?

Thanks!
 
Back
Top