ID:               41713
 User updated by:  mplomer at gmx dot de
 Reported By:      mplomer at gmx dot de
 Status:           Open
 Bug Type:         Performance problem
 Operating System: Windows
 PHP Version:      5.2.4-dev 2007-06-26 00:09
 New Comment:

OK, no problem. ... Today I tested this with apache worker, but I still
cannot reproduce it under linux.

I used a Debian 4.0 system and I compiled Apache 2.2.4 with:
./configure --prefix=/usr/local/apache2 --with-included-apr
--with-mpm=worker --enable-so

... and PHP 5.2.3 with:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs --enable-memory-limit

So phpinfo() said, "Thread Safety" is enabled. And I played around with
the elementCount ... but under linux the memory is always completely
freed.

If you have some tips to track this down inside PHP, please let me
know. I now have a working PHP build-environment under windows.


Previous Comments:
------------------------------------------------------------------------

[2007-06-27 11:54:27] [EMAIL PROTECTED]

It's most likely a ZTS issue, so testing on *nix with e.g. apache
worker and apache2handler SAPI might be a good idea too..

------------------------------------------------------------------------

[2007-06-27 11:42:32] [EMAIL PROTECTED]

Too bad we don't have any developers maintaining Windows port on a
daily basis.
So you're encouraged to help us and investigate the issue.
Any additional information you can find would be appreciated.

------------------------------------------------------------------------

[2007-06-26 11:37:27] mplomer at gmx dot de

It seems so. I could reproduce it only under windows yet. (See my
comment from [17 Jun 9:04am UTC]).

------------------------------------------------------------------------

[2007-06-26 11:10:41] [EMAIL PROTECTED]

Is this windows only issue?

------------------------------------------------------------------------

[2007-06-26 06:52:27] mplomer at gmx dot de

I can still reproduce this. I tested this with the actual "5.2.4-dev
2007-06-26 00:09" snapshot without php.ini.
Today with 200000 array elements I needed 6 or 7 script executions,
with 400000 elements I need 2-3 script executions,
and with 800000 I could not reproduce the problem.

Could you reproduce the problem? Or do you need some additional infos
to reproduce it?

PS: Now httpd.exe crashes on every shutdown, but this possibly another
bug ;-)

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41713

-- 
Edit this bug report at http://bugs.php.net/?id=41713&edit=1

Reply via email to