need some nginx help

Discussion in 'Installation/Configuration' started by joey3002, Aug 10, 2012.

  1. joey3002

    joey3002 New Member

    I need some help.
    I used this to build my server:
    http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-nginx-bind-dovecot-ispconfig-3-p4

    I am working on a php app on a dedicated server. It has a bunch of check boxes and when I click them, it sends an email with the info.

    If I check 15, all is good. However, I am trying to ramp it up and check 150.
    I get an error 500 - Internal server error

    However, when I look at:

    /var/log/ispconfig/httpd/mysite.com/error.log

    there is nothing reported. Where can I find more info out about this? I am trying to allow for more processes to run without timing out.

    thanks in advance
     
  2. joey3002

    joey3002 New Member

    this is what I get:

    504 Gateway Time-out

    nginx/1.1.19
     
  3. joey3002

    joey3002 New Member

    and more info:


    2012/08/11 00:12:41 [error] 2035#0: *2070 upstream timed out (110: Connection timed out) while reading response header from upstream, client: MYIP, server: mysite.com, request: "POST /clients/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9010", host: "www.mysite.com", referrer: "http://www.mysite.com/clients/?a=3"
     
  4. joey3002

    joey3002 New Member

    issue fixed

    I was in the wrong vhost section.. i need to add it to the vhost for my domain

    nginx terminated the connection to php-fpm after 60s because

    fastcgi_send_timeout 300s;
    fastcgi_read_timeout 300s;

    were missing.
     
  5. onastvar

    onastvar Member

    I have same issue, could you please share your vhost (nginx directives)?
     

Share This Page