【发布时间】:2016-08-31 14:18:49
【问题描述】:
我已经用这个更新了弹性 beanstalk 实例的 /etc/httpd/conf/httpd.conf 文件。
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 1000
MaxClients 1000
MaxRequestsPerChild 4000
</IfModule>
之后,我使用
重新启动了我的 httpd 服务sudo service httpd restart
现在如果我有 300 个客户端同时运行,那么 apache 仍然会抛出这个错误。
[error] server reached MaxClients setting, consider raising the MaxClients setting.
我应该怎么做才能有效地更新 maxclients 设置?
【问题讨论】:
标签: apache amazon-web-services amazon-elastic-beanstalk