<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1252"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
So if I want to support 1000 requests per second I need to have php-cgi
with 1000 child processes?<br>
<br>
This Response Code 499 that I'm getting, is that the only indicator
that I've run out of php-cgi slots?<br>
<br>
Igor Clark wrote:
<blockquote
 cite="mid:3114264B-657B-4187-AA3A-E1BD084E1E64@pokelondon.com"
 type="cite">Hi,
  <div><br>
  <div>
  <div>On 6 Oct 2008, at 17:56, Clint Priest wrote:</div>
  <br class="Apple-interchange-newline">
  <blockquote type="cite">
    <div bgcolor="#ffffff" text="#000000"> I'm getting ~50% 499 errors
from nginx with $response_time ranging from .5s to 32.78s and longer. 
It seems related to fastcgi as I always get the file immediately if its
serving a static .htm file, never any delay or 499 codes.<br>
    <br>
Any idea where I could go with this?  I've been trying things all
morning with out being able to find anything that fixes the issue.<br>
    <br>
Some answers that may help me:<br>
  1) How many simultaneous connections can one php-cgi instance support?</div>
  </blockquote>
  <div><br>
  </div>
  <div>Dependent on the number of children. 1 process = 1 connection.</div>
  <div><br>
  </div>
  <blockquote type="cite">
    <div bgcolor="#ffffff" text="#000000">   2) Does anyone else run
APC + FastCGI + nginx without problems?</div>
  </blockquote>
  <div><br>
  </div>
  <div>Yep. No problems at all.</div>
  <br>
  <blockquote type="cite">
    <div bgcolor="#ffffff" text="#000000">    2a) Is there any benefit
or disadvantage to multiple php-cgi instances w/ APC?</div>
  </blockquote>
  <div><br>
  </div>
  <div>Benefit: you can serve more than one request at a time, faster,
because code is cached.</div>
  <div>Disadvantage: each instance now uses more memory.</div>
  <div><br>
  </div>
  <div>cheers</div>
  <div>i</div>
  <br>
  <blockquote type="cite">
    <div bgcolor="#ffffff" text="#000000"><br>
    <br>
Thanks!<br>
    <br>
    <div class="moz-signature">-- <br>
    <font
 style="font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-size-adjust: none; font-stretch: normal;">
Clint Priest<br>
    <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:cpriest@resultsgeneration.com">cpriest@resultsgeneration.com</a><br>
660 4th Street, Suite 289<br>
San Francisco, CA 94107<br>
    <b>Cell:</b> 415-724-6213<br>
    <b>YIM/AIM:</b> pkp9774<br>
    </font> <a moz-do-not-send="true"
 href="http://www.resultsgeneration.com"><span>&lt;RG-EmailSignatureLogo.gif&gt;</span></a><br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <div apple-content-edited="true"> <span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
  <div style=""><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
  <div style=""><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
  <div style="">
  <div>
  <div style="">
  <div style="">
  <div>
  <div style="">
  <div style="">
  <div style="">
  <div style="">
  <div>--</div>
  <div>Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20
7749 5355 • <a moz-do-not-send="true" href="http://www.pokelondon.com">www.pokelondon.com</a></div>
  </div>
  </div>
  </div>
  </div>
  </div>
  </div>
  </div>
  </div>
  </div>
  </span></div>
  </span><br class="Apple-interchange-newline">
  </div>
  </span><br class="Apple-interchange-newline">
  </div>
  <br>
  </div>
</blockquote>
</body>
</html>