httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leslie" <les...@cdcfc.com>
Subject Re: [users@httpd] Hi I meet a Apache performance problem
Date Fri, 11 Jul 2003 05:10:18 GMT
I don't know how to set the MaxRequestPerChild value ,what's the gist???
----- Original Message ----- 
From: "Robert Andersson" <robert@profundis.nu>
To: <users@httpd.apache.org>
Sent: Friday, July 11, 2003 12:42 PM
Subject: Re: [users@httpd] Hi I meet a Apache performance problem


> Aaron Morris wrote:
> > Sounds like you need to do some tuning on your database or there could
> > be some misbehaving database code.
> 
> I doubt that mysqld is the problem. I'd worry more about those 100+ MB
> httpd processes.
> 
> To the OP:
> 
> Your performance problems are clearly because the server starts swapping.
> It's fairly clear that there is a memory leak somewhere; I don't see any
> other reason why a sleeping process would sit on 151 MB. You should try to
> find what is causing this leak. I'd suspect that it may involve PHP, or
> poorly written code.
> 
> A temporary work around, would be to set MaxRequestPerChild to a lower
> value, so the memory is recycled. See:
> http://httpd.apache.org/docs/mod/core.html#maxrequestsperchild
> 
> Your other processes are quite large as well, and you may consider trying to
> make them a bit smaller by eliminating unnecessary modules etc. There may be
> other ways to reduce memory usage, but I'm not confident enough to give
> advice, so I'll just point you here:
> http://httpd.apache.org/docs/misc/perf-tuning.html
> 
> 
> Regards,
> Robert Andersson
> 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
Mime
View raw message