上限値を上げる
2008/7/3 木曜日apache2のエラーログに接続数の上限に達したとのメッセージが出力されるようになった。
[error] server reached MaxClients setting, consider raising the MaxClients setting
現在 MaxClients の値は 256 に設定しているので、これより大きな値にするには ServerLimit で明示する必要がある。
/etc/apache2.conf は、こんな感じ。
MaxClients 300
ServerLimit 300
リブート時に以下のワーニングが表示されるがノープロブレム。
Forcing reload of web server (apache2)…WARNING: MaxClients of 300 exceeds ServerLimit value of 256 servers, lowering MaxClients to 256. To increase, please see the ServerLimit directive.
waiting WARNING: MaxClients of 300 exceeds ServerLimit value of 256 servers, lowering MaxClients to 256. To increase, please see the ServerLimit directive.