SKoL
08-23-2001, 12:38 AM
Hey, I've got a problem and I am curious on how to fix it.
I currently run Apache 1.3.4 with mod_perl 1.16 (I know it is old, I wish I could upgrade, but this is a propritary application, httpd, mysql, perl and java)
We currently have a dual 800 P3 1 gig of sdram server. This is a VERY high volume server. The problem is this server just seems to "run" away. It will work fine, but under pressure it folds every time. I have to constantly kill/restart apache. I am a experienced linux admin, and I've never seen something like this. I do not know apache 100% , thats why I am asking for some help. Like I said, this server has 1 gig of ram, and it uses 99.9% of it. This software isn't the best written, but it shouldn't freaking take a gig of memory to run.
I've heard rumors about apache spawing too many child processes, etc. Does anyone know of a way/guide to tweak the hell out of apache? We are about to upgrade to a 4 gig machine, and I'm curious if it still doesn't fix the apache/memory problem. My httpd.conf has been tested over and over, no errors, but I'm not sure that I have the most optimal settings. Here is a snip.
<snip> (comments taken out)
UseCanonicalName on
#
Timeout 300
#
KeepAlive On
#
MaxKeepAliveRequests 300
#
KeepAliveTimeout 15
#
MinSpareServers 8
MaxSpareServers 12
#
StartServers 6
#
MaxClients 256
#
MaxRequestsPerChild 1000
</snip>
Thanks for the help, I'll be here watching to answer any more questions.
I currently run Apache 1.3.4 with mod_perl 1.16 (I know it is old, I wish I could upgrade, but this is a propritary application, httpd, mysql, perl and java)
We currently have a dual 800 P3 1 gig of sdram server. This is a VERY high volume server. The problem is this server just seems to "run" away. It will work fine, but under pressure it folds every time. I have to constantly kill/restart apache. I am a experienced linux admin, and I've never seen something like this. I do not know apache 100% , thats why I am asking for some help. Like I said, this server has 1 gig of ram, and it uses 99.9% of it. This software isn't the best written, but it shouldn't freaking take a gig of memory to run.
I've heard rumors about apache spawing too many child processes, etc. Does anyone know of a way/guide to tweak the hell out of apache? We are about to upgrade to a 4 gig machine, and I'm curious if it still doesn't fix the apache/memory problem. My httpd.conf has been tested over and over, no errors, but I'm not sure that I have the most optimal settings. Here is a snip.
<snip> (comments taken out)
UseCanonicalName on
#
Timeout 300
#
KeepAlive On
#
MaxKeepAliveRequests 300
#
KeepAliveTimeout 15
#
MinSpareServers 8
MaxSpareServers 12
#
StartServers 6
#
MaxClients 256
#
MaxRequestsPerChild 1000
</snip>
Thanks for the help, I'll be here watching to answer any more questions.