Re: [Mod-fcgid-users] Fwd: mod_fcgid with php CGI hangs on interrupted downloads

2011-02-22 Thread Liam O'Boyle
Hi Josiah, There was a strace snippet in the linked serverfault page, as follows root@some-machine:~# strace -p 24837 Process 24837 attached - interrupt to quit write(3, \5|A\313%\35\337\376\275\237\230\266\242\371\37YjzD\322\215\357\336:M\362P\335\242\214\341..., 17432 Just hanging on that,

Re: [Mod-fcgid-users] Fwd: mod_fcgid with php CGI hangs on interrupted downloads

2011-02-22 Thread Josiah Purtlebaugh
Liam, Someone else commented that you should increase the value of your IPCCommTimeout setting; I'd recommend this as well, though I have to ask, as these uploads taking multiple minutes to complete or do they hang fairly quickly? Josiah Purtlebaugh josiah.purtleba...@gmail.com +1 253 797

Re: [Mod-fcgid-users] Fwd: mod_fcgid with php CGI hangs on interrupted downloads

2011-02-22 Thread Liam O'Boyle
Morning, They hang whenever interrupted; if a download would have taken 2 seconds and I cancel it, then the PHP process will hang until the timeout is reached; the same behaviour is observed with files of all sizes. Liam On Wed, Feb 23, 2011 at 9:46 AM, Josiah Purtlebaugh

Re: [Mod-fcgid-users] Fwd: mod_fcgid with php CGI hangs on interrupted downloads

2011-02-21 Thread Josiah Purtlebaugh
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

Re: [Mod-fcgid-users] Fwd: mod_fcgid with php CGI hangs on interrupted downloads

2011-02-21 Thread Noor
Hi Liam, Try adding this to the VirtualHost configuration for the intended website: IPCCommTimeout 300 In addition, I'd recommend starting with a bare-bones Apache (without any additional 3rd party module, like Suhosin and others) and then activating only FastCGI with PHP. Best is when you