Random FastCGI

Adam2003w <adam2003w-/[email protected]> Sun, 4 Aug 2013 20:24:40 -0600
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
--===============2931831043485645318==
Content-Type: multipart/alternative;
	boundary=Apple-Mail-EF9B84F5-F710-4231-BCD4-30532CA0E395
Content-Transfer-Encoding: 7bit


--Apple-Mail-EF9B84F5-F710-4231-BCD4-30532CA0E395
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable


Random PHP FastCGI / Connection reset by peer / incomplete headers

I've been having random 500 Internal Server errors on my PHP / MySQL based s=
ites on various shared hosts. I'm using PHP 5.2.17 through CGI/FastCGI on a s=
hared Linus server. When I look in the logs, I see this:

Code:
[error] [client 75.71.176.224] (104)Connection reset by peer: FastCGI: comm w=
ith server "/dev/shm/blackmou-php.fcgi" aborted: read failed, referer: ...
[error] [client 75.71.176.224] FastCGI: incomplete headers (0 bytes) receive=
d from server "/dev/shm/blackmou-php.fcgi", referer: ...
iled, referer: ... [error] [client 75.71.176.224] FastCGI: incomplete header=
s (0 bytes) received from server "/dev/shm/blackmou-php.fcgi", referer: ...
[error] [client 75.71.176.224] (104)Connection reset by peer: FastCGI: comm w=
ith server "/dev/shm/blackmou-php.fcgi" aborted: read f
a
Anyone know how to resolve this?


Sent from my iPad=

--Apple-Mail-EF9B84F5-F710-4231-BCD4-30532CA0E395
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><br><div class=3D"postrow has_after_content=
" style=3D"margin: 0px; padding: 5px 10px 4em; overflow: auto; "><h2 class=3D=
"title icon" style=3D"margin: 0px 0px 5px; padding: 10px 10px 5px 0px; borde=
r-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(20=
0, 200, 200); "><font size=3D"3"><span style=3D"-webkit-text-size-adjust: au=
to; background-color: rgba(255, 255, 255, 0);">Random PHP FastCGI / Connecti=
on reset by peer / incomplete headers</span></font></h2><div class=3D"conten=
t" style=3D"margin: 0px; padding: 0px; "><div id=3D"post_message_5550418" st=
yle=3D"margin: 0px; padding: 0px; "><blockquote class=3D"postcontent restore=
 " style=3D"margin: 0px; padding: 0px; word-wrap: break-word; "><span style=3D=
"-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">=
<br></span></blockquote><blockquote class=3D"postcontent restore " style=3D"=
margin: 0px; padding: 0px; word-wrap: break-word; "><span style=3D"-webkit-t=
ext-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">I've been h=
aving random 500 Internal Server errors on my PHP / MySQL based sites on var=
ious shared hosts. I'm using PHP 5.2.17 through CGI/FastCGI on a shared Linu=
s server. When I look in the logs, I see this:<br><br></span><div class=3D"b=
bcode_container" style=3D"margin: 5px 20px 20px; padding: 0px; "><div class=3D=
"bbcode_description" style=3D"margin: 0px; padding: 0px; "><span style=3D"-w=
ebkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Cod=
e:</span></div><pre class=3D"bbcode_code" style=3D"margin-top: 0px; margin-b=
ottom: 0px; padding: 6px; border: 1px inset; text-align: left; overflow: aut=
o; direction: ltr; height: 6em; background-repeat: repeat no-repeat; "><div s=
tyle=3D"text-align: -webkit-auto;"><font face=3D"Helvetica"><span style=3D"w=
hite-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(2=
55, 255, 255, 0);">[error] [client 75.71.176.224] (104)Connection reset by p=
eer: FastCGI: comm with server "/dev/shm/blackmou-php.fcgi" aborted: read fa=
iled, referer: ...</span></font></div><font face=3D"Helvetica"><span style=3D=
"white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba=
(255, 255, 255, 0);">[error] [client 75.71.176.224] FastCGI: incomplete head=
ers (0 bytes) received from server "/dev/shm/blackmou-php.fcgi", referer: ..=
.
</span></font><div style=3D"text-align: -webkit-auto;"><font face=3D"Helveti=
ca"><span style=3D"white-space: normal; -webkit-text-size-adjust: auto; back=
ground-color: rgba(255, 255, 255, 0);">iled, referer: ...
[error] [client 75.71.176.224] FastCGI: incomplete headers (0 bytes) receive=
d from server "/dev/shm/blackmou-php.fcgi", referer: ...</span></font></div>=
<font face=3D"Helvetica"><span style=3D"white-space: normal; -webkit-text-si=
ze-adjust: auto; background-color: rgba(255, 255, 255, 0);">[error] [client 7=
5.71.176.224] (104)Connection reset by peer: FastCGI: comm with server "/dev=
/shm/blackmou-php.fcgi" aborted: read f<br></span></font><div style=3D"text-=
align: -webkit-auto;"><font face=3D"Helvetica"><span style=3D"white-space: n=
ormal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255,=
 0);">a</span></font></div></pre></div><span style=3D"-webkit-text-size-adju=
st: auto; background-color: rgba(255, 255, 255, 0);">Anyone know how to reso=
lve this</span><font color=3D"#464646" face=3D"Verdana, Arial, Tahoma, Calib=
ri, Geneva, sans-serif"><span style=3D"font-size: 13px; line-height: 15px; -=
webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-=
fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: r=
gba(77, 128, 180, 0.230469); -webkit-text-size-adjust: auto;">?</span></font=
></blockquote></div></div></div><br><br><span style=3D"-webkit-text-size-adj=
ust: auto;">Sent from my iPad</span></body></html>=

--Apple-Mail-EF9B84F5-F710-4231-BCD4-30532CA0E395--

--===============2931831043485645318==
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

--===============2931831043485645318==--