Hi,
This question is probably not 100% related to surgemail but maybe someone on this list has run into a similar problem and would be willing to share their experience?
I'm trying to install Avast and I'm stuck at the point where it tells me that I need more shared memory as follows:
WARNING: libavastengine-4.so.7.0.5 needs 64 SHM segments, max 64000000 B long,
and at least 128000000 bytes of usable SHM in general (few different users in
avastd.conf. Your system offers 256 SHM segments, max size 2147483648 B,
total 0 B of SHM.
(*) On Linux, these limits can be changed via sysctl variables (w/o reboot):
kernel.shmall, kernel.shmmax, kernel.shmmni
This is on a 64-bit linux installation with 8GB of RAM.
My dilemma is that when I query the computer to find out how much SHMMAX and SHMALL I have, I get an outrageous number - think it's 1.8 quadrillion bytes??? Please note that when libavastengine runs (see error message above) it claims that about what my system has appears to conflict with what the ipcs command reports below:
#ipcs -l
------ Messages Limits --------
max queues system wide = 15972
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 18014398509481983
max total shared memory (kbytes) = 18014398509480960
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 1024
max semaphores per array = 250
max semaphores system wide = 256000
max ops per semop call = 32
semaphore max value = 32767
When I set SHMMAX (max seg size (kbytes)) to 256000 kbytes (per surgemail-support recommendation)
and I set SHMALL (max total shared memory (kbytes)) to 100% of available memory or 8589934 kbytes
then Surgemail freezes and restarting it doesn't help.
Anyone run into this problem? Any clues about how to deal with this?
Thanks!
Patrick