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

隨筆 - 87  文章 - 279  trackbacks - 0
<2006年3月>
2627281234
567891011
12131415161718
19202122232425
2627282930311
2345678

潛心看書研究!

常用鏈接

留言簿(19)

隨筆分類(81)

文章分類(89)

相冊

ACM OJ

My friends

搜索

  •  

積分與排名

  • 積分 - 220429
  • 排名 - 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>
            国产视频在线一区二区 | 亚洲一区国产精品| 久久一二三四| 久久免费99精品久久久久久| 久久精品99国产精品酒店日本| 欧美国产亚洲精品久久久8v| 亚洲女性裸体视频| 亚洲午夜视频在线观看| 欧美高潮视频| 欧美呦呦网站| 香蕉久久国产| 亚洲天堂网在线观看| 亚洲电影免费观看高清完整版| 国产精品99免费看 | 欧美性猛交99久久久久99按摩 | 欧美α欧美αv大片| 欧美国产精品日韩| 亚洲国产毛片完整版| 欧美韩日高清| 日韩亚洲欧美一区| 亚洲欧美久久久久一区二区三区| 亚洲一本大道在线| 久久久精品国产一区二区三区| 欧美成人免费大片| 国产欧美日韩一区二区三区在线观看 | 91久久综合| 在线亚洲电影| 久久久噜噜噜久久| 欧美另类专区| 国产精品一区二区久激情瑜伽| 国产一区二区久久久| 亚洲免费高清视频| 久久se精品一区精品二区| 亚洲第一黄网| 久久免费视频网站| 国产精品久久久久9999| 精品91视频| 亚洲欧美三级在线| 亚洲人成亚洲人成在线观看图片 | 国产一区二区三区网站| 亚洲私人影吧| 欧美国产日韩xxxxx| 亚洲黄色免费电影| 午夜在线视频观看日韩17c| 欧美黄色aaaa| 国产精品久久久久av| 亚洲黄色影院| 久久久国产91| 亚洲视频电影在线| 欧美va亚洲va香蕉在线| 狠狠干狠狠久久| 亚洲中无吗在线| 99re视频这里只有精品| 欧美啪啪一区| 一本色道久久综合亚洲精品按摩 | 亚洲综合视频1区| 欧美激情在线| 亚洲精品综合| 亚洲国产合集| 欧美多人爱爱视频网站| 亚洲人精品午夜| 欧美fxxxxxx另类| 久久九九精品| 亚洲第一精品福利| 欧美成人免费在线观看| 久久精品免费看| 亚洲二区在线视频| 亚洲成人直播| 欧美日本一区二区视频在线观看| 亚洲精品国精品久久99热| 欧美jjzz| 欧美国产一区视频在线观看| 亚洲精品欧美精品| 亚洲日本电影| 欧美日韩一区三区四区| 中国av一区| 亚洲视频高清| 国内精品久久久久影院 日本资源| 欧美一站二站| 久久久噜噜噜久久中文字免| 最新日韩欧美| 亚洲精品社区| 国产欧美一区二区精品性色| 另类春色校园亚洲| 欧美好吊妞视频| 亚洲男女自偷自拍| 欧美影院在线播放| 亚洲精品日日夜夜| 亚洲一区二区三区精品在线| 激情欧美亚洲| 日韩亚洲欧美一区二区三区| 国产目拍亚洲精品99久久精品| 久久精品国产一区二区三区 | 欧美色精品在线视频| 性色av一区二区三区| 久久久久成人精品| 日韩亚洲欧美高清| 欧美亚洲一区二区在线| 午夜精品久久久| 嫩草成人www欧美| 亚洲一二三级电影| 久久九九久精品国产免费直播| 99精品视频免费全部在线| 亚洲性视频h| 亚洲精品综合精品自拍| 欧美在线高清视频| 亚洲一区久久久| 美女久久网站| 久久精品亚洲乱码伦伦中文 | 国产精品久久久亚洲一区| 久久综合久久久| 国产精品福利在线| 欧美激情亚洲| 黄色日韩网站| 亚洲欧美清纯在线制服| 日韩一级在线| 男人插女人欧美| 久久中文在线| 国产亚洲成av人片在线观看桃| 99热在线精品观看| 亚洲免费av片| 嫩草国产精品入口| 欧美国产激情| 亚洲电影免费观看高清完整版在线观看 | 久久女同精品一区二区| 午夜精品99久久免费| 欧美日本一区| 亚洲乱码日产精品bd| 亚洲精品久久久久中文字幕欢迎你 | 亚洲精品一区二区三区婷婷月 | 欧美国产日韩一区二区三区| 国产一区欧美| 欧美亚洲在线播放| 久久成人这里只有精品| 国产精品丝袜白浆摸在线| 一本大道av伊人久久综合| 99精品视频一区二区三区| 欧美大片国产精品| 亚洲激情av在线| 日韩午夜在线播放| 欧美精品亚洲精品| 99精品国产热久久91蜜凸| 亚洲视频在线二区| 国产精品久久久久7777婷婷| 亚洲视频axxx| 久久久精品一品道一区| 国产主播一区二区| 久久露脸国产精品| 欧美成人国产一区二区| 亚洲激情综合| 欧美美女bb生活片| 亚洲无限av看| 国产精品久久久久久户外露出| 午夜精品成人在线| 国产精品最新自拍| 久久九九精品99国产精品| 欧美福利视频网站| 一本久道综合久久精品| 国产精品成人观看视频免费 | 亚洲私人影院在线观看| 国产精品日韩一区二区| 欧美在线不卡视频| 欧美国产亚洲视频| 一区二区三区四区五区精品| 国产精品高清网站| 欧美一区午夜视频在线观看| 免费成人黄色| 一区二区三区四区五区精品| 国产欧美日韩在线视频| 久久夜色精品亚洲噜噜国产mv| 亚洲黄页视频免费观看| 欧美在线网站| 亚洲裸体视频| 国产精品资源| 免费一级欧美片在线播放| 一区二区三区四区精品| 老色批av在线精品| 亚洲一区在线直播| 国产午夜精品全部视频播放| 欧美成人自拍| 欧美伊人久久大香线蕉综合69| 欧美激情无毛| 久久天天狠狠| 亚洲综合色婷婷| 亚洲精品资源| 亚洲国产精品国自产拍av秋霞| 国产精品久久久久久影院8一贰佰| 久久久午夜电影| 亚洲欧美在线x视频| 亚洲精品永久免费| 亚洲丰满在线| 老司机午夜精品视频在线观看| 亚洲一区二区精品在线观看| 亚洲国产天堂久久国产91| 国产日韩欧美另类| 国产精品久久久久9999| 欧美三级电影一区| 欧美精品网站| 欧美激情中文字幕一区二区| 久久国产精品久久久久久|