Webmaster in a Nutshell, Third Edition

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition

By Robert Eckstein, Stephen Spainhour

Table of Contents
Chapter 18.  Apache Configuration

MaxRequestsPerChild

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.


Team-Fly    
Top

Категории