#32002 [Com]: FATAL erealloc() Restarts

From: Date: Fri, 14 Apr 2006 12:23:39 +0000
Subject: #32002 [Com]: FATAL erealloc() Restarts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95785@lists.php.net to get a copy of this message
 ID:               32002
 Comment by:       php at softandem 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 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.


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

[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.

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

[2005-09-18 16:40:55] pierre_c at editus dot lu

Our plateform is:

Win2K Server
Apache 1.3.29
PHP 4.3.7

And we have this error too:

FATAL:  erealloc():  Unable to allocate 360448 bytes

HTTP Server will stop after ~48h00 and our service is down. Have
anybody fix this bug ? does I upgrade Apache/PHP ?

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

[2005-09-07 20:52:20] jeffdripps at isegames dot com

Using 4.4.1 binary this problem occurs and the process restarts as soon
as the first *.php file is requested. PHP 4.4.1 is unusable on a
multiprocessor machine running W2K and Apache2.

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

[2005-03-05 01:00:08] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

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


Thread (24 messages)

« previous php.bugs (#95785) next »