さくらのVPSの設定 – httpd.conf

現在の設定は大まかにこんな感じにしてます。

Timeout			120
KeepAlive		On
MaxKeepAliveRequests	0
KeepAliveTimeout	2

preforkはこんな感じ

<IfModule mpm_prefork_module>
StartServers		5
MinSpareServers		16
MaxSpareServers		64
MaxClients		100
ServerLimit		100
MaxRequestsPerChild	5000
MaxMemFree		2048
</IfModule>

■参考
ApacheとKeep Aliveの実験
Apacheパフォーマンス・チューニングのポイント
abコマンドを使ってみよう
Apache パフォーマンス調整