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

Jay Sprenkle <[email protected]> Thu, 1 Aug 2013 07:29:41 -0500
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <CAG19Bi4wrOY3TdrxcKCm0ziHZ2qALtGnOOJeiw3xk3MrCVm-LQ@mail.gmail.com>
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 serve=
r.
> 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 serv=
er
> 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 wit=
h 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 serv=
er
> 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/