php-fastcgi and memory leaks

Phillip B Oldham phill at
Mon Mar 31 17:44:42 MSD 2008

Grzegorz Nosek wrote:
> Yeah, lots of fun. Though if you're leaking database connections or
> something, you might see it e.g. on lsof output. Try disabling
> persistent connections (at least temporarily) for the database you're
> using.
We don't use persistent connections. There's one connection per request, 
which frees when the request finishes. Doesn't seem to be causing any 
problems working that way - the DB's load is tiny compared to everything 

I'll see what valgrind throws up.

*Phillip B Oldham*
The Activity People
phill at <mailto:phill at>



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.

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: phill.vcf
Type: text/x-vcard
Size: 272 bytes
Desc: not available
URL: <>

More information about the nginx mailing list