Re: questions about apc-configuration
| From: | Thomas Seifert | Date: | Thu, 31 Aug 2006 10:18:20 +0000 |
| Subject: | Re: questions about apc-configuration | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4095@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
> Mmap doesn't use that value so it's fine to increase it higher. There is
> no need for multiple segments as it has only a size limit for SHM and
> yes it gives some overhead.
>
>> Does that mean that multiple segments aren't working at the moment
>> or do I have some configuration error?
>
> multiple segments make only sense for SHM... not for mmap. However you
> could say that for mmap the allocated memory should just be
> apc.shm_segments * apc.shm_size as that's what I would expect atleast.
>
> regards,
> Derick
>
Hello Derick,
thanks a lot for your explanation.
It makes perfect sense this way and I've risen the limit to 64M without
problems that makes me very sure about this limit and mmap :).
Maybe this behaviour could be documented somewhere and the apc.php could
tell about which mode is being used instead of telling:
"Shared Memory 1 Segment(s) with 64.0 MBytes"
which would make me think that its actually using one shm-segment of
64MB instead of mmap with a given size.
Kind regards,
Thomas Seifert