Directadmin hangs - No panel access

sky

Verified User
Joined
Nov 12, 2004
Messages
338
Hello

I'm having trouble with directadmin processes.

When i start directadmin, i get this tree :
Code:
[root@server domains]# ps wauxf | grep directadmin
root     59807  0.0  0.0  24572  6400 ?        Ss   Jan16   1:45 /usr/local/directadmin/da-popb4smtp
root      9634  0.0  0.0 105384   912 pts/0    S+   10:55   0:00      \_ grep directadmin
nobody    9307  0.1  0.0  55496  2596 ?        Ss   10:54   0:00 /usr/local/directadmin/directadmin d
nobody    9309  0.0  0.0  55496  1128 ?        S    10:54   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9310  0.0  0.0  55496  1128 ?        S    10:54   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9311  0.0  0.0  55496  1128 ?        S    10:54   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9312  0.0  0.0  55496  1128 ?        S    10:54   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9313  0.0  0.0  55496  1128 ?        S    10:54   0:00  \_ /usr/local/directadmin/directadmin d

Then, aftert some time, not sure why this happens yet, but i get
Code:
[root@server domains]# ps wauxf | grep directadmin
root     59807  0.0  0.0  24572  6400 ?        Ss   Jan16   1:45 /usr/local/directadmin/da-popb4smtp
root      9237  0.0  0.0 105384   912 pts/0    S+   10:53   0:00      \_ grep directadmin
diradmin 64015  0.0  0.0  57816  3308 ?        S    10:05   0:00 /usr/local/directadmin/directadmin d
diradmin 64932  0.0  0.0  57816  3308 ?        S    10:05   0:00 /usr/local/directadmin/directadmin d
diradmin  1054  0.0  0.0  57816  3308 ?        S    10:16   0:00 /usr/local/directadmin/directadmin d
diradmin  2010  0.0  0.0  57816  3308 ?        S    10:16   0:00 /usr/local/directadmin/directadmin d
diradmin  8741  0.0  0.0  57816  3308 ?        S    10:44   0:00 /usr/local/directadmin/directadmin d
nobody    9227  2.7  0.0  55492  2600 ?        Ss   10:53   0:00 /usr/local/directadmin/directadmin d
nobody    9229  0.0  0.0  55492  1132 ?        S    10:53   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9230  0.0  0.0  55492  1132 ?        S    10:53   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9231  0.0  0.0  55492  1132 ?        S    10:53   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9232  0.0  0.0  55492  1132 ?        S    10:53   0:00  \_ /usr/local/directadmin/directadmin d
nobody    9233  0.0  0.0  55492  1132 ?        S    10:53   0:00  \_ /usr/local/directadmin/directadmin d

Also, when i try to stop directadmin from this point, it does not stop the processes under diradmin user, only the nobody.
Accessing the manager via a browser under port :2222 becomes very slow and hangs often.

Thank-you for yur help.
 
Last edited:
At the moment, DA is again blocked.
I have to kill each DA process with kill -9 and then restart DA with service directadmin start.

It seams that if i kill the processes that are running with diradmin, then i regain access to directadmin panel.
I dont know why the processes go from "nobody" to "diradmin".

Any ideas ?
 
No one has a idea ?
DA panel keeps getting blocked... should i reinstall da ? check perms ?
 
I suppose that this is a pretty strange issue, never heard of anyone having something like this... well it happen if the firewall block you, but since you are able to log in SSH so Firewall is not blocking your IP.

You may try to run DirectAdmin in debug mode: http://help.directadmin.com/item.php?id=293

And analyze what it "say" when it doesnt reply and/or hang...

Regards
 
Hello
First, thank-you for your reply.
I put DA in debug mode, but after some navigation on the panel, the panels just hanged a i had no reply.
The debug gives nothing, so i suppose the request to view a page never gets to DA ... strange.

But i still dont get why the DA processes go from user "nobody" to the user "diradmin" ...
As soon as i kill the processes with the diradmin user, the DA panel works again.

I dont think its a firewall issue.
 
It seams to change process user when i access the panel ...
Can it be a problem of perms or chown somewhere ?

Example before i access the panel :
Code:
[root@server directadmin]# ps wauxf | grep directadmin
root     59807  0.0  0.0  24956  6764 ?        Ss   Jan16   1:50 /usr/local/directadmin/da-popb4smtp
root     19846  0.0  0.0 105384   912 pts/0    S+   22:42   0:00      \_ grep directadmin
root     11797  0.9  0.0 132216  4668 ?        SNs  22:01   0:24      \_ /usr/local/directadmin/dataskq
nobody   19837  0.5  0.0  55492  2572 ?        Ss   22:42   0:00 ./directadmin d
nobody   19839  0.0  0.0  55492  1104 ?        S    22:42   0:00  \_ ./directadmin d
nobody   19840  0.0  0.0  55492  1104 ?        S    22:42   0:00  \_ ./directadmin d
nobody   19841  0.0  0.0  55492  1104 ?        S    22:42   0:00  \_ ./directadmin d
nobody   19842  0.0  0.0  55492  1104 ?        S    22:42   0:00  \_ ./directadmin d
nobody   19843  0.0  0.0  55492  1104 ?        S    22:42   0:00  \_ ./directadmin d

After i access the panel :
Code:
[root@server directadmin]# ps wauxf | grep directadmin
root     59807  0.0  0.0  24956  6764 ?        Ss   Jan16   1:50 /usr/local/directadmin/da-popb4smtp
root     20832  0.0  0.0 105384   876 pts/0    D+   22:43   0:00      \_ grep directadmin
root     11797  0.9  0.0 132216  4668 ?        SNs  22:01   0:24      \_ /usr/local/directadmin/dataskq
nobody   19837  0.2  0.0  55492  2572 ?        Ss   22:42   0:00 ./directadmin d
diradmin 19868  0.0  0.0  57816  3276 ?        S    22:43   0:00  \_ ./directadmin d
nobody   20827  0.0  0.0  55492  2204 ?        S    22:43   0:00  \_ ./directadmin d
nobody   20828  0.0  0.0  55492  1104 ?        S    22:43   0:00  \_ ./directadmin d
nobody   20829  0.0  0.0  55492  1104 ?        S    22:43   0:00  \_ ./directadmin d
nobody   20830  0.0  0.0  55492  1104 ?        S    22:43   0:00  \_ ./directadmin d
 
ok, after testing more, it hangs after 5 page refresh (F5) of the DA panel.
At that moment, all DA process are owned by the diradmin user.

Im not even sure its the process user fault ... please correct me if im whrong. Perhaps this is normal.
But from what i see on another of my DA server, DA processes are always run under user nobody.
 
Last edited:
Hello,

do you refresh a specific page or a random in directadmin?

Did you try to change

Code:
numservers=4

to something greater in /usr/local/directadmin/conf/directadmin.conf?

Code:
numservers=8
?
 
I refreshed the homepage.
Its does do the same things when i simply "navigate" on the DA panel... or at least not as quick i mean.
Does DA put a page in cache or something ?

I could add more servers, true, i suppose that would add threads ?
But it would not change the problem that the processes change user owner right ?
 
Do you use a default skin? Or any 3rd party skin?
Do you have plugins installed?

I was not successful to replicate the issue on my side. So I have no idea what else you could check.
 
No, its the default skin and i have 2 plugins : ConfigServer Firewall & CustomBuild 2.0

I did have a fiew ddos attacks the last fiew days, but my hosting company seamed to mitigate them well.

My resolv.conf whas set to 127.0.0.1 for some odd reason... i change it back to the correct IP...

I have also scanned the server for maleware with maldet, rkhunter and another one, forgot the name : no results.
I whas thinking perhaps some sort of hack, but i cannot see anithing bad on the server, and apart from a fiew lags in FTP connexions, DA that hangs every now and then, the server seams ok.

I have been running iptraf to monitore bandwidth, but all seams very normal.
 
Back
Top