FreeBSD server CPU usage at 96.63%

TheOrbit

Verified User
Joined
Feb 19, 2004
Messages
19
Hello, DA has been running great. Lately on one of my servers DA all of a sudden starts to gobble up the CPU usage without any reason. I'm running FreeBSD 5.2.1 with a P4 2.8 Ghz with a 800 Mhz FSB. The process amount would go up to 96.63% or even a little more. The computer would totally lag.
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
Run the "top" command, and try to figure out why the programs at the top of the list are using so much in the way of resources.

Perhaps you've got some runaway processes.

Jeff
 

TheOrbit

Verified User
Joined
Feb 19, 2004
Messages
19
Just had it happen again. Every time the processes are DirectAdmin. Could it be due to faulty hardware? Now I just rebooted the machine after it happend and am still getting this horrible problem.
 
Last edited:

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
You should only have one DA process running most of the time.

Can you post the output of your top command?

Maybe we'll see something then.

Jeff
 

interfasys

Verified User
Joined
Oct 31, 2003
Messages
2,099
Location
Switzerland
I've had the same problem when trying to restart some deamons (Exim or mysql). Looks like DA just locks up.
 

wdv

Verified User
Joined
Oct 22, 2003
Messages
163
This problem happened now 3 times to me.. I can't really find what's triggering it.
 

TheOrbit

Verified User
Joined
Feb 19, 2004
Messages
19
If you are using the new enhanced skin then this problem will occur. I changed my skin back to the power_user and have not noticed this problem for a couple of days now.
 

wdv

Verified User
Joined
Oct 22, 2003
Messages
163
Hmm, would be nice if the DA team would look at this..
 

wdv

Verified User
Joined
Oct 22, 2003
Messages
163
2004:09:09-17:42:29: *** Segmentation fault *** Send::loadLangFile(./data/skins/enhanced/user/menu_user.html) : User: (null) : xxx.xxx.xxx.xxx : (null) : (nu
ll) : (null)

Looks like ./data/skins/enhanced/user/menu_user.html is causing it.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,989
Hello,

Thanks for the posts. I've update the skins on our server so you can download them now, or wait for the next release.

http://www.directadmin.com/enhanced.tar.gz

It was because the the template.html for timeouts was calling a php function for a timeout, but the user had not yet been passed to da, so it caused a segfault which in turn called the template.html again.. thus the loop. The code has also been fixed, out for the next release.

John
 

wdv

Verified User
Joined
Oct 22, 2003
Messages
163
Thanks John,

Lets hope this was the only error which caused a segmentation fault :)
 

TheOrbit

Verified User
Joined
Feb 19, 2004
Messages
19
Is there a release schedule when we can expect this? I was never quite sure where to read the latest news and updates about releases.
 

jmstacey

Verified User
Joined
Feb 12, 2004
Messages
4,107
Location
Colorado
TheOrbit said:
Is there a release schedule when we can expect this? I was never quite sure where to read the latest news and updates about releases.
You can find a release schedule here: http://www.directadmin.com/versions.php?action=allversions

DirectAdmin Support also posted a link so you could update the fixed skin now instead of waiting for it to be released

Originally posted by DirectAdmin Support Thanks for the posts. I've update the skins on our server so you can download them now, or wait for the next release.

http://www.directadmin.com/enhanced.tar.gz
 
Top