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

隨筆 - 87  文章 - 279  trackbacks - 0
<2014年3月>
2324252627281
2345678
9101112131415
16171819202122
23242526272829
303112345

潛心看書研究!

常用鏈接

留言簿(19)

隨筆分類(81)

文章分類(89)

相冊

ACM OJ

My friends

搜索

  •  

積分與排名

  • 積分 - 220922
  • 排名 - 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 閱讀(367) 評論(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>
            久久av一区| 久久视频免费观看| 亚洲欧美欧美一区二区三区| 亚洲国产欧美一区二区三区同亚洲| 国产精品国产成人国产三级| 久久人91精品久久久久久不卡| 欧美一区二区三区啪啪| 亚洲高清网站| 欧美激情乱人伦| 一区二区日韩免费看| 欧美一进一出视频| 在线日韩电影| 亚洲欧洲av一区二区| 欧美日韩视频不卡| 欧美日韩妖精视频| 国产欧美日韩在线观看| 精品91免费| 亚洲激情在线播放| 亚洲午夜视频在线观看| 久久国产精品99久久久久久老狼 | 亚洲福利在线观看| 韩日成人av| 亚洲国产精品激情在线观看| 在线亚洲高清视频| 久久视频在线看| 99精品国产福利在线观看免费| 亚洲欧美日韩专区| 欧美精品一区视频| 精品二区视频| 午夜精品久久久久| 亚洲国产精品久久91精品| 这里只有精品电影| 欧美aⅴ一区二区三区视频| 国产视频观看一区| 欧美在线播放一区二区| 欧美激情亚洲视频| 久久综合亚州| 精品1区2区3区4区| 一区二区三区精品| 欧美成人精精品一区二区频| 久久久蜜臀国产一区二区| 欧美日韩在线不卡一区| 在线一区视频| 久久综合中文| 欧美亚洲免费| 欧美日韩国产小视频| 久久国产精品久久久久久久久久 | 久久久国产精品一区二区三区| 亚洲精品国产视频| 黄色成人免费网站| 国产精品久久久久9999吃药| 久久亚洲视频| 亚洲综合另类| 欧美成人午夜免费视在线看片| 香蕉国产精品偷在线观看不卡 | 日韩亚洲视频| 久久综合成人精品亚洲另类欧美| 国产欧美日韩不卡| 在线亚洲一区观看| 91久久久一线二线三线品牌| 新狼窝色av性久久久久久| 欧美日韩另类一区| 亚洲私拍自拍| 在线视频亚洲一区| 欧美日韩在线视频观看| 一本色道久久88综合亚洲精品ⅰ| 亚洲毛片av在线| 欧美三级网址| 亚洲欧美一区二区原创| 夜夜嗨av一区二区三区四季av | 欧美激情一区二区在线| 亚洲影院免费| 狠狠入ady亚洲精品经典电影| 欧美亚洲日本一区| 久久精品成人一区二区三区| 日韩视频一区二区三区| 亚洲网友自拍| 亚洲视频导航| 欧美精品国产精品| 亚洲人成精品久久久久| 欧美成人精精品一区二区频| 国产日产亚洲精品| 欧美成人精品福利| 欧美三级不卡| 亚洲欧美一区在线| 亚洲免费av片| 国产精品国产三级国产专区53| 欧美日韩成人综合| 欧美精品日韩一区| 欧美日韩一级黄| 欧美日韩成人一区二区三区| 欧美亚一区二区| 欧美激情欧美激情在线五月| 久久综合狠狠综合久久综青草| 久久精品日产第一区二区三区| 欧美一区激情视频在线观看| 欧美中文字幕视频| 久久一区二区三区国产精品| 久久只有精品| 欧美日韩中文字幕| 久久亚洲精品一区| 国产精品视频免费观看| 亚洲第一区中文99精品| 国内外成人在线视频| 一区二区三区高清不卡| 亚洲国产高清一区| 欧美一级久久| 久久久水蜜桃av免费网站| 国产精品久久午夜| 一区二区三区四区五区在线| 亚洲黄色影院| 巨乳诱惑日韩免费av| 毛片av中文字幕一区二区| 在线日韩av| 欧美刺激午夜性久久久久久久| 亚洲国产成人av好男人在线观看| 亚洲成人在线视频播放| 美女在线一区二区| 亚洲成色最大综合在线| 日韩视频免费观看| 欧美激情亚洲综合一区| 亚洲裸体俱乐部裸体舞表演av| 亚洲精品一级| 欧美精品情趣视频| 久久精品国亚洲| 久久久久久久成人| 亚洲午夜极品| 99精品国产高清一区二区| 99综合在线| 国产综合色产| 欧美一区二区三区精品| 午夜老司机精品| 国精品一区二区| 免费黄网站欧美| 欧美激情精品久久久| 国产精品亚洲一区| 欧美一级网站| 欧美在线黄色| 暖暖成人免费视频| 一区二区高清视频| 欧美激情按摩| 国产婷婷一区二区| 亚洲图片你懂的| 免费在线亚洲| 久久精品日产第一区二区| 久久在线播放| 亚洲第一区色| 最新69国产成人精品视频免费| 亚洲在线视频| 欧美激情1区2区3区| 麻豆91精品91久久久的内涵| 国产精品爱久久久久久久| 欧美激情导航| 久久久噜噜噜| 欧美亚洲综合另类| 中文亚洲欧美| aa成人免费视频| 亚洲一区二区精品视频| 亚洲美女黄网| 亚洲精品一区在线观看香蕉| 亚洲第一中文字幕| 老司机精品久久| 久久久噜噜噜久久中文字免| 久久av一区二区| 久久九九精品99国产精品| 亚洲欧美成人一区二区三区| 亚洲欧美综合v| 欧美一区二区三区在线视频| 亚洲一区二区三区免费在线观看| 亚洲精品日韩欧美| 亚洲人成7777| 欧美一站二站| 男女视频一区二区| 亚洲精品裸体| 亚洲在线国产日韩欧美| 亚洲一区高清| 噜噜噜噜噜久久久久久91| 欧美一级视频| 国产精品极品美女粉嫩高清在线 | 亚洲男人av电影| 免费高清在线一区| 99视频精品免费观看| 亚洲国产成人久久| 亚洲人成人77777线观看| 亚洲精选成人| 亚洲六月丁香色婷婷综合久久| 国产精品永久免费观看| 亚洲欧美中文日韩在线| 欧美伊人影院| 亚洲天堂久久| 国产精品丝袜久久久久久app| 亚洲欧美日韩在线高清直播| 先锋影音国产一区| 国产亚洲在线观看| 亚洲第一福利社区| 欧美日韩国产色视频| 亚洲欧美日韩精品久久久久| 亚洲专区在线视频| 亚洲高清视频一区二区| 亚洲国产高清高潮精品美女|