I don't have any solutions for you, but I'd recommend trying to discover where 
or why it's hanging. The tool 'strace' would be most useful in figuring this 
out.

The ideas that come to mind off the top of my head are problems with file size, 
the memory of the child processes, or something like that. A dump of the 
php-cgi process might lead to you figuring out the true issue, though.

Josiah Purtlebaugh
josiah.purtleba...@gmail.com
+1 253 797 4233

On Feb 21, 2011, at 4:12 PM, Liam O'Boyle wrote:

> Morning,
> 
> I still haven't had any luck addressing this problem; I'm posting this
> in the hope that someone has some sort of idea, otherwise I will have
> to scrap mod_fcgid and revert to mod_php this evening, as this is
> causing considerable problems for our users.
> 
> Thanks for any assistance,
> 
> Liam
> 
> 
> ---------- Forwarded message ----------
> From: Liam O'Boyle <l...@elyobo.net>
> Date: Tue, Feb 8, 2011 at 4:46 PM
> Subject: mod_fcgid with php CGI hangs on interrupted downloads
> To: mod-fcgid-users@lists.sourceforge.net
> 
> 
> Hi there,
> 
> I'm having an issue with downloads through PHP when using mod_fcgid;
> if the download is interrupted before it's complete, the php-cgi
> process seems to block until the execution timeout is reached, rather
> than aborting immediately.  Further requests to the server by the
> same user that interrupted the download hang until the process aborts
> and the php-cgi process starts serving more requests, but requests by
> other users do not appear to be affected.
> 
> It doesn't appear to be a PHP problem, as the same code, when run
> using mod_php, executes correctly.
> 
> Does anyone have any suggestions that I could look into to fix this?
> 
> A full explanation is up on ServerFault -
> http://serverfault.com/questions/226464/php-fcgid-hangs-if-download-interrupted
> 
> Thanks for any help,
> 
> Liam
> 
> ------------------------------------------------------------------------------
> Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
> Collect, index and harness all the fast moving IT data generated by your 
> applications, servers and devices whether physical, virtual or in the cloud.
> Deliver compliance at lower cost and gain new business insights. 
> Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Mod-fcgid-users mailing list
> Mod-fcgid-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to