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
Posted at Nginx Forum: