Archive for

上限値を上げる

2008/7/3 木曜日 投稿時の月齢:0.4  月名:新月  潮汐:大潮 

Number of httpdapache2のエラーログに接続数の上限に達したとのメッセージが出力されるようになった。
 
 
[error] server reached MaxClients setting, consider raising the MaxClients setting
 
sever status現在 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.