#13324 [Dup->Fbk]: Access violations / memory problems
| From: | sniper@php.net | Date: | Mon, 30 Sep 2002 01:26:27 +0000 |
| Subject: | #13324 [Dup->Fbk]: Access violations / memory problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20722@lists.php.net to get a copy of this message | ||
ID: 13324
Updated by: sniper@php.net
Reported By: txtilde@hotmail.com
-Status: Duplicate
+Status: Feedback
Bug Type: IIS related
Operating System: Windows 2000 SP2
PHP Version: 4.0.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-06-03 12:17:39] mfischer@php.net
Dup of 15333
------------------------------------------------------------------------
[2002-03-26 17:43:46] mail-php.net@kimihia.org.nz
I've reproduced this without Zend Optimizer.
Under heavy load (45 requests / second) I received a number of errors
about being unable to redeclare functions.
Under low load there were no complaints.
PHP 4.2.0 / IIS 5 / Windows 2000
------------------------------------------------------------------------
[2002-02-19 08:55:18] pthiebaud@labeltechnologies.com
Are you using Zendencoder? I have the same problem on a machine running
Zendoptimizer with some pages that were Zendencoded. The server crashed
every 20-30 request or so. I took off the pages Zendencoded and its
working fine now... Seems that the problem stands there...It is not the
Zendoptimizer, cause it is still in the php.ini and it works fine.
------------------------------------------------------------------------
[2001-09-15 20:50:27] txtilde@hotmail.com
After further investigation, this seems to be a hint to a higher IIS
threading problem rather than a problem specific to Zend Optimizer. If
I create a php page with the function getmicrotime() in it and then
call this page from 5 different browser windows at about the same time,
I receive the following error:
Fatal error: Cannot redeclare getmicrotime() in
C:\Websites\mysqlconnect.php on line 2
I've also confirmed that variables declared within the realm of the
script are also available to other browser sessions. For example,
creating a random number in a script and then executing a time
consuming for-loop will result in more than one window ending up with
the same random number.
------------------------------------------------------------------------
[2001-09-15 20:12:40] txtilde@hotmail.com
As a follow-up, with ZendOptimizer.dll uncommented in the php.ini
file:
Each IIS restart and request to the php webpage will result in a new
instance DLLHOST.exe being created in the Windows Task Manager. Older
DLLHost.exe instances are not released with IIS Reset.
------------------------------------------------------------------------
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/13324
--
Edit this bug report at http://bugs.php.net/?id=13324&edit=1