Hello,
I've FreeBSD 4.10-STABLE, Apache 1.3.31 comes from DirectAdmin install. There is PHP 4.3.8. All works OK, but apache is using CPU very stressfull.
It's not overloaded webserver, but apache eats a lots of CPU about 30 minutes after httpd restart. I must reset apache frequently. This is Dual Xeon 2.4. There shouldn't be any bugging scripts/websites, the problem wasn't exist on past server. I tried to look at server-status (with ExtendetdStatus on), but there is nothing interesting - cpu time is taken by random requests (like downloading small jpg).
Apache settings are very tiny:
KeepAlive Off
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 100
MaxRequestsPerChild 1000
I've this many times in apache error logs:
httpd in malloc(): warning: recursive call
FATAL: emalloc(): Unable to allocate 129 bytes
Memory leaks or what?
Has anyone seen similar problems with Apache and know how to resolve it?
Thank you
I've FreeBSD 4.10-STABLE, Apache 1.3.31 comes from DirectAdmin install. There is PHP 4.3.8. All works OK, but apache is using CPU very stressfull.
It's not overloaded webserver, but apache eats a lots of CPU about 30 minutes after httpd restart. I must reset apache frequently. This is Dual Xeon 2.4. There shouldn't be any bugging scripts/websites, the problem wasn't exist on past server. I tried to look at server-status (with ExtendetdStatus on), but there is nothing interesting - cpu time is taken by random requests (like downloading small jpg).
Apache settings are very tiny:
KeepAlive Off
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 100
MaxRequestsPerChild 1000
I've this many times in apache error logs:
httpd in malloc(): warning: recursive call
FATAL: emalloc(): Unable to allocate 129 bytes
Memory leaks or what?
Has anyone seen similar problems with Apache and know how to resolve it?
Thank you