はじめに
Apacheの同時接続数上限を変更する方法。
設定を確認しよう
$ less /etc/httpd/conf/httpd.conf
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
ServerLimit 256 ★
MaxClients 256 ★
MaxRequestsPerChild 10000
</IfModule>
ServerLimitとMaxClientsの値を大きくする
同時接続数上限を上げるには、ServerLimitとMaxClientsの値を大きくします。
設定反映
httpdサービスを再起動して設定を反映します。