Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Sterling Hughes
well, disabling ZEND_MM does *fix* the/a leak. It was disabled when we released beta 1 and has been subsequently re-enabled. As for checking my facts and helping to debug the problem, I'm the one who found the leak and who found the "fix" (a change which prevents the problem from occuring) nearly

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Andi Gutmans
BTW, besides ZEND_MM being slightly faster on a few benchmarks I made (although it's platform dependant so likely malloc could be faster on others), I don't mind disabling it for 5.0.0. That said, there's a bug lurking which we need to find before, and as I mentioned, I don't think it's in the Z

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Andi Gutmans
Sterling, As far as I can tell, it's not ZEND_MM which is leaking, but after I fixed a bug in zend_alloc.c, these problems started happening. We are using the same zend_alloc.c code for ZEND_MM and allocator on Win32, so in any case, this problem needs to be fixed. It might be that it happens wh

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Sterling Hughes
yep, this is what I found too, and have been saying for nearly a year: http://www.edwardbear.org/blog/archives/000129.html#000129 maybe one of these days we'll give up on the ZEND_MM, which doesn't by us much anyway and has leaked since well before and after beta 1. Ok, that's my annoying I tol

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Derick Rethans
On Mon, 28 Jun 2004, Zeev Suraski wrote: > Edin, > > Can you try disabling ZEND_MM and see if the problem persists? (it's in > Zend/zend_mm.h, #undef ZEND_MM). Will do. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Zeev Suraski
Edin, Can you try disabling ZEND_MM and see if the problem persists? (it's in Zend/zend_mm.h, #undef ZEND_MM). Zeev At 11:54 28/06/2004, Derick Rethans wrote: On Sun, 27 Jun 2004, Wez Furlong wrote: > If someone does upgrade it, please copy the getloadavg() function from the > sources in ~wez. >

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Stanislav Malyshev
DR>>10:51 <@edink> leaks like hell DR>>10:51 <@Derick> ouch DR>>10:51 <@edink> all mem was used up DR>>10:51 <@edink> so a put maxreqperchild to 20 DR>>10:51 <@Derick> yikes DR>>10:52 <@edink> some httpd processes were 600MB ;) I suggest to compile it in debug mode and see where the leaks are...

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-28 Thread Derick Rethans
On Sun, 27 Jun 2004, Wez Furlong wrote: > If someone does upgrade it, please copy the getloadavg() function from the > sources in ~wez. > > If no one has done it by the time I get back (I'm also plane hopping), I'll > do it. Do not upgrade it: 10:50 <@edink> i had to fix ez1 over the weekend 10:5

Re: [PHP-DEV] Upgrading www.php.net to PHP 5.0

2004-06-27 Thread Wez Furlong
If someone does upgrade it, please copy the getloadavg() function from the sources in ~wez. If no one has done it by the time I get back (I'm also plane hopping), I'll do it. --Wez. - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June