Author |
|
elavarasan
Joined: 26 Sep 2011 Posts: 53
|
Posted: Tue 25 Oct '11 6:40 Post subject: (OS 109)The pipe has been ended.: mod_fcgid: can't read from |
|
|
Anyone can help me that in my apache log file,
(OS 109)The pipe has been ended. : mod_fcgid: can't read from pipe, referer: http://IP Address/...
(109)Unknown error: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://IP Address/...
I'm using windows sever 2008 R2,Apache,PHP with Mod_Fcgid
Thanks, |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 25 Oct '11 9:49 Post subject: |
|
|
Which version of mod_fcgid do you use?
Is that related to a specific url? randomly? |
|
Back to top |
|
elavarasan
Joined: 26 Sep 2011 Posts: 53
|
Posted: Tue 25 Oct '11 9:52 Post subject: |
|
|
I'm using :
mod_fcgid-2.3.6-win32-x86
and Yes it is randomly.
Thanks, |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 25 Oct '11 10:33 Post subject: |
|
|
Please post your fcgid config. We might have to change some values to get it run smooth. |
|
Back to top |
|
elavarasan
Joined: 26 Sep 2011 Posts: 53
|
Posted: Tue 25 Oct '11 10:37 Post subject: |
|
|
Ok. Here is :
In httpd.conf file
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "c:/php"
AddHandler fcgid-script .php
FcgidWrapper "c:/php/php-cgi.exe" .php
MaxRequestLen 25728640
Please advise do i need to change any setting or adding any values to existing configurations.
Thanks, |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 25 Oct '11 10:56 Post subject: |
|
|
If your scripts run longer than 40 seconds you need to set
FcgidIOTimeout
For me it helped to increase the connect timeout from 3 to 10 seconds
FcgidConnectTimeout 10
it might also help if you replace your mod fcgid with the patch 2 version from apachelounge or the patched version from apachehaus which include 3 patched. |
|
Back to top |
|