Bug#577009: php5-cgi + xcache == memory leak

2010-06-14 Thread Olaf van der Spek

On 14-6-2010 16:05, Michal Čihař wrote:

Because I can not reproduce this. All I can reproduce is the small
testcase, which really does not prove anything.


Sorry, maybe I was just not clear enough: There is definitely leak in
your original setup, which seems to be caused either directly by xcache
or by it's interactions with other modules.

But I failed to see this in some minimal test case and I have no idea
how to reproduce your problem as the leak does not happen anywhere
where I tested it.


I wish I had a simple test case but I'm afraid I don't.

Olaf





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#577009: php5-cgi + xcache == memory leak

2010-06-14 Thread Michal Čihař
Hi

Dne Mon, 14 Jun 2010 16:03:28 +0200
Michal Čihař  napsal(a):

> Dne Mon, 14 Jun 2010 15:59:43 +0200
> Olaf van der Spek  napsal(a):
> 
> > On 14-6-2010 15:48, Michal Čihař wrote:
> > >>> What other PHP modules to do you have loaded?
> > >>
> > >> $ ls /etc/php5/cgi/conf.d
> > >> gd.ini  mcrypt.ini  mysqli.ini  mysql.ini  pdo.ini  pdo_mysql.ini
> > >> suhosin.ini  xcache.ini
> > >
> > > This does not sound like something special. I tried to to debug the
> > > minimal case a bit more, but without any luck. And I'm not really sure
> > > if there is real leak in that. I'd really welcome somebody with more
> > > experiences with debugging PHP extensions to help me here.
> > 
> > 1.8 g > 128 m
> > 
> > Why are you not sure there's a real leak?
> 
> Because I can not reproduce this. All I can reproduce is the small
> testcase, which really does not prove anything.

Sorry, maybe I was just not clear enough: There is definitely leak in
your original setup, which seems to be caused either directly by xcache
or by it's interactions with other modules.

But I failed to see this in some minimal test case and I have no idea
how to reproduce your problem as the leak does not happen anywhere
where I tested it.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#577009: php5-cgi + xcache == memory leak

2010-06-14 Thread Olaf van der Spek

On 14-6-2010 15:48, Michal Čihař wrote:

What other PHP modules to do you have loaded?


$ ls /etc/php5/cgi/conf.d
gd.ini  mcrypt.ini  mysqli.ini  mysql.ini  pdo.ini  pdo_mysql.ini
suhosin.ini  xcache.ini


This does not sound like something special. I tried to to debug the
minimal case a bit more, but without any luck. And I'm not really sure
if there is real leak in that. I'd really welcome somebody with more
experiences with debugging PHP extensions to help me here.


1.8 g > 128 m

Why are you not sure there's a real leak?

19826 www-data  20   0 1980m 1.8g  15m S0 23.0  29:26.46 php-cgi 




19843 www-data  20   0 1966m 1.8g  15m S0 22.8  28:21.53 php-cgi 




 1001 www-data  20   0  521m 392m  15m S0  4.9   6:56.85 php-cgi

Olaf



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#577009: php5-cgi + xcache == memory leak

2010-06-14 Thread Michal Čihař
Hi

Dne Thu, 06 May 2010 12:40:15 +0200
Olaf van der Spek  napsal(a):

> On 6-5-2010 9:23, Michal Čihař wrote:
> > Hi
> >
> > Dne Thu, 22 Apr 2010 18:01:31 +0200
> > Olaf van der Spek  napsal(a):
> >
> >> On 22-4-2010 13:36, Michal Čihař wrote:
> >>> Hi
> >>>
> >>> I somehow missed that this bug got reassigned to xcache. Can you please
> >>> share your xcache configuration file?
> >>
> >> It's the default, no changes at all.
> >
> > It's strange, because I fail to see such huge leak on any setup I have.
> >
> > What other PHP modules to do you have loaded?
> 
> $ ls /etc/php5/cgi/conf.d
> gd.ini  mcrypt.ini  mysqli.ini  mysql.ini  pdo.ini  pdo_mysql.ini 
> suhosin.ini  xcache.ini

This does not sound like something special. I tried to to debug the
minimal case a bit more, but without any luck. And I'm not really sure
if there is real leak in that. I'd really welcome somebody with more
experiences with debugging PHP extensions to help me here.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#577009: php5-cgi + xcache == memory leak

2010-05-06 Thread Olaf van der Spek

On 6-5-2010 9:23, Michal Čihař wrote:

Hi

Dne Thu, 22 Apr 2010 18:01:31 +0200
Olaf van der Spek  napsal(a):


On 22-4-2010 13:36, Michal Čihař wrote:

Hi

I somehow missed that this bug got reassigned to xcache. Can you please
share your xcache configuration file?


It's the default, no changes at all.


It's strange, because I fail to see such huge leak on any setup I have.

What other PHP modules to do you have loaded?


$ ls /etc/php5/cgi/conf.d
gd.ini  mcrypt.ini  mysqli.ini  mysql.ini  pdo.ini  pdo_mysql.ini 
suhosin.ini  xcache.ini


27635 www-data  20   0 1270m 1.1g  14m S0 14.2  30:53.77 php-cgi 




28202 www-data  20   0  886m 755m  14m S0  9.4  27:53.30 php-cgi 




28252 www-data  20   0  882m 751m  14m S   11  9.4  21:07.07 php-cgi 




29893 mysql 20   0  826m 568m 4120 S7  7.1   4500:55 mysqld 




28877 www-data  20   0  661m 529m  14m S0  6.6  13:51.29 php-cgi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#577009: php5-cgi + xcache == memory leak

2010-05-06 Thread Michal Čihař
Hi

Dne Thu, 22 Apr 2010 18:01:31 +0200
Olaf van der Spek  napsal(a):

> On 22-4-2010 13:36, Michal Čihař wrote:
> > Hi
> >
> > I somehow missed that this bug got reassigned to xcache. Can you please
> > share your xcache configuration file?
> 
> It's the default, no changes at all.

It's strange, because I fail to see such huge leak on any setup I have.

What other PHP modules to do you have loaded?

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#577009: php5-cgi + xcache == memory leak

2010-04-22 Thread Olaf van der Spek

On 22-4-2010 13:36, Michal Čihař wrote:

Hi

I somehow missed that this bug got reassigned to xcache. Can you please
share your xcache configuration file?


It's the default, no changes at all.

Olaf



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#577009: php5-cgi + xcache == memory leak

2010-04-22 Thread Michal Čihař
Hi

I somehow missed that this bug got reassigned to xcache. Can you please
share your xcache configuration file?

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature