Re: FastCGI requests timing out prematurely

"Gordon" <gordon-ph3hwQsbQ5ZWk0Htik3J/[email protected]> Wed, 3 Mar 2010 15:53:56 -0500
Newsgroups gmane.comp.web.fastcgi.devel
Organization Group 309
Message-ID <002801cabb13$a5b22a10$0138a8c0@mozart>
I neglected to include some potentially useful information:

 

I'm using Apache httpd 2.2.3 on Red Hat Enterprise Linux and
mod_fastcgi-2.4.6.

 

Regards,

Gordon

 

 

 

  _____  

From: fastcgi-developers-bounces+gordon=group309.com-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
[mailto:fastcgi-developers-bounces+gordon=group309.com-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org]
On Behalf Of Gordon
Sent: Wednesday, March 03, 2010 10:34 AM
To: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
Subject: [FASTCGI] FastCGI requests timing out prematurely

 

I am using a static fastcgi server with mod_fastcgi and an apache web
server, and my requests are timing out prematurely. My idle-timeout is set
to 30 seconds. For some reason, requests are being timed out after only
about 11 seconds (I measured this at the http client, from the time the
request was submitted until the time that apache responded with an error).
When this happens, I get the following message in the apache log:

 

[Wed Mar 03 10:06:35 2010] [error] [client 10.28.98.252] FastCGI: comm with
server "/var/www/fcgi-bin/myserver2" aborted: idle timeout (30 sec)

 

I tried setting idle_timeout to 60 seconds but doing so had no affect;
requests still timed out after approximately 11 seconds.

 

Here is my fastCgiServer directive from my httpd.conf file:

 

FastCgiServer /var/www/fcgi-bin/myserver2 -initial-env
'CONFIG_FILENAME=/var/myserver2/config/config.properties' -idle-timeout 30
-processes 20 -flush

 

Has anyone else seen this behavior? Any ideas how to fix it?

 

Thanks,

Gordon

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers