Welcome! Log In Create A New Profile

Advanced

error 504, gateway timeout nginx,

June 10, 2013 05:38AM
Hello!

I've setup a web server running on debian with Nginx, PHP5 (PHP-FPM), And Fcgiwrap

My webpage is running ok but a friend recently noticed me that while trying to access my page it gives him the Error 504(others can see my page with no problem), gateway timeout. I've searched for a solution and I've done this so far (still gives him the same error):

in /etc/nginx/sites-enabled/900-ponnod.com.vhost


location @php {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9012;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_intercept_errors on;
fastcgi_read_timeout 300s;
fastcgi_send_timeout 300s;
}

in /etc/php5/fpm/php.ini

max_execution_time = 300
max_input_time = 300



Can't find anything useful in my /var/log/nginx/acess or log or in php5-fpm.log i also turned the debug in the php-fpm.conf and this is what it puts out:
[10-jun-2013 11:35:33.974656] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool web3] currently 0 active children, 2 spare children, 2 $
[10-jun-2013 11:35:33.974765] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool apps] currently 0 active children, 2 spare children, 2 $
[10-jun-2013 11:35:33.974786] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool ispconfig] currently 0 active children, 3 spare childre$
[10-jun-2013 11:35:33.974802] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 r$
[10-jun-2013 11:35:34.975851] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool web3] currently 0 active children, 2 spare children, 2 $
[10-jun-2013 11:35:34.975963] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool apps] currently 0 active children, 2 spare children, 2 $
[10-jun-2013 11:35:34.975984] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool ispconfig] currently 0 active children, 3 spare childre$
[10-jun-2013 11:35:34.975998] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 r$
[10-jun-2013 11:35:35.977049] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool web3] currently 0 active children, 2 spare children, 2 $
[10-jun-2013 11:35:35.977162] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool apps] currently 0 active children, 2 spare children, 2 $
[10-jun-2013 11:35:35.977183] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool ispconfig] currently 0 active children, 3 spare childre$
[10-jun-2013 11:35:35.977227] DEBUG: pid 29522, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 r$

Nothing useful as far as i can see.


Any help or direction would be appriciated, thanks!

Matej
SubjectAuthorPosted

error 504, gateway timeout nginx,

moljJune 10, 2013 05:38AM

Re: error 504, gateway timeout nginx,

suttyaJune 10, 2013 05:50AM

Re: error 504, gateway timeout nginx,

moljJune 17, 2013 09:15AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 165 on April 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready