Apache 2.4 create a huge amount of shared memory segments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm currently working on a migration from Apache 2.2 to 2.4 (2.4.10). I'm facing an issue with the usage of proxy_balancer with Apache 2.4. They now require the mod_slotmem_shm.so module to work correctly. 

I have added this module but i noticed that a single proxy_balancer now creates many memory shared segments on the OS. The problem is that my configuration declares many proxy_balancer (nearly 100), actually i soon as i declare more that 10 proxy balancers, i encountered this error :

    [proxy_balancer:emerg] [pid 1430:tid 140583699289856] (28)No space left on device: AH01185: worker slotmem_create failed

After many investigation i finally identified that the shared memory segment is the ressource exceeded which raises that error.

On my OS (RHEL 6.4), i have the following configuration :

    ------ Shared Memory Limits --------
    max number of segments = 4096
    max seg size (kbytes) = 67108864
    max total shared memory (kbytes) = 17179869184
    min seg size (bytes) = 1

I also noticed that a single proxy_balancer creates almost 350 shm on the system.

Is it normal that a single proxy_balancer creates so many shm ?

Do i really have to increase the memory segment on my system in huge proportion to handle all my proxy_balancers ?

Am i missing something ? :)

Thanks in advance.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux