mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
82354105ea
commit
dee2b40775
1 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue