this is the current apc.ini
extension=apc.so apc.enabled=1 apc.ttl=86400 apc.user_ttl=86400 apc.shm_segments=1 apc.shm_size=64
which gives me
1 Segment(s) with 64.0 MBytes (mmap memory, pthread mutex locking)
the funny thing is that according to this only 32M should be possible..
cat /proc/sys/kernel/shmmax 33554432
if i increase the segments, it has just no effect, but visible in apc.php if i raise shm_size above 64 (regardless of the segments setting) i get the following error:
[apc-error] apc_mmap: mmap failed: No space left on device
i need about 90M of opcache so from my understanding given the shmmax setting i would go for 2x32M segments...
anyone can think of a reason why multiple segments wont work? any idea why 64M is working altough the shmmax limit is 32M?
APC Version 3.0.19 PHP Version 5.2.0-8+etch16
and system (lenny)...
uname -a Linux vs210044.vserver.de 2.6.9-023stab052.4-smp #1 SMP Tue May 11 19:21:39 MSD 2010 x86_64 GNU/Linux
and yes i know its outdated, didnt get the chance to upgrade yet, its a bit complicated...