logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: (OS 109)The pipe has been ended.: mod_fcgid: can't read from
Author
elavarasan



Joined: 26 Sep 2011
Posts: 53

PostPosted: Tue 25 Oct '11 6:40    Post subject: (OS 109)The pipe has been ended.: mod_fcgid: can't read from Reply with quote

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: 7294
Location: Germany, Next to Hamburg

PostPosted: Tue 25 Oct '11 9:49    Post subject: Reply with quote

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

PostPosted: Tue 25 Oct '11 9:52    Post subject: Reply with quote

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: 7294
Location: Germany, Next to Hamburg

PostPosted: Tue 25 Oct '11 10:33    Post subject: Reply with quote

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

PostPosted: Tue 25 Oct '11 10:37    Post subject: Reply with quote

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: 7294
Location: Germany, Next to Hamburg

PostPosted: Tue 25 Oct '11 10:56    Post subject: Reply with quote

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


Reply to topic   Topic: (OS 109)The pipe has been ended.: mod_fcgid: can't read from View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules