💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# Apache MPM netware | [说明](#calibre_link-11) | Multi-Processing Module implementing an exclusively threaded web server optimized for Novell NetWare | | --- | --- | | [状态](#calibre_link-12) | MPM | | [模块名](#calibre_link-13) | mpm_netware_module | | [源文件](#calibre_link-14) | 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 <dfn class="calibre27">spare</dfn> 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. `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](#calibre_link-262) 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. ## MaxThreads 指令 | [说明](#calibre_link-18) | Set the maximum number of worker threads | | --- | --- | | [语法](#calibre_link-19) | `MaxThreads number` | | [默认值](#calibre_link-24) | `MaxThreads 2048` | | [作用域](#calibre_link-20) | server config | | [状态](#calibre_link-21) | MPM | | [模块](#calibre_link-22) | mpm_netware | `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 ```