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.
 
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
 
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:
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
 
I've had the same problem when trying to restart some deamons (Exim or mysql). Looks like DA just locks up.
 
This problem happened now 3 times to me.. I can't really find what's triggering it.
 
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.
 
Hmm, would be nice if the DA team would look at this..
 
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.
 
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
 
Thanks John,

Lets hope this was the only error which caused a segmentation fault :)
 
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.
 
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
 
Back
Top