Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: meelis on November 06, 2009, 07:58:18 AM

Title: CPU 100% and memory almost 100%
Post by: meelis on November 06, 2009, 07:58:18 AM
If i restart the httpd then 2-3 houers system works fine.
Htop shows
runsv httpd-e-smith
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
todo this but whats wrong in there?
http://www.valgamaa.kok.ee/httpd.png (http://www.valgamaa.kok.ee/httpd.png)
Title: Re: CPU 100% and memory almost 100%
Post by: arne on November 06, 2009, 10:53:03 AM
I think I would have gone into the log to see if there is something special that is trigging this activity. (I would gues that that there might be some unvanted traffic (??))
Title: Re: CPU 100% and memory almost 100%
Post by: meelis on November 06, 2009, 11:10:18 AM
Only that in the httpd error log: DBD::mysql::st execute failed: Can't find file: 'hardware' (errno: 2) at /usr/lib/perl5/site_perl/5.8.5/Apache/Ocsinventory.pm line 236.
and admin error log:[Fri Nov 06 12:09:11 2009] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages et-ee, referer: https://www.
Title: Re: CPU 100% and memory almost 100%
Post by: CharlieBrady on November 06, 2009, 03:26:33 PM
Only that in the httpd error log: DBD::mysql::st execute failed: Can't find file: 'hardware' (errno: 2) at /usr/lib/perl5/site_perl/5.8.5/Apache/Ocsinventory.pm line 236.
and admin error log:[Fri Nov 06 12:09:11 2009] [error] [client 127.0.0.1] get_languages: Browser asked for missing languages et-ee, referer: https://www.

Clearly you have software installed which is not on the SME server installation CD (and therefore your post is off-topic for this forum).

There is a bug in your Ocsinventory addon software. Either fix it or remove it.

Title: Re: CPU 100% and memory almost 100%
Post by: arne on November 06, 2009, 04:15:37 PM
Yes, CharlieBrady is right. I thought it might be some irregular traffic from the outside, but actually it is some irregular traffic from an "inside application. I googled a little and found this link: http://www.ocsinventory-ng.org/ I guess it is this... the troublemaker (??). Or possibly a more correct way to say it: The problem propably exist, due to a incorrect or incompatible installation, of this software.
Title: Re: CPU 100% and memory almost 100%
Post by: byte on November 07, 2009, 07:02:12 PM
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!