"Complete Usage Statistics" not working

charliez

Verified User
Joined
Sep 29, 2004
Messages
83
Woke up this morning and found that the page "Complete Usage Statistics" is no longer available. (The http://IP:2222/CMD_ADMIN_STATS page)

DirectAdmin just returns a "Your connection has timed out. The program hasn't completed your request, contact server admin"-page. It has persisted so for a few hours.

Do we know what may cause this?

Cheers,
C.
 
Restared server. All is fine. Suggestions to avoid the problem in the future, will be appreciated.
 
Nah, after a while it's at it again.

What processes does this page call, and which of those is most likely to cause a time out? Any ideas what we can do to fix this?

C.
 
Hello,

FreeBSD:

/usr/bin/netstat -f inet -b -I ethdev


Redhat:

/sbin/ifconfig ethdev


I have seen some cases where the netstat command takes a very long time to return.

John
 
DirectAdmin Support said:
Hello,

FreeBSD:

/usr/bin/netstat -f inet -b -I ethdev


Redhat:

/sbin/ifconfig ethdev


I have seen some cases where the netstat command takes a very long time to return.

John

In case others are experiencing same problem, it turned out that our DNS setting were wrong (our ISP changed the DNS and forgot to mention it for their clients). When this was fixed, the Complete Usage Stat came back. I don't know if there was any connection, or just a coincidence.

Thanks to all!

Claes.
 
Originally posted by DirectAdmin Support I have seen some cases where the netstat command takes a very long time to return.
The reason this is happening is very simple I believe. For each assigned IP address, netstat tries to find the PTR record (Reverse DNS) which takes long if there are many IPs and/or if there is a DNS issue or problem with PTR records of the IPs.

DirectAdmin could use -n flag when using netstat, that would prevent this from happening. Any ideas how can we make DirectAdmin to use -n flag in netstat or if you can release a patch for this issue?

Example: /usr/bin/netstat -f inet -b -n -I fxp0
 
Last edited:
Back
Top