logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Process exiting because it reached MaxRequestsPerChild
Author
zantoro



Joined: 05 Feb 2009
Posts: 9

PostPosted: Wed 15 Jul '09 13:24    Post subject: Process exiting because it reached MaxRequestsPerChild Reply with quote

Hello,
we have set the MaxRequestsPerChild to 250 on our server to prevent server overload.
What are the downsides of this setting?
What happens to the website availability when the child is flushed as the MaxRequestsPerChild limit is reached (see the title)?

Thanks,
Roberto.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6859
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Jul '09 17:43    Post subject: Reply with quote

MaxRequestsPerChild shall prevent of memory leaks and shall kill unused child process when the traffic goes back.
Since windows has only one child apache will restart after reaching that limit. For windows it is recommend to leave that value to 0 so it runs unlimited.

See http://httpd.apache.org/docs/2.2/en/mod/mpm_common.html#maxrequestsperchild


Memory leaks under windows are only with third party module like PHP extension. But than it is recommend to separate PHP from apache with fcgid. (only if apache crashes)
Back to top


Reply to topic   Topic: Process exiting because it reached MaxRequestsPerChild View previous topic :: View next topic
Post new topic   Forum Index -> Apache