mmap and changing buffers

Forum for questions and support relating to the 1.24.x releases only.
Locked
szimszon
Posts: 26
Joined: Mon Nov 27, 2006 8:41 pm

mmap and changing buffers

Post by szimszon »

I noticed recently if I change the buffers, and the mmap file size is changing zm doesn't work correctly anymore.

I have to remove the /dev/shm/.zm.mmap.1 file manually after it zm generates the new file with a correct size...
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Generally speaking if you change buffers etc you should restart ZM to make sure everything picks up the new values. Lots of things attach to the shared memory and it cannot be resized if anything is using it.
Phil
szimszon
Posts: 26
Joined: Mon Nov 27, 2006 8:41 pm

Post by szimszon »

zoneminder wrote:Generally speaking if you change buffers etc you should restart ZM to make sure everything picks up the new values. Lots of things attach to the shared memory and it cannot be resized if anything is using it.
I have restarted ZM from web interface, but the mmap file didn't change :-o only if I have deleted it and restarted ZM.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Yes, I noticed this earlier. I have added a mod to remove them on exit.
Phil
Locked