Timeout errors - How to solve?

vancanneyt

Verified User
Joined
Dec 13, 2012
Messages
92
Some intensive PHP scripts fail with this error in the error logs
Code:
[Tue Apr 09 23:38:35.519240 2013] [proxy_fcgi:error] (70007)The timeout specified has expired: [client 81.242.224.242:57734] AH01075: Error dispatching request to :
this happens after 40 seconds execution time.

I checked the httpd-fcgid.conf and already increased the IO timeout but this did not the trick.

I assume i have to look in httpd-default.conf to this line:
Code:
<IfModule reqtimeout_module>
  RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
</IfModule>
I presume that this is the thing that causes the timeout error. Is it safe to alter this and set it to higher value? for example header=20-60.

It would be great to know how to extend the timeout. I have some PHP scripts that crash during instalation of extensions or upgrades of extensions.

Thanks in advance.
 
Nobody?

Meanwhile i tried to edit it and changed it to header=20-90 and restarted apache but this did not solve it. Again timeout after approximately 40 seconds. Even tried to disable that rule by setting header=0 body=0 but that didn't solve it rather.

Anyone knows how to solve these time-outs? I spend hours searching through google but none if it seemed to help.
Is et better to revert back to mod_php until these are fixed (in a way)?
 
Some intensive PHP scripts fail with this error in the error logs
Code:
[Tue Apr 09 23:38:35.519240 2013] [proxy_fcgi:error] (70007)The timeout specified has expired: [client 81.242.224.242:57734] AH01075: Error dispatching request to :
this happens after 40 seconds execution time.

I checked the httpd-fcgid.conf and already increased the IO timeout but this did not the trick.

I assume i have to look in httpd-default.conf to this line:
Code:
<IfModule reqtimeout_module>
  RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
</IfModule>
I presume that this is the thing that causes the timeout error. Is it safe to alter this and set it to higher value? for example header=20-60.

It would be great to know how to extend the timeout. I have some PHP scripts that crash during instalation of extensions or upgrades of extensions.

Thanks in advance.
DA uses a very short 60 seconds timeout instead of the 300s default value.
Add this to the virtualhost where you have the ProxyPassMatch which times out:
ProxyTimeout 300
 
Back
Top