ID: 32002
Comment by: automap at gmail dot com
Reported By: tlamay at cte1 dot com
Status: No Feedback
Bug Type: Unknown/Other Function
Operating System: Windows 2003
PHP Version: 4CVS-2005-02-17
New Comment:
I also encounter this problem:
[Sun Oct 01 16:52:03 2006] [notice] Apache/2.0.59 (Win32) mod_jk2/2.0.4
PHP/5.0.4 configured -- resuming normal operations
[Sun Oct 01 16:52:03 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Oct 01 16:52:03 2006] [notice] Parent: Created child process 460
[Sun Oct 01 16:52:03 2006] [notice] Disabled use of AcceptEx() WinSock2
API
[Sun Oct 01 16:52:03 2006] [notice] Child 460: Child process is
running
[Sun Oct 01 16:52:03 2006] [notice] Child 460: Acquired the start
mutex.
[Sun Oct 01 16:52:03 2006] [notice] Child 460: Starting 250 worker
threads.
[Sun Oct 01 16:52:03 2006] [notice] Child 460: Listening on port 80.
[Sun Oct 01 18:39:30 2006] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Sun Oct 01 18:39:31 2006] [notice] Apache/2.0.59 (Win32) mod_jk2/2.0.4
PHP/5.0.4 configured -- resuming normal operations
[Sun Oct 01 18:39:31 2006] [notice] Server built: Jul 27 2006 15:55:03
[Sun Oct 01 18:39:31 2006] [notice] Parent: Created child process 2272
[Sun Oct 01 18:39:31 2006] [notice] Disabled use of AcceptEx() WinSock2
API
[Sun Oct 01 18:39:32 2006] [notice] Child 2272: Child process is
running
[Sun Oct 01 18:39:32 2006] [notice] Child 2272: Acquired the start
mutex.
[Sun Oct 01 18:39:32 2006] [notice] Child 2272: Starting 250 worker
threads.
[Sun Oct 01 18:39:32 2006] [notice] Child 2272: Listening on port 80.
FATAL: erealloc(): Unable to allocate 1049288 bytes
[Sun Oct 01 20:15:12 2006] [notice] Parent: child process exited with
status 1 -- Restarting.
Who know how to overcome it?
Please send email to me: [EMAIL PROTECTED]
Previous Comments:
------------------------------------------------------------------------
[2006-07-04 13:22:05] vincent dot lepot at smile dot fr
This bug happens for me since I added in httpd.conf the option
Win32DisableAcceptEx (because of the number of warnings appearing).
When I comment it, there are no more memory leak. So it seems to be a
Apache 2 bug.
------------------------------------------------------------------------
[2006-05-29 03:20:24] jcink2k at gmail dot com
I get this bug too. Is there any fix at all after all this time?
------------------------------------------------------------------------
[2006-04-14 12:23:39] php at softandem dot com
I also noticed this problem
FATAL: erealloc(): Unable to allocate xxxx bytes
with various version of windows/php/apache :
Windows 2000 server or Windows server 2003
PHP 4.4.1 (I think 4.3.2 too)
Apache 1.3.19, 1.3.34, 2.0.55
The problem is very critical because I use a php module that keep
sessions informations of my users in C++ objects which are lost when
apache rotates.
The problem does not occur at regular interval but always. The problem
occurs frequently when there is a lot of query passed from Internet
Explorer 6.0 on a single windows machine (example : refreshing a page
lots of times)
Thank you for your experiments on this issue.
------------------------------------------------------------------------
[2006-01-01 12:18:25] vsitforum at yahoo dot com
I also experience this problem with my current home server
windows XP Professional SP2
apache 2.0.55
PHP 4.4.1
Zend optimizer 2.6.0
Hardware is pretty decent
P4 2.8 CPU
2GB of DDR400
The symtom is very much alike the very first post.I would like to know
if there's anyway to fix this
Thank you
------------------------------------------------------------------------
[2005-11-28 03:26:44] broadmind at magicn dot com
I have also got this problem too. :_(
This is very serious one because sometimes it crashes apache server
totally, causes to non-restart condition.
(I have to restart the computer at this time)
The memory sizs of PHP.ini didn't any effects on it.
Our platform is:
AMD Opteron 2 CPU (multiprocessor)
Win2K Server
Apache 1.3.34
PHP 5.1.0
FATAL: erealloc(): Unable to allocate xxx bytes
At this time, the child process is terminated and Apache is restarted
automatically. This results in the loss of POST data or the error of
page connection.
------------------------------------------------------------------------
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/32002
--
Edit this bug report at http://bugs.php.net/?id=32002&edit=1