php-fastcgi and memory leaks

Thomas iamkenzo at gmail.com
Mon Mar 31 15:41:26 MSD 2008


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,





More information about the nginx mailing list