©
This document usesPHP Chinese website manualRelease
| 说明 | 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 |
|---|---|
| 语法 | MaxRequestsPerThreadnumber |
| 默认值 | MaxRequestsPerThread 0 |
| 作用域 | server config |
| 状态 | MPM |
| 模块 | beos |
MaxRequestsPerThreaddirective sets the limit on the number of requests that an individual server thread will handle. AfterMaxRequestsPerThreadrequests, the thread will die. IfMaxRequestsPerThreadis0, then the thread will never expire.
SettingMaxRequestsPerThreadto a non-zero limit has two beneficial effects:
ForKeepAliverequests, only the first request is counted towards this limit. In effect, it changes the behavior to limit the number ofconnectionsper thread.