Event timeout

Forum for questions and support relating to the 1.24.x releases only.
Locked
asdil12
Posts: 3
Joined: Sun Jul 17, 2011 7:46 pm

Event timeout

Post by asdil12 »

Hi,

I'm running ZM in Modect mode. The problem is, that ZM splits my events up into peaces of just a vew seconds each.
How can I increase the time/number of frames, ZM will wait for a new alarm, until it closes the event?
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Event timeout

Post by bb99 »

If I understand your question correctly you need to increase your post buffer by quite a bit. Single click on camera source, then on buffer tab, increase "Post Event Image Count" to a value such as 130. At ten frames per second that will give you a continuation of the current event of 13 seconds before recording ZM stops and starts over. Any motion within that 13 seconds will continue the recording along with an additional 13 second continuation until the cycle is broken (no motion). Make any sense?
asdil12
Posts: 3
Joined: Sun Jul 17, 2011 7:46 pm

Re: Event timeout

Post by asdil12 »

Yes - a just didn't know that the post-buffer can be increased above the buffer value. (buffer values above 40 break my system).

Changed the settings - let's see if it works correctly.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Event timeout

Post by bb99 »

If the buffer settings above 40 break your system you need to increase the shared memory value "shmmax".
asdil12
Posts: 3
Joined: Sun Jul 17, 2011 7:46 pm

Re: Event timeout

Post by asdil12 »

Where can I change this option?
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Event timeout

Post by PacoLM »


After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Event timeout

Post by bb99 »

From the documentation:
In recent kernels the shmmax is set to 3354432 bytes for only 32 MB of maximum shared memory allocatable at a time, hardly enough for ZoneMinder to go above 320 x 240 x 24-bit resolution at 40 frames in the buffer if it is using the /dev/shm shared memory device, so this value needs to be increased. If you are using ZoneMinder with the memory mapped (mmap) compile time option then this doesn't affect you
edit /etc/sysctl.conf if your going to do it manually. I recommend 150 TO 200% to begin with but I believe the script PacoLM gave you is more exact for your current resource needs.
Locked