Join the community today
Register Now

PHP-FPM [error] 8240#0: *4 upstream timed out (110: Connection timed out) while reading response header...

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Matt Williams, Apr 16, 2015.

  1. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    1:52 PM
    latest
    10
    Exact error message:

    Code:
    2015/04/16 04:19:03 [error] 8240#0: *4 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP>, server: sub.domain.com, request: "GET / HTTP/1.1",upstream: "fastcgi://127.0.0.1:9000", host: "sub.domain.com", referrer: "http://domain.com/"
    I have been searching the internet all day to fix this without any luck. Running the latest beta 02 w/ php5.5.22 ( which I upgraded from 5.4.38 ) which still didn't work.

    I changed the "fastcgi_read_timeout" to 300 in nginx.conf and still no go. I am at a loss with this one. I have tried everything I can to resolve this. Can anyone help with this issue?
     
  2. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    1:52 PM
    latest
    10
    Come to find out - it was my remote database - | open_files_limit | 1024 | - Changed to - | open_files_limit | 100000 | fix it.
     
    • Like Like x 1