LoginSignup
2

More than 5 years have passed since last update.

NGINX + php-fpm + wordpress (110: Connection timed out)

Last updated at Posted at 2015-07-10

表示までにかなり時間がかかっていた為、久々にログを見たら下記のようなエラーが頻発

nginx-error.log
  [error] 18898#0: *7866945 upstream timed out (110: Connection timed out) while reading response header from upstream, client: xxx.xxx.xxx.xxx

エラーの出力は、タイムアウトの時間を伸ばせば軽減できた。

php.ini
    max_execution_time 300;
www.conf
    request_terminate_timeout 300;
nginx.conf
    fastcgi_read_timeout 300;

が、表示速度問題には全く関係ありません。

結果的には、使用していなかったプラグインが悪さをしてたので、プラグインを停止して解決。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2