Help us understand the problem. What is going on with this article?

ELB配下のhttpdのaccess_logに408が出る件

More than 5 years have passed since last update.

ELB配下のhttpdのaccess_logに、ステータス408が約50秒おきに出ていて気になったので調べてみた。

- ELBのIP - - [03/Dec/2014:09:03:01 +0900] "-" 408 - "-" "-"
- ELBのIP - - [03/Dec/2014:09:03:04 +0900] "-" 408 - "-" "-"
- ELBのIP - - [03/Dec/2014:09:03:52 +0900] "-" 408 - "-" "-"
- ELBのIP - - [03/Dec/2014:09:03:55 +0900] "-" 408 - "-" "-"

ステータス408の詳細 -> HTTP 408: Request Timeout

対策

ELBのIdle Timeout値を60秒から30秒に変更する。

対象のELBを選択して、ConnectionSettingsのEditを選択。
EC2_Management_Console.png

Idle Timeout値を60secondsから30secondsに変更し、Save
EC2_Management_Console.png

これで、ステータス408のログが止まりました。

参考:【AWS発表】Elastic Load Balancingのコネクションタイムアウト管理
参考:EC2のhttpd access_log で ELBからの接続応答コードが408になる件の対応

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away