破坏许多httpd

时间:2018-07-20 19:28:40

标签: apache

我正在运行MAMP PRO 4.5和Apache 2.4.33,而Macosx Activity Monitor上却出现了问题,启动了许多HTTPD操作(如90)!

我尝试通过文件>编辑模板> Apache> httpd.conf

编辑httpd.conf

我添加以下内容:

<IfModule mpm_prefork_module>
  StartServers    5
  MinSpareServers 5
  MaxSpareServers 15
  <IfVersion >= 2.4>
    MaxRequestWorkers       30
    MaxConnectionsPerChild  5000
  </IfVersion>
  <IfVersion < 2.3 >
    MaxClients              30
    MaxRequestsPerChild     5000
  </IfVersion>
</IfModule>

我在这里(https://community.bitnami.com/t/multiple-sleeping-mysqld-and-httpd-processes-using-up-available-ram/29171/2)找到了它

但是我真的不知道我在做什么,为什么它不起作用...

你能帮我吗?

0 个答案:

没有答案