Page 1 of 1

Mapped memory

Posted: Thu Nov 12, 2009 1:23 pm
by NicoArias
Hello guys, im having some troubles with (the classic) the memory.

I upgraded from 1.23 to 1.24.2, using shared memory. After upgrade i had tons of problems with "Can't get shared memory id", after playing with the sysctrl parameters, with no luck, i decided to recompile zm with mmap, compiled, installed it, but no luck.

The weid thing is that i have nothing on /dev/shm and i keep getting Can't get shared memory id errors.

Looks like it havent compiled with mmap.

./configure --enable-mmap=YES --with-cgidir=/var/www/cgi-bin/ -with-webdir=/var/www/html/video/

any idea how i can check this?

cheers!

Posted: Thu Nov 12, 2009 1:37 pm
by NicoArias
silly me, --enable-mmap=yes


yes!=YES

Posted: Thu Nov 12, 2009 1:42 pm
by NicoArias
ok, now im running on mmap, but still have the "Can't get shared memory id" errors.

no images on streaming.

on the apache error logs i see:
'socket_sendto( /tmp/zms-941069s.sock ) failed: No such file or directory'

and i can confirm that that file doesnt exist

any hint will be appreciated.

Posted: Fri Nov 13, 2009 8:50 am
by zoneminder
That would normally imply that your zms isn't running. What is in the other logs?

Posted: Fri Nov 13, 2009 10:52 pm
by johnnytolengo
RAM memory at now days is cheap!