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

2010-04-16 Thread Olaf van der Spek
Without php5-xcache: 14414 www-data 20 0 144m 21m 4184 S9 0.3 12:20.07 php-cgi 14412 www-data 20 0 141m 18m 4364 S7 0.2 10:36.11 php-cgi 14458 www-data 20 0 141m 18m 4424 S 10 0.2 13:37.94 php-cgi 1 www-data 20 0 139m 15m 4188 S6 0.2

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

2010-04-10 Thread Olaf van der Spek
On 9-4-2010 8:37, sean finney wrote: What should I look for? this definitely sounds like leaky behavior, so without knowing more about lighthttpd/fastcgi setups, i can only give a general suggestion: * reduce the number of threads/children to one. It's a 'production' server, that can't be

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

2010-04-09 Thread sean finney
On Thu, Apr 08, 2010 at 11:35:42PM +0200, Olaf van der Spek wrote: * 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

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

2010-04-08 Thread Ondřej Surý
Could you please try pulling 5.3.2-1 from unstable? Unfortunatelly it's stuck in firebird transition. Ondrej On Thu, Apr 8, 2010 at 23:05, Olaf van der Spek o...@xwis.net wrote: Package: php5-cgi Version: 5.3.1-5 Severity: serious Justification: Memory leaks might affect the entire system

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

2010-04-08 Thread sean finney
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 S3 5.8 9:36.17 php-cgi * are you using the cgi's directly or do you have some kind of fcgi wrapper? * is it a slow or sudden

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

2010-04-08 Thread Raphael Geissert
severity 577009 important tag 577009 moreinfo thanks On 8 April 2010 17:05, Olaf van der Spek o...@xwis.net wrote: Package: php5-cgi Version: 5.3.1-5 Severity: serious Justification: Memory leaks might affect the entire system Hi, I'm not sure why php is using so much memory. The system

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

2010-04-08 Thread Raphael Geissert
On 8 April 2010 17:40, Olaf van der Spek o...@xwis.net wrote: Didn't I post extensions already? Installed extensions, yes. Enabled extensions: no. Actually used extensions: no. Setup is Lighttpd. standard cgi? fastcgi? ... Main script is Invision Power Board. And have you considered

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

2010-04-08 Thread Olaf van der Spek
On 8-4-2010 23:53, Raphael Geissert wrote: On 8 April 2010 17:40, Olaf van der Speko...@xwis.net wrote: Didn't I post extensions already? Installed extensions, yes. Enabled extensions: no. Actually used extensions: no. I didn't touch them, so I guess the installed ones are enabled too.

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

2010-04-08 Thread Olaf van der Spek
On 8-4-2010 23:36, Ondřej Surý wrote: Could you please try pulling 5.3.2-1 from unstable? Unfortunatelly it's stuck in firebird transition. Sure. Let's see what happens. $ dpkg -l|grep php5 ii php5-cgi5.3.2-1 server-side, HTML-embedded scripting language (CGI

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

2010-04-08 Thread Olaf van der Spek
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 S3 5.8 9:36.17 php-cgi * are you using the cgi's directly or do you have some kind of fcgi

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

2010-04-08 Thread Olaf van der Spek
On 8-4-2010 23:38, Raphael Geissert wrote: I'm not sure why php is using so much memory. The system has 8 gb real and 4 gb swap and the OOM killer has been invoked several times already. I'm sure that you yourself can see that your report is vague and useless without any further information.