PHP/APC fatal error, apc_mmap: mmap failed

Posted by Sudowned on Server Fault See other posts from Server Fault or by Sudowned
Published on 2012-02-27T20:27:12Z Indexed on 2012/06/25 9:18 UTC
Read the original article Hit count: 2007

Filed under:
|
|

I'm seeing some intermittent CPU usage spikes to 100%, sort of correlated to these log entries:

[27-Feb-2012 13:29:29] PHP Fatal error:  PHP Startup: apc_mmap: mmap failed: in Unknown on line 0
[27-Feb-2012 13:29:30] PHP Fatal error:  PHP Startup: apc_mmap: mmap failed: in Unknown on line 0
[27-Feb-2012 13:29:31] PHP Fatal error:  PHP Startup: apc_mmap: mmap failed: in Unknown on line 0
[27-Feb-2012 13:29:31] PHP Fatal error:  PHP Startup: apc_mmap: mmap failed: in Unknown on line 0

phpinfo() indicates that APC is set up, and as far as I can tell this error doesn't cause visible 500 errors on the live site, which is a WordPress install that gets about 600k views monthly. Google's been unhelpful so far, and I was hoping that someone here had some insight as to what's causing this and how to fix it. Curiously, this error only shows up /usr/local/apache2/logs/error_log and not the error_log for the cpanel-configured site.

© Server Fault or respective owner

Related posts about apache2

Related posts about php