Mapped memory

Forum for questions and support relating to the 1.24.x releases only.
Locked
NicoArias
Posts: 4
Joined: Thu Nov 12, 2009 1:14 pm

Mapped memory

Post 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!
NicoArias
Posts: 4
Joined: Thu Nov 12, 2009 1:14 pm

Post by NicoArias »

silly me, --enable-mmap=yes


yes!=YES
NicoArias
Posts: 4
Joined: Thu Nov 12, 2009 1:14 pm

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

That would normally imply that your zms isn't running. What is in the other logs?
Phil
johnnytolengo
Posts: 184
Joined: Tue Oct 14, 2008 5:59 pm

Post by johnnytolengo »

RAM memory at now days is cheap!
Locked