Re: ===== SPAM: Re: ===== SPAM: Re: ===== SPAM: Apache / php / fastcgi help needed
Thomas H Bowden Jr <[email protected]> Thu, 01 Aug 2013 10:33:36 -0500
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
I agree with David=85. more often than not my program has crashed/aborted w= hen I get that message. I sit corrected :) On Aug 1, 2013, at 10:14 AM, David Birnbaum <[email protected]> wrote: > Sounds like the application is dying. Might want to attach a truss or str= ace to it and see what system calls are going in when it fails. = > = > David. = > = > ----- > = > On Aug 1, 2013, at 9:41 AM, <[email protected]> wrote: > = >> 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: A= pache / 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 fro= m 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 hel= p 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 ask= ed >>>> question, so here I go.... >>>> = >>>> I=92m getting a whole host of errors when running log scripts on my se= rver. >>>> There=92s a piece of code I really need to get into production, but ke= eps >>>> failing with the good old : >>>> = >>>> timeout =96 45 seconds >>>> Connection reset by peer: mod_fcgid: error reading data from FastCGI s= erver >>>> 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 = with 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 s= erver >>>> 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 = >> = >> _______________________________________________ >> FastCGI-developers mailing list >> FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org >> http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers