Apache 2.0手册中文版翻译项目

项目说明 | 项目进度 | 项目讨论区 | Apache手册中文版

 


mpm_netware - Apache HTTP服务器
<-
Apache主站 > HTTP服务器 > 文档 > 2.0版本 > 模块索引

Apache MPM netware

说明:Multi-Processing Module implementing an exclusively threaded web server optimized for Novell NetWare
状态:MPM
模块名:mpm_netware_module
源文件:mpm_netware.c

概要

This Multi-Processing Module (MPM) implements an exclusively threaded web server that has been optimized for Novell NetWare.

The main thread is responsible for launching child worker threads which listen for connections and serve them when they arrive. Apache always tries to maintain several spare or idle worker threads, which stand ready to serve incoming requests. In this way, clients do not need to wait for a new child threads to be spawned before their requests can be served.

The StartThreads, MinSpareThreads, MaxSpareThreads, and MaxThreads regulate how the main thread creates worker threads to serve requests. In general, Apache 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.

MaxRequestsPerChild 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.

指令索引

参见

top

MaxThreads 指令

说明:Set the maximum number of worker threads
语法: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

top

ThreadStackSize 指令

说明:Determine the stack size for each thread
语法:ThreadStackSize number
默认值:ThreadStackSize 65536
上下文:服务器配置
状态:MPM
模块:mpm_netware

This directive tells the server what stack size to use for each of the running threads. If you ever get a stack overflow you will need to bump this number to a higher setting.

 


项目维护者: kajaa

项目说明 | 项目进度 | 项目讨论区 | Apache手册中文版