===== SPAM: Apache / php / fastcgi help needed
<[email protected]> Thu, 1 Aug 2013 09:14:30 +0100
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <49BE5943412C4C438E4C9077ADC61B20@CHRISSIEPC> |
This is a multi-part message in MIME format. --===============5889631901061284541== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0124_01CE8E97.874E3AE0" This is a multi-part message in MIME format. ------=_NextPart_000_0124_01CE8E97.874E3AE0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I know at least one of you will know the answer to this frequently asked = question, so here I go.... I=E2=80=99m getting a whole host of errors when running log scripts on = my server. There=E2=80=99s a piece of code I really need to get into = production, but keeps failing with the good old : timeout =E2=80=93 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=E2=80=99m not sure exactly what the problem is here =E2=80=93 I = can=E2=80=99t seem to fix it.=20 I=E2=80=99m 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=E2=80=99t taking an hour to fail.=20 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 ------=_NextPart_000_0124_01CE8E97.874E3AE0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <HTML><HEAD></HEAD> <BODY dir=3Dltr> <DIV dir=3Dltr> <DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"> <DIV>I know at least one of you will know the answer to this frequently = asked=20 question, so here I go....</DIV> <DIV> </DIV> <DIV>I=E2=80=99m getting a whole host of errors when running log scripts = on my server.=20 There=E2=80=99s a piece of code I really need to get into production, = but keeps failing=20 with the good old :</DIV> <DIV> </DIV> <DIV>timeout =E2=80=93 45 seconds</DIV> <DIV>Connection reset by peer: mod_fcgid: error reading data from = FastCGI=20 server</DIV> <DIV>mod_fcgid: ap_pass_brigade failed in handle_request_ipc = function</DIV> <DIV> </DIV> <DIV>...etc</DIV> <DIV> </DIV> <DIV>As I=E2=80=99m not sure exactly what the problem is here =E2=80=93 = I can=E2=80=99t seem to fix it.=20 </DIV> <DIV> </DIV> <DIV>I=E2=80=99m using a VPS and overriding the subdomain in the = vhost.conf file with=20 the following:</DIV> <DIV> </DIV> <DIV><IfModule mod_fcgid.c></DIV> <DIV>AddHandler fcgid-script .fcgi</DIV> <DIV>FcgidBusyTimeout 3600</DIV> <DIV>FcgidProcessLifeTime 3600</DIV> <DIV>FcgidIOTimeout 3600</DIV> <DIV></IfModule></DIV> <DIV> </DIV> <DIV>It certainly isn=E2=80=99t taking an hour to fail. </DIV> <DIV> </DIV> <DIV>I have made corresponding changes to the PHP.INI file so = that.</DIV> <DIV> </DIV> <DIV><FONT style=3D"BACKGROUND-COLOR: = #ccccff"><STRONG>max_execution_time =3D=20 600</STRONG></FONT></DIV> <DIV><FONT style=3D"BACKGROUND-COLOR: #ccccff"><STRONG>max_input_time = =3D=20 600</STRONG></FONT></DIV> <DIV><FONT style=3D"BACKGROUND-COLOR: #ccccff"><STRONG>memory_limit =3D=20 512M</STRONG></FONT></DIV> <DIV><FONT=20 style=3D"BACKGROUND-COLOR: #ccccff"><STRONG></STRONG></FONT> </DIV> <DIV><FONT style=3D"BACKGROUND-COLOR: #ccccff"><STRONG>After the above = my process=20 still fails :</STRONG></FONT></DIV> <DIV><STRONG><FONT style=3D"BACKGROUND-COLOR: #ccccff"=20 face=3DArial></FONT></STRONG> </DIV> <DIV>Connection reset by peer: mod_fcgid: error reading data from = FastCGI=20 server</DIV> <DIV>mod_fcgid: ap_pass_brigade failed in handle_request_ipc = function</DIV> <DIV> </DIV> <DIV>Works fine when running as mod_php</DIV></DIV></DIV></BODY></HTML> ------=_NextPart_000_0124_01CE8E97.874E3AE0-- --===============5889631901061284541== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers --===============5889631901061284541==--