<-
Apache > HTTP 服务器 > 文档 > 版本 2.4 > 模块

Apache MPM netware

可用语言:  en  |  fr 

描述多处理模块,实现了一个专门为 Novell NetWare 优化的纯线程 Web 服务器
状态MPM
模块标识符mpm_netware_module
源文件mpm_netware.c

摘要

此多处理模块 (MPM) 实现了一个专门为 Novell NetWare 优化的纯线程 Web 服务器。

主线程负责启动子工作线程,这些线程监听连接并在连接到达时提供服务。Apache HTTP 服务器始终尝试维护多个 备用 或空闲的工作线程,这些线程随时准备为传入请求提供服务。这样,客户端就不需要等待新的子线程生成才能为其请求提供服务。

The StartThreads, MinSpareThreads, MaxSpareThreads, and MaxThreads regulate how the main thread creates worker threads to serve requests. In general, Apache httpd is very self-regulating, so most sites do not need to adjust these directives from their default values. Sites with limited memory may need to decrease MaxThreads to keep the server from thrashing (spawning and terminating idle threads). More information about tuning process creation is provided in the performance hints documentation.

MaxConnectionsPerChild controls how frequently the server recycles processes by killing old ones and launching new ones. On the NetWare OS it is highly recommended that this directive remain set to 0. This allows worker threads to continue servicing requests indefinitely.

Support Apache!

指令

Bugfix 检查清单

另请参阅

top

MaxThreads 指令

描述设置允许的最大工作线程数
语法MaxThreads number
默认值MaxThreads 2048
上下文服务器配置
状态MPM
模块mpm_netware

The MaxThreads directive sets the desired maximum number worker threads allowable. The default value is also the compiled in hard limit. Therefore it can only be lowered, for example

MaxThreads 512

可用语言:  en  |  fr 

top

评论

注意
这不是问答部分。此处发布的评论应针对改进文档或服务器的建议,如果这些建议已实施或被认为无效/主题不符,则我们的版主可能会将其删除。有关如何管理 Apache HTTP 服务器的问题应直接发送到我们的 IRC 频道 #httpd(在 Libera.chat 上)或发送到我们的 邮件列表