FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » win xp sp3 + apache + mod_fcgi + php 5.3.6
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
win xp sp3 + apache + mod_fcgi + php 5.3.6 [message #173928] Fri, 13 May 2011 11:00 Go to next message
smerf is currently offline  smerf
Messages: 12
Registered: January 2011
Karma: 0
Junior Member
I have long script. When I start it through browser it is terminated after several minutes.
In apache error log :

[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error, referer: http://localhost/
[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
function, referer: http://localhost/

Apache is dedicated for VC9 32-bits from http://www.apachelounge.com/download/
Mod_fcgid.so the same.
PHP 5.3.6 VC9 nts (tried with ts also failed)

My script works well if I start it as CLI
or if I change Apache config to run PHP as ISAPI module (i this case all execution works - from browser or cli)


What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????
Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 [message #173929 is a reply to message #173928] Fri, 13 May 2011 11:06 Go to previous messageGo to next message
smerf is currently offline  smerf
Messages: 12
Registered: January 2011
Karma: 0
Junior Member
On 2011-05-13 13:00, smerf wrote:
> I have long script. When I start it through browser it is terminated after several minutes.
> In apache error log :
>
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error, referer: http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
> function, referer: http://localhost/
>
> Apache is dedicated for VC9 32-bits from http://www.apachelounge.com/download/
> Mod_fcgid.so the same.
> PHP 5.3.6 VC9 nts (tried with ts also failed)
>
> My script works well if I start it as CLI
> or if I change Apache config to run PHP as ISAPI module (i this case all execution works - from browser or cli)
>
>
> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????


my script parse xml files in the loop and insert data to mysql database
execution is long
Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 [message #173930 is a reply to message #173928] Fri, 13 May 2011 11:23 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 5/13/2011 7:00 AM, smerf wrote:
> I have long script. When I start it through browser it is terminated
> after several minutes.
> In apache error log :
>
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: get overlap result error, referer:
> http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: ap_pass_brigade failed in
> handle_request_ipc function, referer: http://localhost/
>
> Apache is dedicated for VC9 32-bits from
> http://www.apachelounge.com/download/
> Mod_fcgid.so the same.
> PHP 5.3.6 VC9 nts (tried with ts also failed)
>
> My script works well if I start it as CLI
> or if I change Apache config to run PHP as ISAPI module (i this case all
> execution works - from browser or cli)
>
>
> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????

Who knows? We can't see your system and can't debug it from here. You
need to do some debugging and figure out what's going on.

If you don't know how to debug an problem, the best place to start is
with the error message - which, in this case, is not a PHP error message.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 [message #173931 is a reply to message #173930] Fri, 13 May 2011 11:40 Go to previous messageGo to next message
smerf is currently offline  smerf
Messages: 12
Registered: January 2011
Karma: 0
Junior Member
On 2011-05-13 13:23, Jerry Stuckle wrote:

>>
>> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????
>
> Who knows? We can't see your system and can't debug it from here. You need to do some debugging and figure out what's going on.
>
> If you don't know how to debug an problem, the best place to start is with the error message - which, in this case, is not a PHP error message.
>


There is no PHP error message.
After saveral minutes the script is terminated nad Internal Server Error 500 is shown.
Script is correct, php syntax too. Only one hint is apache error log:

[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error, referer: http://localhost/
[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
function, referer: http://localhost/
Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 [message #173934 is a reply to message #173931] Fri, 13 May 2011 15:18 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 5/13/2011 7:40 AM, smerf wrote:
> On 2011-05-13 13:23, Jerry Stuckle wrote:
>
>>>
>>> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3
>>> ????
>>
>> Who knows? We can't see your system and can't debug it from here. You
>> need to do some debugging and figure out what's going on.
>>
>> If you don't know how to debug an problem, the best place to start is
>> with the error message - which, in this case, is not a PHP error message.
>>
>
>
> There is no PHP error message.
> After saveral minutes the script is terminated nad Internal Server Error
> 500 is shown.
> Script is correct, php syntax too. Only one hint is apache error log:
>
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: get overlap result error, referer:
> http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
> function, referer: http://localhost/
>

Then if there is no PHP message, why are you asking in a PHP newsgroup?

You need to start by debugging the problem where it occurs.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 [message #173935 is a reply to message #173928] Fri, 13 May 2011 15:23 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Fri, 13 May 2011 13:00:28 +0200, smerf wrote:

> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3
> ????

Yes, it could be one of these. Does it fail every time? If so, you have
some fundamental incompatibility between the software involved and the
script, but on the information you have provided so far, I don't think
anyone is going to be able to figure it out.

I suggest you try some logging before and after calls to your database
functions that will show how long each database call is taking, and then
check against any timeouts that you might have control over, but I'm only
guessing that that might be where the problem is occurring, and probably
have a better than 50% chance of being wrong (Psychic long distance error
dowsing isn't a strongpoint of mine).

Rgds

Denis McMahon
Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 [message #173936 is a reply to message #173928] Fri, 13 May 2011 15:34 Go to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
smerf wrote:

> I have long script. When I start it through browser it is terminated after
> several minutes. In apache error log :
>
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has
> [been ended. : mod_fcgid: get overlap result error, referer:
> [http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has
> [been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
> function, referer: http://localhost/

Something appears to be wrong with your mod_fcgid Apache module.

> Apache is dedicated for VC9 32-bits from
> http://www.apachelounge.com/download/ Mod_fcgid.so the same.
> PHP 5.3.6 VC9 nts (tried with ts also failed)
>
> My script works well if I start it as CLI
> or if I change Apache config to run PHP as ISAPI module (i this case all
> execution works - from browser or cli)

"Doctor, my arm hurts when I move it!" -- "Don't move it, then."

> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????

Yes.


PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: learning OOP with PHP
Next Topic: MOSC2011 Call For Speakers Final Call
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 23:39:52 GMT 2024

Total time taken to generate the page: 0.05369 seconds