Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #32002 : FATAL erealloc() Restarts
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 29th May 17:45
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts



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 ***x 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 *** 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
  Reply With Quote


  sponsored links


2 29th May 17:46
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts



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 ***x 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 *** 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
  Reply With Quote
3 5th June 08:28
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


ID: 32002
Comment by: jcink2k 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 get this bug too. Is there any fix at all after all this time?


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

[2006-04-14 12:23:39] php at softandem dot com

I also noticed this problem

FATAL: erealloc(): Unable to allocate ***x 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 *** 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.

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

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
  Reply With Quote
4 5th June 08:28
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


ID: 32002
Comment by: jcink2k 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 get this bug too. Is there any fix at all after all this time?


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

[2006-04-14 12:23:39] php at softandem dot com

I also noticed this problem

FATAL: erealloc(): Unable to allocate ***x 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 *** 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.

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

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
  Reply With Quote
5 10th June 06:48
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


ID: 32002
Comment by: vincent dot lepot at smile dot fr
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:

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.


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

[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 ***x 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 *** 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 ?

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

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
  Reply With Quote
6 25th June 21:26
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


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: automap@gmail.com


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 ***x 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 *** 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
  Reply With Quote
7 26th June 20:01
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


ID: 32002
Comment by: levi_tedder at hotmail 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:

Hi

I have the same problem.

My setup:
Win2k Server (2 cpu) 2 GB RAM
Apache 2.0.59
PHP 5.1.6
OpenSSL 0.9.8c

Error message in apache log
FATAL: erealloc(): Unable to allocate 1572864 bytes

The exact same number of bytes is reported every 10-20 minutes, and
after a day or two the apache cannot be restarted and I need to reboot
the whole server.
Most of my scripts are using Pear DB for database handling.
I am unable to find out which script/page is causing this.

Also note that I'm using the Win32DisableAcceptEx (as I guess all
others are) in apache conf to get rid of slow performance and a bunch
of other errors (The specified network name is no longer available).
The FATAL error only appear when using Win32DisableAcceptEx.

If you have any ideas, please let the PHP guys and me know it


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

[2006-10-02 03:38:27] automap at gmail dot com

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: automap@gmail.com

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

[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 ***x 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

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

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
  Reply With Quote
8 3rd July 15:52
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


ID: 32002
Comment by: levi_tedder at hotmail 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 have installed PHP 5.2 on the server where I had this issue, and it
seems to have fixed it. No fatal for 24 hours, but I will let you know
if it reappears when traffic peeks (although traffic was not an issue
when this happened).


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

[2006-10-09 06:57:44] levi_tedder at hotmail dot com

Hi

I have the same problem.

My setup:
Win2k Server (2 cpu) 2 GB RAM
Apache 2.0.59
PHP 5.1.6
OpenSSL 0.9.8c

Error message in apache log
FATAL: erealloc(): Unable to allocate 1572864 bytes

The exact same number of bytes is reported every 10-20 minutes, and
after a day or two the apache cannot be restarted and I need to reboot
the whole server.
Most of my scripts are using Pear DB for database handling.
I am unable to find out which script/page is causing this.

Also note that I'm using the Win32DisableAcceptEx (as I guess all
others are) in apache conf to get rid of slow performance and a bunch
of other errors (The specified network name is no longer available).
The FATAL error only appear when using Win32DisableAcceptEx.

If you have any ideas, please let the PHP guys and me know it

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

[2006-10-02 03:38:27] automap at gmail dot com

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: automap@gmail.com

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

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

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

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
  Reply With Quote
9 5th July 03:22
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


ID: 32002
Comment by: alex_25052 at hotmail 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:

Same thing here.

Tons of FATAL: erealloc(): Unable to allocate ***x bytes

I config is
PHP 4.4.4
Apache 2.2.3
on Windows 2003 Xeon Dual web machine, 2Gb ram.

Sometimes apache restarts by itself, sometimes it doesn't and i have to
do it manualy

Drives me nuts...


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

[2006-12-03 12:53:49] levi_tedder at hotmail dot com

I have installed PHP 5.2 on the server where I had this issue, and it
seems to have fixed it. No fatal for 24 hours, but I will let you know
if it reappears when traffic peeks (although traffic was not an issue
when this happened).

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

[2006-10-09 06:57:44] levi_tedder at hotmail dot com

Hi

I have the same problem.

My setup:
Win2k Server (2 cpu) 2 GB RAM
Apache 2.0.59
PHP 5.1.6
OpenSSL 0.9.8c

Error message in apache log
FATAL: erealloc(): Unable to allocate 1572864 bytes

The exact same number of bytes is reported every 10-20 minutes, and
after a day or two the apache cannot be restarted and I need to reboot
the whole server.
Most of my scripts are using Pear DB for database handling.
I am unable to find out which script/page is causing this.

Also note that I'm using the Win32DisableAcceptEx (as I guess all
others are) in apache conf to get rid of slow performance and a bunch
of other errors (The specified network name is no longer available).
The FATAL error only appear when using Win32DisableAcceptEx.

If you have any ideas, please let the PHP guys and me know it

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

[2006-10-02 03:38:27] automap at gmail dot com

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: automap@gmail.com

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

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

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

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
  Reply With Quote
10 6th July 01:03
php-bugs
External User
 
Posts: 1
Default #32002 : FATAL erealloc() Restarts


ID: 32002
Comment by: csaba at ai-media 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:

Our configuration:

Windows2003 Web Edition
PHP 5.2, ZendOptimizer 3
Apache 2.2.3
Tomcat 5.5.17

To reproduce: this happens consistently on the Windows platform as long
as Win32DisableAcceptEx is enabled in the Apache httpd.conf. Tested with
Apache2.0.59, PHP 5.1.6 and PHP 5.2. We get "FATAL: erealloc(): Unable
to allocate *** bytes" in the Apache2 error log with 5.1.6 and no
feedback to the user (could not connect to server), with 5.2 the user
sees the same error message in the browser.

There's an open issue in the Apache2 bug list here:
http://issues.apache.org/bugzilla/show_bug.cgi?id=34664#c8

Comment 8 is particularly interesting: one of the Apache developers say
they do not call erealloc. At this point (to me) it's not clear whether
this is a PHP or an Apache bug, but it's definitely related to both.


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

[2006-12-12 23:04:20] alex_25052 at hotmail dot com

Same thing here.

Tons of FATAL: erealloc(): Unable to allocate ***x bytes

I config is
PHP 4.4.4
Apache 2.2.3
on Windows 2003 Xeon Dual web machine, 2Gb ram.

Sometimes apache restarts by itself, sometimes it doesn't and i have to
do it manualy

Drives me nuts...

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

[2006-12-03 12:53:49] levi_tedder at hotmail dot com

I have installed PHP 5.2 on the server where I had this issue, and it
seems to have fixed it. No fatal for 24 hours, but I will let you know
if it reappears when traffic peeks (although traffic was not an issue
when this happened).

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

[2006-10-09 06:57:44] levi_tedder at hotmail dot com

Hi

I have the same problem.

My setup:
Win2k Server (2 cpu) 2 GB RAM
Apache 2.0.59
PHP 5.1.6
OpenSSL 0.9.8c

Error message in apache log
FATAL: erealloc(): Unable to allocate 1572864 bytes

The exact same number of bytes is reported every 10-20 minutes, and
after a day or two the apache cannot be restarted and I need to reboot
the whole server.
Most of my scripts are using Pear DB for database handling.
I am unable to find out which script/page is causing this.

Also note that I'm using the Win32DisableAcceptEx (as I guess all
others are) in apache conf to get rid of slow performance and a bunch
of other errors (The specified network name is no longer available).
The FATAL error only appear when using Win32DisableAcceptEx.

If you have any ideas, please let the PHP guys and me know it

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

[2006-10-02 03:38:27] automap at gmail dot com

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: automap@gmail.com

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

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

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

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
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666