Hi all,
I have spent a few weeks now trying to get ZM working correctly and my problems in a nutshell are:
1. Motion Detection and Event Creation does not work (at all in most cases).
2. The web user interface hangs mid-popup waiting for something on the server and the only solution is either to restart Zoneminder manually and/or restart Apache
3. I constantly get errors in the zm_debug.log.xxx file
zma_m8[-1].ERR-zm_monitor.cpp/378 [Can't shmget, probably not enough shared memory space free: Invalid argument]
I'm guessing that these are relating to # 3 above, and I believe that the error message is incorrectly stated and the problem must actually be something else because my machine has 12G RAM, and /dev/shm is 9G:
tmpfs 9.0G 0 9.0G 0% /dev/shm
ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 8192000
max total shared memory (kbytes) = 33554432000
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 24069
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x7a6d0008 622592 apache 700 62209364 4
0x00000000 32769 root 777 102400 2
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 688128 apache 600 1
0x00000000 720897 apache 600 1
0x00000000 753666 apache 600 1
0x00000000 786435 apache 600 1
0x00000000 819204 apache 600 1
0x00000000 851973 apache 600 1
0x00000000 884742 apache 600 1
------ Message Queues --------
key msqid owner perms used-bytes messages
# sysctl -p
dev.hpet.max-user-freq = 1024
kernel.shmall = 8388608000
kernel.shmmax = 8388608000
Values in /proc/sys/net/core/
rmem_default:124928
wmem_default:124928
rmem_max:8388608
wmem_max:8388608
I'm using Fedora 13 x64 and install ZM from the Fedora repository.
Why I'm I getting this error shmget when clearly I have ample memory, I've tried lots of values from 2G-9G but still get the error
What exactly does this error mean in the context of what ZM is trying to do (e.g. a file has been deleted etc..)
Thanks in advance.
Al.