【问题标题】:Update maxclients setting in apache configuration file of AWS elastic bean stalk instance更新 AWS 弹性 beanstalk 实例的 apache 配置文件中的 maxclients 设置
【发布时间】: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


    【解决方案1】:

    试试thisthisthis。我还没有实际尝试过。你可以试试看。

    【讨论】:

      猜你喜欢
      • 2019-09-16
      • 1970-01-01
      • 2014-12-09
      • 2013-04-11
      • 2016-05-10
      • 2014-12-17
      • 2014-07-05
      • 2020-08-08
      • 1970-01-01
      相关资源
      最近更新 更多