<< Back to man.lupaworld.com

<-
Apache > HTTP Server > 文档 > 版本2.2 > 模块
   致谢 | 译者声明 | 本篇译者:<虚位以待> | 本篇译稿完成时间:?年?月?日 | 获取最新版本

Apache MPM beos

说明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.

top

MaxRequestsPerThread 指令

说明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.