From: gary dot wilson at coull dot biz Operating system: Windows Server 2000 PHP version: 5.1.2 PHP Bug Type: *General Issues Bug description: FATAL: emalloc(): Unable to allocate
Description: ------------ We are running Apache 2.0.55 (with OpenSSL 0.9.8a), Drupal 4.6 with MySQL 5.0. We run two hardware load balanced servers of identical spec and configuration and are seeing an error on both servers (not at the same times though). A file that is available within the CMS on network attached storage is downloadable, however on intermittent occasions the client download hangs and well see the following in the Apache error log: FATAL: emalloc(): Unable to allocate 2629871 bytes Apache then restarts. This is a fairly intermittent problem and is sometimes reproducible on some networks but not consistently reproducible. Our memory_limit is set to 8M and the downloadable file is 2.6Mb. I have up-ed this to 32M (as some similar bug reports suggested this). Research and many articles have pointed to php as the candidate, however knowing where to begin is the problem. Just a point in the right direction would be extremely helpful. Regards Gary -- Edit bug report at http://bugs.php.net/?id=36550&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36550&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36550&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36550&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36550&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36550&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36550&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36550&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36550&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36550&r=support Expected behavior: http://bugs.php.net/fix.php?id=36550&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36550&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36550&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36550&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36550&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36550&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36550&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36550&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36550&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36550&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36550&r=mysqlcfg