[php-maint] Bug#577009: Bug#577009: php5-cgi: php-cgi uses 500+ mb memory

Olaf van der Spek olaf at xwis.net
Thu Apr 8 21:35:42 UTC 2010


On 8-4-2010 23:32, sean finney wrote:
> On Thu, Apr 08, 2010 at 11:05:27PM +0200, Olaf van der Spek wrote:
>> /etc/php5/cgi/php.ini:
>> memory_limit = 128M
>>
>> top:
>> 14092 www-data  20   0  589m 466m  17m S    3  5.8   9:36.17 php-cgi
>
>   * are you using the cgi's directly or do you have some kind of fcgi wrapper?

I'm using Lighttpd.

>   * is it a slow or sudden increase?

Slow

>   * is there a sample code/script/page that can trigger this?

I don't know, there are several sites hosted, one Invision Power Board. 
I've no idea what triggers the leak.

>   * can you try installing php5-dbg and run the php-cgi wrapped by valgrind?

What should I look for?

Olaf





More information about the pkg-php-maint mailing list