• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • MaxConnectionsPerChild 指令

    描述:限制单个子级服务器在其生存期内要处理的连接数
    句法:MaxConnectionsPerChild number
    默认:MaxConnectionsPerChild 0
    内容:服务器配置
    状态:MPM
    模组:eventworkerpreforkmpm_winntmpm_netwarempmt_os2
    兼容性:可用的Apache HTTP Server 2.3.9和更高版本。MaxRequestsPerChild仍然支持旧名称。

    MaxConnectionsPerChild指令设置单个子服务器进程将处理的连接数限制。后MaxConnectionsPerChild连接,子进程就会死亡。如果MaxConnectionsPerChild0,则该过程将永不过期。

    设置MaxConnectionsPerChild为非零值将限制进程因(偶然)内存泄漏而消耗的内存量。