[Errorlog] Directadmin Panel hangs

IPaddress

Verified User
Joined
Feb 21, 2004
Messages
86
Hi.
Im running Directadmin 1.33.7 on a CentOS release 5 (Final).
All the services are working fine, except for the Directadmin Panel that hangs all the time. Now i cant login, cause when i go in "http://www.xxx.yyy.zzz:2222" i get a 404.
When i restart the service ("/etc/init.d/directadmin restart" or "service directadmin restart"), the panel respond for about 1 minute, but then it hangs and stop responding again.

My Directadmin error.log ("/var/log/directadmin/error.log") repeats the message:
Code:
"Socket write error: fd is connected to a pipe or socket whose reading end is closed.  When this  happens the writing process will also receive a SIG_PIPE signal.  (Thus, the write return value is seen only if  the program catches, blocks or ignores this signal.)"
Every time it hangs!

The server is responding on port 2222 ("telnet www.xxx.yyy.zzz 2222" works fine).
I've tryied restarting (and stoping) all the other services to make sure that they are not making directadmin hang. I've restarted the system and the problem remains.
Note: I havent made any changes to the "/etc/httpd/conf/httpd.conf".

Any ideas what could be the problem?

Thanks in advance.

Bye!
 
Hi.
# ps aux
Code:
 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  10344   688 ?        Ss   Sep23   0:01 init [3]
root         2  0.0  0.0      0     0 ?        S    Sep23   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   Sep23   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    Sep23   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S    Sep23   0:00 [migration/1]
root         6  0.0  0.0      0     0 ?        SN   Sep23   0:00 [ksoftirqd/1]
root         7  0.0  0.0      0     0 ?        S    Sep23   0:00 [watchdog/1]
root         8  0.0  0.0      0     0 ?        S<   Sep23   0:00 [events/0]
root         9  0.0  0.0      0     0 ?        S<   Sep23   0:00 [events/1]
root        10  0.0  0.0      0     0 ?        S<   Sep23   0:00 [khelper]
root        27  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kthread]
root        32  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kblockd/0]
root        33  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kblockd/1]
root        34  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kacpid]
root       127  0.0  0.0      0     0 ?        S<   Sep23   0:00 [cqueue/0]
root       128  0.0  0.0      0     0 ?        S<   Sep23   0:00 [cqueue/1]
root       131  0.0  0.0      0     0 ?        S<   Sep23   0:00 [khubd]
root       133  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kseriod]
root       203  0.0  0.0      0     0 ?        S    Sep23   0:21 [pdflush]
root       204  0.0  0.0      0     0 ?        S    Sep23   0:14 [pdflush]
root       205  0.0  0.0      0     0 ?        S<   Sep23   0:58 [kswapd0]
root       206  0.0  0.0      0     0 ?        S<   Sep23   0:00 [aio/0]
root       207  0.0  0.0      0     0 ?        S<   Sep23   0:00 [aio/1]
root       352  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kpsmoused]
root       389  0.0  0.0      0     0 ?        S<   Sep23   0:00 [ata/0]
root       390  0.0  0.0      0     0 ?        S<   Sep23   0:00 [ata/1]
root       391  0.0  0.0      0     0 ?        S<   Sep23   0:00 [ata_aux]
root       395  0.0  0.0      0     0 ?        S<   Sep23   0:00 [scsi_eh_0]
root       396  0.0  0.0      0     0 ?        S<   Sep23   0:00 [scsi_eh_1]
root       399  0.0  0.0      0     0 ?        S<   Sep23   0:00 [md0_raid1]
root       402  0.1  0.0      0     0 ?        S<   Sep23   1:41 [md1_raid1]
root       403  0.1  0.0      0     0 ?        S<   Sep23   1:42 [kjournald]
root       430  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kauditd]
root       464  0.0  0.0  12600   732 ?        S<s  Sep23   0:00 /sbin/udevd -d
root      1416  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kmpathd/0]
root      1418  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kmpathd/1]
root      1426  0.0  0.0      0     0 ?        S<   Sep23   0:00 [kmirrord]
root      2030  0.0  0.0   5908   604 ?        Ss   Sep23   0:15 syslogd -m 0
root      2033  0.0  0.0   3804   432 ?        Ss   Sep23   0:00 klogd -x
root      2049  0.0  0.0   3856   360 ?        Ss   Sep23   0:00 irqbalance
root      2099  0.0  0.0   3988   328 ?        Ss   Sep23   0:00 mdadm --monitor --scan -f --pid-file=/var/run/mdadm/mdadm.pid
root      2115  0.0  0.6  16528 12432 ?        SLsl Sep23   0:00 mdmpd
root      2138  0.0  0.0  37976  1468 ?        Ssl  Sep23   0:00 automount
root      2197  0.0  0.0  21640   912 ?        Ss   Sep23   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
ntp       2215  0.0  0.1  15744  3516 ?        SLs  Sep23   0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root      2336  0.0  0.0   1236   356 ?        Ss   Sep23   0:03 /usr/local/directadmin/da-popb4smtp
ftp       2456  0.0  0.0  13220  1000 ?        Ss   Sep23   0:00 proftpd: (accepting connections)
mail      2739  0.0  0.0  50068  1640 ?        S    12:59   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
root      2990  0.0  0.0   4132   552 ?        S    Sep23   0:00 /usr/sbin/smartd -q never
root      2994  0.0  0.0   3792   480 tty1     Ss+  Sep23   0:00 /sbin/mingetty tty1
root      2996  0.0  0.0   3792   480 tty2     Ss+  Sep23   0:00 /sbin/mingetty tty2
root      2997  0.0  0.0   3792   480 tty3     Ss+  Sep23   0:00 /sbin/mingetty tty3
root      2998  0.0  0.0   3788   476 tty4     Ss+  Sep23   0:00 /sbin/mingetty tty4
root      3000  0.0  0.0   3792   480 tty5     Ss+  Sep23   0:00 /sbin/mingetty tty5
root      3002  0.0  0.0   3792   480 tty6     Ss+  Sep23   0:00 /sbin/mingetty tty6
root      7830  0.0  0.1  71812  2844 ?        Ss   13:16   0:00 sshd: ME [priv]
670       7855  0.0  0.0  71952  1564 ?        S    13:16   0:00 sshd: ME@pts/1
670       7857  0.0  0.0  66048  1576 pts/1    Ss   13:16   0:00 -bash
root      7891  0.0  0.0 101024  1304 pts/1    S    13:16   0:00 su -
root      7894  0.0  0.0  66184  1640 pts/1    S    13:16   0:00 -bash
root      8091  0.0  0.0  47980  1616 ?        S    13:17   0:00 /usr/sbin/exim -q
root      8652  0.0  0.1 103604  3356 ?        Ss   13:19   0:00 /usr/sbin/exim -Mc 1Mqr2U-0002FX-N9
mail      8655  0.0  0.0 103604  1676 ?        S    13:19   0:00 /usr/sbin/exim -Mc 1Mqr2U-0002FX-N9
mail      8835  0.0  0.0  50064  1608 ?        S    13:20   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
root      9463  0.6  2.0 221324 41220 ?        Ss   13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9493  0.7  2.2 236572 46528 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9494  0.0  1.5 221456 30864 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9495  0.2  1.7 225412 35392 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9496  0.5  1.7 226372 36020 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
nobody    9498  0.1  0.0  48104  1660 ?        Ss   13:22   0:00 /usr/local/directadmin/directadmin d
apache    9499  0.0  1.5 221764 31392 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9500  0.2  1.5 221456 30944 ?        R    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9501  0.2  1.5 221456 30808 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9502  0.0  1.4 221324 29368 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
nobody    9510  0.0  0.0  48104   772 ?        S    13:22   0:00 /usr/local/directadmin/directadmin d
nobody    9511  0.0  0.0  48104   772 ?        S    13:22   0:00 /usr/local/directadmin/directadmin d
nobody    9512  0.0  0.0  48104   772 ?        S    13:22   0:00 /usr/local/directadmin/directadmin d
nobody    9513  0.0  0.0  48104   772 ?        S    13:22   0:00 /usr/local/directadmin/directadmin d
nobody    9514  0.0  0.0  48104   772 ?        S    13:22   0:00 /usr/local/directadmin/directadmin d
apache    9533  0.0  1.5 221456 30908 ?        D    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
root      9535  0.0  0.0  44416  1084 ?        Ss   13:22   0:00 /usr/sbin/sshd
apache    9549  0.6  1.7 226668 36296 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9550  0.6  1.8 229016 38384 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
root      9551  0.0  0.0  74812  1156 ?        Ss   13:22   0:00 crond
apache    9587  0.0  1.4 221324 29404 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9588  0.1  1.7 225352 34960 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9589  0.0  1.5 221456 30880 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9590  0.0  1.4 221324 29360 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9632  0.0  1.5 221456 30836 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
mail      9643  0.0  0.0  48000   940 ?        Ss   13:22   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
apache    9648  1.4  1.8 227548 37660 ?        S    13:22   0:01 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9649  0.0  1.5 221456 30920 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9656  0.0  1.5 221456 30768 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9657  0.0  1.5 221456 30912 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9658  0.0  1.4 221324 29428 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9659  0.0  1.4 221324 29448 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9667  0.1  1.6 224452 33932 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9668  0.0  1.4 221324 29388 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9669  0.0  1.4 221324 29404 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9670  0.0  1.4 221324 29504 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9671  0.0  1.4 221324 29420 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
apache    9672  0.0  1.4 221324 29412 ?        S    13:22   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
root      9675  2.5  2.6 172044 54652 ?        Ss   13:22   0:01 /usr/bin/spamd -d -c -m 10
root      9882  0.0  0.0  63824  1196 pts/1    S    13:22   0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/ONE.SERVER.p
mysql     9917  4.5  1.1 255872 24476 pts/1    Sl   13:22   0:03 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ONE.SERVER
mail     10016  0.0  0.0  50124  1612 ?        S    13:22   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
root     10053  8.6  2.9 177200 59764 ?        S    13:22   0:04 spamd child
root     10054  0.0  2.5 172044 52812 ?        S    13:22   0:00 spamd child
named    10066  2.7  0.5 228008 11700 ?        Ssl  13:22   0:01 /usr/sbin/named -u named
nagios   10093  0.0  0.0  33364   972 ?        Ss   13:22   0:00 nrpe -c /etc/nagios/nrpe.cfg -d
root     10115  0.3  0.3 146340  6576 ?        Sl   13:22   0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a
root     10143  0.0  0.0  14476   388 ?        S    13:22   0:00 vm-pop3d -d 10 -t 600
mail     10144  0.0  0.0  14480   452 ?        S    13:22   0:00 vm-pop3d -d 10 -t 600
root     10498  0.0  0.0  14476   292 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
root     10584  0.0  0.1 103588  2804 ?        S    13:23   0:00 /usr/sbin/exim -q
mail     10585  0.0  0.0 103592  1628 ?        S    13:23   0:00 /usr/sbin/exim -q
mail     10856  0.0  0.0  50076  1352 ?        S    13:23   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
mail     10857  0.0  0.0  14480   452 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
mail     10858  0.0  0.0  50112  1520 ?        S    13:23   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
mail     10860  0.0  0.0  48008   804 ?        S    13:23   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
mail     10861  0.0  0.0  14480   452 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
mail     10863  0.5  0.0  14480   396 ?        R    13:23   0:00 vm-pop3d -d 10 -t 600
root     10864  0.0  0.0  14476   156 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
root     10865  0.0  0.0  14476   156 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
root     10867  0.0  0.0  14476   156 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
root     10868  0.0  0.0  14476   156 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
mail     10869  0.0  0.0  48008   804 ?        S    13:23   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
mail     10875  0.0  0.0  48008   804 ?        S    13:23   0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
root     10878  0.0  0.0  14476   156 ?        S    13:23   0:00 vm-pop3d -d 10 -t 600
apache   10879  0.0  1.4 221324 28856 ?        S    13:23   0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_DIGEST -DHAVE_USERTRACK -DHAVE_IMAP -DHAVE_PROXY -DHAVE_AUTOINDEX
root     10880  0.0  0.0  65588   964 pts/1    R+   13:23   0:00 ps aux
root     18988  0.0  0.1  71812  2832 ?        Ss   Sep23   0:00 sshd: ME [priv]
670      19061  0.0  0.0  71952  1572 ?        S    Sep23   0:00 sshd: ME@pts/0
670      19062  0.0  0.0  66048  1584 pts/0    Ss   Sep23   0:00 -bash
root     19154  0.0  0.0 101020  1304 pts/0    S    Sep23   0:00 su -
root     19171  0.0  0.0  66180  1720 pts/0    S+   Sep23   0:00 -bash

Its a little large because all the process are running and in production (named, mysql, apache, exim, nagios, etc).
I'm not seeing anything strange here. Do you?

Bye.
 
Hi.
Sorry to bother again with this but the server is still swaping.
Any ideas where could the problem be? Why those httpd process are taking that much virtual memory?

Bye!
 
Well i've restarted the server again and its working again, but i dont know what happend...

Bye!
 
Back
Top