Open7
Apache チューニング behind ALB
www.conf
listen. backlog = 5120
taskdef.json
sysctl net.core.somaxconn を1024 に
max_children を下げる
vCPU を あげる
ALB から Apache のプロトコルを Https → Http に変更する
ALBの設定とApacheの設定をこの記事を下に変更する
httpd.conf の AcceptFilter http と AcceptFilter https の両方を none にする
mod_prefork MPM mod_worker MPM
Timeout 65 65
KeepAliveTimeout 65 65
KeepAlive オン オン
MaxKeepAliveRequests 10000 0
AcceptFilter http なし なし
AcceptFilter https なし なし
ECS web コンテナの healthcheck 先変更