apache 的 MaxRequestsPerChild 与 keepalive的关系
来源:互联网 发布:马里飞刀女兵数据 编辑:程序博客网 时间:2024/06/06 05:12
apache 的 MaxRequestsPerChild 与 keepalive的关系
MaxRequestsPerChild 表示一个httpd进程最多服务多少个请求,然后自动退出
keepalive 表示连接可以复用
这两个参数看似没有什么关系,可是最近一个偶然的事情却把这两个参数扯到了一起。
这里面的微妙关系就是:MaxRequestsPerChild 在统计服务了多少个请求的时候,把开一次链接作为一个请求。
这意味什么呢?是考虑,如果你的请求都频繁的、不间断的来自一个客户端,这样的话,连接将会被一直被复用,
然后处理过的请求个数将永远不会超过MaxRequestsPerChild,但是可能每次的请求都会带来一定的内存增长,时间长了内存也就永远不会被释放。
所以,如果想 MaxRequestsPerChild 起到回收资源的作用,那么请把keepalive设置成off。
0 0
- apache 的 MaxRequestsPerChild 与 keepalive的关系
- apache的性能调配 MaxClients 与MaxRequestsPerChild
- apache的性能调优 MaxClients 与MaxRequestsPerChild
- apache中 MaxClients 与MaxRequestsPerChild
- Apache的KeepAlive设置与优化
- Apache的KeepAlive设置与优化
- Apache的KeepAlive 配置
- apache的keepalive调式说明
- apache的keepalive和keepalivetimeout
- Apache的KeepAlive设置与优化 - 老黄纸条箱
- (转)Apache的KeepAlive设置与优化
- Apache中MaxRequestsPerChild是什么?
- Apache 中 KeepAlive 配置的合理使用
- Apache 中 KeepAlive 配置的合理使用
- Apache中KeepAlive的合理使用
- Apache 中 KeepAlive 配置的合理使用
- Apache 中 KeepAlive 配置的合理使用
- Apache 中 KeepAlive 配置的合理使用
- Intellij IDEA 内存设置修改
- 电能可以有效的存储,如果数据流量也可存储,是否让大家的移动更有欢乐!
- Svn
- maven 配置
- 第一范式,第二范式,第三范式
- apache 的 MaxRequestsPerChild 与 keepalive的关系
- find 和 grep 的结合使用
- angularjs代码refine,还是老一套
- Operator overloading
- MAC下切换到zsh,打造有git提示的美化shell
- 小女生的Linux技术~~~Linux常识~~
- 百度地图API调用实例
- http协议漫谈
- c++继承经典例子