note 107932 modified in apc.configuration by danbrown

From: Date: Thu, 10 May 2012 18:06:37 +0000
Subject: note 107932 modified in apc.configuration by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-187720@lists.php.net to get a copy of this message
\"apc_mmap: mmap failed: Cannot allocate memory

WARNING:

Do NOT include a “M” specifier when providing a size for apc.shm_size. Leave it off. It will assume MBs anyways. This solved the issue.

This is in contrast with the manual page, where it has been documented with a default value of “32M”, while phpinfo() says “32″. This behaviour change with APC 3.1.4, so if your version is older than that you’ll have to use the format without the M.\" --was-- "apc_mmap: mmap failed: Cannot allocate memory WARNING: Do NOT include a “M” specifier when providing a size for apc.shm_size. Leave it off. It will assume MBs anyways. This solved the issue. This is in contrast with the manual page, where it has been documented with a default value of “32M”, while phpinfo() says “32″. This behaviour change with APC 3.1.4, so if your version is older than that you’ll have to use the format without the M." Found this information at: http://e-mats.org/2010/10/apc_mmap-mmap-failed-cannot-allocate-memory/ Thanks Mats http://php.net/manual/en/apc.configuration.php

« previous php.notes (#187720) next »