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
This commit is contained in:
Kalle Sommer Nielsen 2010-10-24 14:29:42 +00:00
parent 82354105ea
commit dee2b40775

View file

@ -31,6 +31,14 @@
number is to allocate more memory for APC. Barring that, the <literal>apc.filters
</literal> ought to be used to cache fewer scripts.
</para>
<para>
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 <literal>/proc/sys/kernel/shmmax</literal>. 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.
</para>
<para>
<table>
<title>APC configuration options</title>