【发布时间】:2019-09-28 04:14:22
【问题描述】:
我正在尝试调整我的 AWS apache 服务器。我看过了:
$: httpd/conf/httpd.conf
我找不到要编辑的部分:
<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 25
ServerLimit 128
MaxClients 128
MaxRequestsPerChild 0
</IfModule>
上面的设置如果不在哪里可以找到:httpd/conf/httpd.conf
【问题讨论】:
-
这是什么操作系统?我推荐
cding 到httpd目录并输入:grep -r StartServers *来查找文件。 -
我正在使用运行 wordpress 的 AWS LAMP 堆栈。 Apache 正在使用 prefork 模块。当我访问文件 httpd/conf/httpd.conf 时,除了上面提到的
设置之外,所有内容都在文件中。根本没有那种类型的设置。我可以添加它们吗?还是它们会在其他地方的不同文件中?
标签: apache performance amazon-ec2