PDA

View Full Version : FreeBSD server CPU usage at 96.63%



TheOrbit
08-26-2004, 10:18 PM
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
08-27-2004, 08:59 AM
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
08-27-2004, 09:15 AM
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.

nobaloney
08-27-2004, 10:31 AM
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

TheOrbit
08-27-2004, 12:22 PM
http://www.theorbit.net/images/daerror.jpg
http://www.theorbit.net/images/daerror2.jpg

interfasys
08-27-2004, 06:44 PM
I've had the same problem when trying to restart some deamons (Exim or mysql). Looks like DA just locks up.

nobaloney
08-28-2004, 10:38 AM
Originally posted by TheOrbit
http://www.theorbit.net/images/daerror.jpg
http://www.theorbit.net/images/daerror2.jpg
The first one looks normal. The second one definitely not.

Have you asked DA Support to look at it? It appears to be a problem with DA processes not exiting.

Jeff

wdv
09-07-2004, 01:22 PM
This problem happened now 3 times to me.. I can't really find what's triggering it.

TheOrbit
09-07-2004, 09:37 PM
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
09-08-2004, 06:33 AM
Hmm, would be nice if the DA team would look at this..

wdv
09-09-2004, 10:01 AM
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
09-09-2004, 10:14 AM
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
09-09-2004, 11:03 AM
Thanks John,

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

TheOrbit
09-09-2004, 04:57 PM
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
09-09-2004, 07:08 PM
Originally posted by TheOrbit
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