Looking for help configuring an application server

furroy <[email protected]> Thu, 21 Apr 2011 19:32:57 -0500
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
--===============2039630621==
Content-Type: multipart/alternative; boundary=bcaec51ddb6dd80f6404a176ffda

--bcaec51ddb6dd80f6404a176ffda
Content-Type: text/plain; charset=ISO-8859-1

I have a dedicated application server. Whenever I push out an update to my
product, there's a massive spike demand of PHP calls and it starts getting
the dreaded 502 errors.  I'm trying to figure out the best way to configure
this box to avoid these at all costs.  It's fine if the box gets bogged down
and it just just takes longer to process the requests, speed isn't a big
deal for this application, but getting back 502's causes me great pain on
the front end.

RAM: *4 GB*, Disk: *500 GB*
 CPUs: *1 (2 cores/CPU) @2.2GHz

*I cranked up PHP_FCGI_CHILDREN = 128 for my last test.  I don't care how
much RAM this takes up (~3.5G), this box is solely dedicated to this
service, there's nothing else running on it.   It still returned ~5500 502
errors during my load test.
*
*

Running nginx 0.8.53

PHP 5.2.15 (cli) (built: Dec 15 2010 14:09:31)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend
Technologies
    with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend
Technologies

--bcaec51ddb6dd80f6404a176ffda
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have a dedicated application server. Whenever I push out an update to my =
product, there&#39;s a massive spike demand of PHP calls and it starts gett=
ing the dreaded 502 errors.=A0 I&#39;m trying to figure out the best way to=
 configure this box to avoid these at all costs.=A0 It&#39;s fine if the bo=
x gets bogged down and it just just takes longer to process the requests, s=
peed isn&#39;t a big deal for this application, but getting back 502&#39;s =
causes me great pain on the front end.<br>
<br>RAM: <b><span id=3D"ds1155_ram">4</span> GB</b>,
					Disk: <b><span id=3D"ds1155_disk">500</span> GB</b><br>
				=09
						<div title=3D"Dual Core AMD Opteron(tm) Processor 175">
						CPUs: <b>1 (2 cores/CPU)
						@2.2GHz<br><br></b>I cranked up PHP_FCGI_CHILDREN =3D 128 for my last=
 test.=A0 I don&#39;t care how much RAM this takes up (~3.5G), this box is =
solely dedicated to this service, there&#39;s nothing else running on it.=
=A0=A0 It still returned ~5500 502 errors during my load test.<br>
<b><br></b></div><br>Running nginx 0.8.53<br><br>PHP 5.2.15 (cli) (built: D=
ec 15 2010 14:09:31)<br>Copyright (c) 1997-2010 The PHP Group<br>Zend Engin=
e v2.2.0, Copyright (c) 1998-2010 Zend Technologies<br>=A0=A0=A0 with Zend =
Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies<br>
=A0=A0=A0 with XCache v1.2.2, Copyright (c) 2005-2007, by mOo<br>=A0=A0=A0 =
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies<b=
r><br><br>

--bcaec51ddb6dd80f6404a176ffda--

--===============2039630621==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers

--===============2039630621==--