©
本文档使用 PHP中文网手册 发布
说明 | This Multi-Processing Module is optimized for BeOS. |
---|---|
状态 | MPM |
模块名 | mpm_beos_module |
源文件 | beos.c |
This Multi-Processing Module (MPM) is the default for BeOS. It uses a single control process which creates threads to handle requests.
说明 | Limit on the number of requests that an individual thread will handle during its life |
---|---|
语法 | MaxRequestsPerThread number |
默认值 | MaxRequestsPerThread 0 |
作用域 | server config |
状态 | MPM |
模块 | beos |
MaxRequestsPerThread
directive sets
the limit on the number of requests that an individual server thread
will handle. After MaxRequestsPerThread
requests, the thread will die. If MaxRequestsPerThread
is 0
, then the thread
will never expire.
Setting MaxRequestsPerThread
to a
non-zero limit has two beneficial effects:
For KeepAlive
requests, only
the first request is counted towards this limit. In effect, it
changes the behavior to limit the number of connections
per thread.