Name

MaxRequestsPerChild

Synopsis

                     MaxRequestsPerChild 
                     number
                  

[server config]

Specifies how many requests a slave process may handle for a client during its life. If set to 0, the slave process may handle an unlimited number of connections; the default is 0. For example:

MaxRequestsPerChild 1000

This allows the slave process to handle up to 1000 requests per connection before the process dies, and the client is forced to reconnect to the server.

Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.