ID: 32002 Comment by: bob at cave dot net 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 is not just an apache problem. I am using WebSite Pro under win2000 with php 4.x and get the same error. The website service dies, and the watchdog needs to restart it. Previous Comments: ------------------------------------------------------------------------ [2006-12-23 02:49:40] vst at gamervision dot net OS: Windows XP Pro and Server 2003 PHP: 4.4.4 Apache: 2.23 CPU: AMD X2 4400+ RAM: 2GB DDR I have the same issue and consider it as CRITICAL. I tried it on many Windows systems and the same results. If I add 'Win32DisableAcceptEx' then I'm getting this issue. But I must use 'Win32DisableAcceptEx' because without it I'm getting some Winsock issues. I can't upgrade to PHP 5 because some of the parts in my side having MySQL connection issues with PHP 5. PLEASE!! PLEASE FIX IT ALREADY!! ------------------------------------------------------------------------ [2006-12-21 21:00:11] csaba at ai-media dot com 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 XXX 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. ------------------------------------------------------------------------ [2006-12-12 23:04:20] alex_25052 at hotmail dot com Same thing here. Tons of FATAL: erealloc(): Unable to allocate xxxx 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 :) ------------------------------------------------------------------------ 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