From dee2b4077517137cdeccc0257a4957a98673acec Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sun, 24 Oct 2010 14:29:42 +0000 Subject: [PATCH] Fixed bug #38678 (APC docs need mmap infos) with notes from Gopal git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304704 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/apc/ini.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reference/apc/ini.xml b/reference/apc/ini.xml index 364b059bd1..b530862414 100644 --- a/reference/apc/ini.xml +++ b/reference/apc/ini.xml @@ -31,6 +31,14 @@ number is to allocate more memory for APC. Barring that, the apc.filters ought to be used to cache fewer scripts. + + When APC is compiled with mmap support (Memory Mapping), it will use only one + memory segment, unlike when APC is built with SHM (SysV Shared Memory) support + that uses multiple memory segments. MMAP does not have a maximum limit like SHM + does in /proc/sys/kernel/shmmax. In general MMAP support is + recommeded because it will reclaim the memory faster when the webserver is + restarted and all in all reduces memory allocation impact at startup. + APC configuration options