青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆 - 87  文章 - 279  trackbacks - 0
<2016年1月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

潛心看書研究!

常用鏈接

留言簿(19)

隨筆分類(81)

文章分類(89)

相冊

ACM OJ

My friends

搜索

  •  

積分與排名

  • 積分 - 220436
  • 排名 - 118

最新評論

閱讀排行榜

評論排行榜

Apache MPM prefork

Available Languages:  de  |  en  |  ja 

Description: Implements a non-threaded, pre-forking web server
Status: MPM
Module?Identifier: mpm_prefork_module
Source?File: prefork.c

Summary

This Multi-Processing Module (MPM) implements a non-threaded, pre-forking web server that handles requests in a manner similar to Apache 1.3. It is appropriate for sites that need to avoid threading for compatibility with non-thread-safe libraries. It is also the best MPM for isolating each request, so that a problem with a single request will not affect any other.

This MPM is very self-regulating, so it is rarely necessary to adjust its configuration directives. Most important is that MaxClients be big enough to handle as many simultaneous requests as you expect to receive, but small enough to assure that there is enough physical RAM for all processes.

top

How it Works

A single control process is responsible for launching child processes which listen for connections and serve them when they arrive. Apache always tries to maintain several spare or idle server processes, which stand ready to serve incoming requests. In this way, clients do not need to wait for a new child processes to be forked before their requests can be served.

The StartServers, MinSpareServers, MaxSpareServers, and MaxClients regulate how the parent process creates children 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 which need to serve more than 256 simultaneous requests may need to increase MaxClients, while sites with limited memory may need to decrease MaxClients to keep the server from thrashing (swapping memory to disk and back). More information about tuning process creation is provided in the performance hints documentation.

While the parent process is usually started as root under Unix in order to bind to port 80, the child processes are launched by Apache as a less-privileged user. The User and Group directives are used to set the privileges of the Apache child processes. The child processes must be able to read all the content that will be served, but should have as few privileges beyond that as possible.

MaxRequestsPerChild controls how frequently the server recycles processes by killing old ones and launching new ones.

top

MaxSpareServers Directive

Description: Maximum number of idle child server processes
Syntax: MaxSpareServers number
Default: MaxSpareServers 10
Context: server config
Status: MPM
Module: prefork

The MaxSpareServers directive sets the desired maximum number of idle child server processes. An idle process is one which is not handling a request. If there are more than MaxSpareServers idle, then the parent process will kill off the excess processes.

Tuning of this parameter should only be necessary on very busy sites. Setting this parameter to a large number is almost always a bad idea. If you are trying to set the value lower than MinSpareServers, Apache will automatically adjust it to MinSpareServers + 1.

See also

top

MinSpareServers Directive

Description: Minimum number of idle child server processes
Syntax: MinSpareServers number
Default: MinSpareServers 5
Context: server config
Status: MPM
Module: prefork

The MinSpareServers directive sets the desired minimum number of idle child server processes. An idle process is one which is not handling a request. If there are fewer than MinSpareServers idle, then the parent process creates new children at a maximum rate of 1 per second.

Tuning of this parameter should only be necessary on very busy sites. Setting this parameter to a large number is almost always a bad idea.

See also

posted on 2008-09-02 11:27 閱讀(366) 評論(0)  編輯 收藏 引用 所屬分類: apache
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲电影一级黄| 亚洲精品在线免费| 久久激情视频| 久久www成人_看片免费不卡| 国产欧美一区二区精品秋霞影院| 亚洲自拍偷拍麻豆| 久久亚洲精品伦理| 国产日韩在线一区| 夜夜爽www精品| 欧美激情按摩| 另类成人小视频在线| 久久久久久网| 亚洲欧美另类在线观看| 欧美电影免费观看大全| 久久蜜臀精品av| 久久成人在线| 久久久久久久久伊人| 韩国一区电影| 国产日韩欧美一区在线| 午夜国产精品影院在线观看| 国产精品一区一区| 欧美激情四色| 欧美在线一级视频| 亚洲欧美日韩国产精品| 欧美多人爱爱视频网站| 久久蜜臀精品av| 亚洲福利小视频| 亚洲美女av网站| 欧美国产精品劲爆| 麻豆精品国产91久久久久久| 亚洲五月六月| 欧美日本韩国| 欧美成人一区二区三区片免费| 欧美在线观看天堂一区二区三区| aaa亚洲精品一二三区| 欧美+亚洲+精品+三区| 国产精品久久久久久av下载红粉| 久久夜色撩人精品| 六十路精品视频| 欧美精品在线免费观看| 久久亚洲美女| 欧美国产日韩精品免费观看| 欧美成人蜜桃| 美日韩在线观看| 欧美精彩视频一区二区三区| 国产精品久久久久久久一区探花| 另类酷文…触手系列精品集v1小说| 午夜伦欧美伦电影理论片| 99国产精品久久久久老师| 一区二区三区久久精品| 一区二区三区日韩精品| 亚洲精品一区二区三区99| 中文网丁香综合网| 久久激情中文| 日韩性生活视频| 久久精品三级| 国产亚洲综合精品| 欧美一区二区三区啪啪| 久久久久久精| 欧美日本一区二区三区| 激情综合电影网| 亚洲一级一区| 欧美日韩一级大片网址| 日韩视频一区二区在线观看| 欧美肥婆bbw| 欧美三日本三级三级在线播放| 亚洲国产精品成人| 男人天堂欧美日韩| 国产精品一区在线观看| 久久不射中文字幕| 久久视频精品在线| 亚洲国产高清自拍| 亚洲一区免费| 亚洲三级电影在线观看 | 国产手机视频精品| 久久综合99re88久久爱| 一区二区三区日韩| 欧美日韩一区二区三区在线 | 久久在线免费观看| 欧美一区二区三区四区高清| 国内自拍视频一区二区三区| 一本色道久久综合狠狠躁篇的优点 | 一区二区三区精品视频| 免费国产一区二区| 久色成人在线| 亚洲综合激情| 欧美色精品在线视频| 香蕉成人久久| 国产精品久久久久久久久久ktv| 欧美国产激情二区三区| 国产精品日韩欧美一区二区| 欧美成年人视频网站| 国产综合婷婷| 亚洲视频在线一区观看| 亚洲——在线| 国产欧美欧美| 久久精品成人欧美大片古装| 亚洲午夜免费福利视频| 国产情人节一区| 欧美国产视频在线| 免费观看成人| 欧美国产日韩精品| 欧美国产一区二区| 久久av资源网站| 欧美日韩国产123区| 亚洲线精品一区二区三区八戒| 一区二区三区免费看| 国产精品进线69影院| 尤物精品在线| 欧美男人的天堂| 久久综合久久久| 亚洲香蕉成视频在线观看| 夜夜夜精品看看| 国产在线成人| 欧美另类一区二区三区| 久久黄色小说| 亚洲女爱视频在线| 欧美黄色小视频| 亚洲欧美日韩在线| 91久久极品少妇xxxxⅹ软件| 国产精品女人网站| 欧美成人免费va影院高清| av不卡在线| 亚洲欧洲在线看| 午夜在线电影亚洲一区| 在线免费不卡视频| 国产日本欧美一区二区三区在线| 久久综合99re88久久爱| 久久er99精品| 欧美一区高清| av成人免费在线| 亚洲第一色在线| 久久久精品国产一区二区三区| 亚洲精品美女久久7777777| 国产精品一区二区久久| 国产亚洲精品久久久久久| 欧美色图五月天| 欧美网站在线| 免费视频亚洲| 一区在线影院| 欧美在线在线| 亚洲高清电影| 欧美在线地址| 欧美日韩四区| 国产亚洲一区在线| 国产亚洲一本大道中文在线| 国产日韩欧美二区| 日韩亚洲成人av在线| 欧美激情一区二区三区在线视频| 久久国产天堂福利天堂| 欧美黑人国产人伦爽爽爽| 亚洲欧美另类在线观看| 久久精品一区| 国产精品免费看片| 在线观看视频欧美| 久久精品国产91精品亚洲| 久热精品在线| 夜夜嗨av一区二区三区四区| 午夜精品久久久久久久99水蜜桃| 欧美一区二区三区四区视频 | 欧美在线观看一二区| 亚洲网站在线播放| 欧美一区二区私人影院日本| 久久一区国产| 一本色道久久综合亚洲二区三区 | 久久av资源网| 99re66热这里只有精品3直播 | 久久婷婷国产综合尤物精品| 免费在线国产精品| 激情视频亚洲| 欧美在线999| 欧美一级在线视频| 欧美国产亚洲精品久久久8v| 欧美日韩一区二区在线观看 | 亚洲香蕉伊综合在人在线视看| 久久久国产精品亚洲一区| 亚洲一区二区三区中文字幕在线| 亚洲精品视频在线观看网站| 亚洲国产成人精品久久久国产成人一区| 久久噜噜亚洲综合| 欧美在线不卡视频| 亚洲欧美日韩国产成人| 欧美理论大片| 久久综合99re88久久爱| 欧美成人免费小视频| 亚洲天堂av在线免费| 欧美夜福利tv在线| 宅男在线国产精品| 欧美高清视频在线观看| 亚洲欧美激情四射在线日 | 国产欧美一区二区精品性色| 亚洲精品免费在线播放| 午夜精品影院| 在线精品观看| 亚洲亚洲精品在线观看| 尤物精品在线| 日韩亚洲欧美成人| 国产九色精品成人porny| 亚洲成人在线视频播放| 国产精品视频第一区|