Chinaunix首页 | 论坛 | 博客
  • 博客访问: 387782
  • 博文数量: 99
  • 博客积分: 5134
  • 博客等级: 大校
  • 技术积分: 1607
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 09:31
文章分类

全部博文(99)

文章存档

2011年(48)

2010年(40)

2009年(10)

2008年(1)

分类:

2010-01-10 23:37:44

apache的serverlimit调整以后可以增加默认的MaxClients连接数,但是必须要关掉然后再开。直接restart这个参数是不生效的。


Upper limit on configurable number of processes
ServerLimit number
See usage for details
server config
MPM
,

For the MPM, this directive sets the maximum configured value for for the lifetime of the Apache process. For the MPM, this directive in combination with sets the maximum configured value for for the lifetime of the Apache process. Any attempts to change this directive during a restart will be ignored, but can be modified during a restart.

Special care must be taken when using this directive. If ServerLimit is set to a value much higher than necessary, extra, unused shared memory will be allocated. If both ServerLimit and are set to values higher than the system can handle, Apache may not start or the system may become unstable.

With the MPM, use this directive only if you need to set higher than 256 (default). Do not set the value of this directive any higher than what you might want to set to.

With use this directive only if your and settings require more than 16 server processes (default). Do not set the value of this directive any higher than the number of server processes required by what you may want for and .

Note

There is a hard limit of ServerLimit 20000 compiled into the server (for the MPM 200000). This is intended to avoid nasty effects caused by typos.


阅读(1615) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~