• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue 504 nginx on a fat request.

emmanuelautin

New Pleskian
Hi,

I'm facing a 504 nginx error in a prestashop website hosted in plesk onyx.
Im' with PHP 5.6 FastCgi

The errors in the apache / nginx logs :

  1. upstream timed out (110 : Connection timed out) white reading response header from upstream
  2. mod_fcgid: read data timeout in 120 seconds
  3. End of script output before headers :
I improve the max_execution_time to 120 in php settings.
I add additional directive to apache :

<ifModule mod_fcgid.c>
FcgidIOTtimeout 120
</ifModule>

What i read i shoud do

Add nginx directive :

proxy_connect_timeout : 180s
proxy_send_timeout : 180s
proxy_read_timeout: 180s
fastcgi_send_timeout: 180s
fastcgi_read_timeout: 180s

But i think it will override the nginx native conf and then apache can't restart at all, (i have this issue on othe plesk production serveur)

The bugs appears only in a large request / in a prestashop module.

Any advice is appreciated,

Thanks alot.
 
Back
Top