===== SPAM: Re: ===== SPAM: Re: ===== SPAM: Apache / php / fastcgi help needed

<[email protected]> Thu, 1 Aug 2013 14:41:15 +0100
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <C6A333E494454FA6B34220B88E80540F@CHRISSIEPC>
Thanks - I'll have a look and post back

-----Original Message----- =

From: Thomas H Bowden Jr
Sent: Thursday, August 01, 2013 2:17 PM
To: [email protected]
Cc: Jay Sprenkle ; fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
Subject: Re: =3D=3D=3D=3D=3D SPAM: Re: [FASTCGI] =3D=3D=3D=3D=3D SPAM: Apac=
he / php / fastcgi =

help needed

Could it have something to do with buffering on stdin/stdout?

On Aug 1, 2013, at 7:43 AM, [email protected] wrote:

> Thanks Jay,
>
> But there's an almost identical script, that pulls less information from =

> the database. That always works, but this one always fails.
>
> -----Original Message----- From: Jay Sprenkle
> Sent: Thursday, August 01, 2013 1:29 PM
> To: [email protected]
> Cc: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
> Subject: Re: =3D=3D=3D=3D=3D SPAM: [FASTCGI] Apache / php / fastcgi help =
needed
>
> Your problem might be in the networking not the server. I believe
> 'connect reset by peer' is usually an error caused when a tcp reset
> packet is sent. It might be your isp messing with your connections, a
> nat box, a load balancer, etc.
>
>
> On Thu, Aug 1, 2013 at 3:14 AM,  <[email protected]> wrote:
>> I know at least one of you will know the answer to this frequently asked
>> question, so here I go....
>>
>> I=92m getting a whole host of errors when running log scripts on my serv=
er.
>> There=92s a piece of code I really need to get into production, but keeps
>> failing with the good old :
>>
>> timeout =96 45 seconds
>> Connection reset by peer: mod_fcgid: error reading data from FastCGI =

>> server
>> mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
>>
>> ...etc
>>
>> As I=92m not sure exactly what the problem is here =96 I can=92t seem to=
 fix =

>> it.
>>
>> I=92m using a VPS and overriding the subdomain in the vhost.conf file wi=
th =

>> the
>> following:
>>
>> <IfModule mod_fcgid.c>
>> AddHandler fcgid-script .fcgi
>> FcgidBusyTimeout 3600
>> FcgidProcessLifeTime 3600
>> FcgidIOTimeout 3600
>> </IfModule>
>>
>> It certainly isn=92t taking an hour to fail.
>>
>> I have made corresponding changes to the PHP.INI file so that.
>>
>> max_execution_time =3D 600
>> max_input_time =3D 600
>> memory_limit =3D 512M
>>
>> After the above my process still fails :
>>
>> Connection reset by peer: mod_fcgid: error reading data from FastCGI =

>> server
>> mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
>>
>> Works fine when running as mod_php
>>
>> _______________________________________________
>> FastCGI-developers mailing list
>> FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
>> http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
>>
>
>
>
> -- =

> http://xkcd.com/1156/
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
> http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers =