<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">I'm confused
- when using a command similar to the one below, is it spawn-fcgi
handling memory or php-cgi? When I check the processlist (ps aux) I see
4 instances of "php-cgi", each one with a slowly growing memory usage.<br>
<br>
Maybe its the app I'm using which doesn't finish correctly. Its
contributed to by a few different developers, some of which are new to
the system and might not be finishing their scripts with the correct
return state.<br>
</font></font><br>
Thomas wrote:
<blockquote
 cite="mid:55da14450803310441w2a5107e4x5407442d605269e3@mail.gmail.com"
 type="cite">
  <pre wrap="">You are right, I didn't express myself correctly. One should read
"php-spawn-fcgi uses 5MB of memory", php-spawn-fcgi being a daemon
that I created using the following command:

/usr/bin/spawn-fcgi -a 127.0.0.1 -p 10005 -u www-data -g www-data -C 5
-f /usr/bin/php-cgi -P /var/run/spawn-fcgi/php-spawn-fcgi.pid

I guess that Phillip is using the same kind of setup to handle php
with Nginx. And that the ram usage he is talking about is the ram
usage of the php-spawn-fcgi process.


The MySQL ram usage remains low certainly because I am always hitting
the same index page which has very little data on it (I created 10
empty sub-forums), but that's benchmarking, it is impossible to
perfeclty mimic real-life behavior and anyway the goal was no to
stress test mysql.


Best regards,


  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div
 style="font-family: sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 1.1; font-size-adjust: none; font-stretch: normal; width: 300px; color: rgb(51, 51, 51);">
<p><strong>Phillip B Oldham</strong><br>
The Activity People<br>
<a href="mailto:phill@theactivitypeople.co.uk">phill@theactivitypeople.co.uk</a></p>
<hr size="1">
<p style="font-size: 90%;"><strong>Policies</strong></p>
<p style="font-size: 90%;">This e-mail and its attachments are intended
for the above named recipient(s) only and may be confidential. If they
have come to you in error, please reply to this e-mail and highlight
the error. No action should be taken regarding content, nor must you
copy or show them to anyone.</p>
<p style="font-size: 90%;">This e-mail has been created in the
knowledge that Internet e-mail is not a 100% secure communications
medium, and we have taken steps to ensure that this e-mail and
attachments are free from any virus. We must advise that in keeping
with good computing practice the recipient should ensure they are
completely virus free, and that you understand and observe the lack of
security when e-mailing us.</p>
<hr size="1">
</div>
</div>
</body>
</html>