php-fpm: The timeout specified has expired

Derevko

Verified User
Joined
Feb 18, 2012
Messages
46
Hi,

when running an intensive php script, I got this error:

Code:
[Fri Oct 24 12:34:51.387882 2014] [proxy_fcgi:error] [pid 10656:tid 140516472919808] (70007)The timeout specified has expired: [client XXXXX58315] AH01075: Error dispatching request to : (polling), referer: http://xxxxx.xxxxx.it/admin/index.php?route=tool/importer

How can I increase this timeout?
 
Try increasing TimeOut in apache configuration, or, if you'd like to have a proxy-specific timeout set, please use ProxyTimeout. Let us know about the results :) Good luck!
 
Try increasing TimeOut in apache configuration, or, if you'd like to have a proxy-specific timeout set, please use ProxyTimeout. Let us know about the results :) Good luck!

I Fixed this problem adding the ProxySet timeout=1800 line in the <Proxy> section of the Virtualhost:

Code:
<Proxy "unix:/usr/local/php55/sockets/ctdev1.sock|fcgi://php-fpm55.ctdev1/">
        ProxySet min=0
        ProxySet timeout=1800
</Proxy>

How can I add the the ProxySet timeout=1800 line via Directadmin so I will not lost it?
 
try setting the Timout option in Apache Configuration

Hey Buddy - Try setting the ProxySet timeout value as 1800 line in the <Proxy> section in the file Virtualhost. That should resolve the issue! Good luck with it and let me know if that works out.

Thanks
Mike from HTML5 Training
 
I updated configs, and now doesn't work anymore... I've again the error:

[proxy_fcgi:error] [pid 19325:tid 140543932651264] (70007)The timeout specified has expired:


What was changed with latest update?
 
Just do the following to set proxy timeout to 1800:
Code:
echo 'ProxyTimeout 1800' >> /etc/httpd/conf/extra/httpd-includes.conf
service httpd restart

That's it. Please let us know if you still have any questions :)
 
Just do the following to set proxy timeout to 1800:
Code:
echo 'ProxyTimeout 1800' >> /etc/httpd/conf/extra/httpd-includes.conf
service httpd restart

That's it. Please let us know if you still have any questions :)


Worked, thanks!
 
Back
Top