[Bug 1044430] Re: Php ftp_* eats memory

2014-06-23 Thread Ondřej Surý
Ryan, I think that Clint was *being fair* since he has requested additional information from the reporter... Can you provide more information on how you used xdebug to determine it was ftp_* causing your memory leaks? Also have you tried using gc_enable();gc_collect_cycles() in your code after

[Bug 1044430] Re: Php ftp_* eats memory

2014-06-23 Thread kaiszy
Hi Ondrej, you are right...and not :) With a free in sh you see that the memory usage goes up. Because Clint (he is the expert) says that he don't lose any memory i thought it was a problem on my system and develop a workaround for our deployment software. But shame on my the i did not send

[Bug 1044430] Re: Php ftp_* eats memory

2014-06-22 Thread Ryan C. Underwood
** Changed in: php5 (Ubuntu) Status: Expired = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1044430 Title: Php ftp_* eats memory To manage notifications about this

[Bug 1044430] Re: Php ftp_* eats memory

2014-06-22 Thread Ryan C. Underwood
Also, you would not see the leak using memory_get_usage() because the memory is leaked outside of PHP, but due to PHP's mishandling of the connection. So dismissing the bug reporter on this basis was not really fair. -- You received this bug notification because you are a member of Ubuntu

[Bug 1044430] Re: Php ftp_* eats memory

2014-06-22 Thread Ryan C. Underwood
This is a real bug. Here is the patch that fixes it. http://git.php.net/?p=php-src.git;a=commitdiff;h=0863a0d6a0f740874b4ef8dc732a4ec94949470c Here is the bug I filed in the debian BTS. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752366 Without this patch an attacker can launch a denial

[Bug 1044430] Re: Php ftp_* eats memory

2012-11-07 Thread Launchpad Bug Tracker
[Expired for php5 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: php5 (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.

[Bug 1044430] Re: Php ftp_* eats memory

2012-09-08 Thread Clint Byrum
Hello! I am not able to reproduce this using php5-cli from precise or quantal. If I add checks using memory_get_usage(), I get a delta of 288 bytes, and then actually 0 delta once ftp_close is called. Can you provide more information on how you used xdebug to determine it was ftp_* causing your

[Bug 1044430] Re: Php ftp_* eats memory

2012-08-31 Thread kaiszy
** Package changed: ubuntu = php5 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1044430 Title: Php ftp_* eats memory To manage notifications about this bug go to: