|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-11-01 02:40 UTC] netex at 163 dot com
Description: ------------ APC 3.0.12p2, PHP 5.1.6, FreeBSD 6.1, 4GB RAM, 4GB Swap (Not used) A lighttpd 1.4.13 + php/fastcgi server reported these lines a few times each day. php in malloc(): warning: recursive call FATAL: emalloc(): Unable to allocate 79 bytes Not found yet if PHP runs w/o APC. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 14:00:01 2025 UTC |
This isn't anything to do with APC. The same error also occurs when a script like this is run, with or without APC installed. <?php $foo = ''; while(true) { $foo .= 'bar.baz'; } ?> It's the web server process running out of memory while running the script, even before the 30-second timeout from PHP occurs.