Page 1 of 2

Getting some errors on ZM

Posted: Thu Jan 29, 2009 1:43 pm
by softland
Hi folks...
I'm not that good in English....
I'm getting some errors on zm like "kernel time sync error 1" and several "WAR [Buffer overrun at index N, slow down capture, speed up analysis or increasse ring buffer size]
I've tried several kind of "help" here in the forum, but no one had no effect...
I would really like some help here...
Thanks...

Posted: Sat Jan 31, 2009 8:46 pm
by cordel
What are your setting for:
Image Buffer Size (frames)
Warmup Frames
Pre Event Image Buffer
Post Event Image Buffer

Posted: Mon Feb 02, 2009 10:34 am
by softland
Hi...
My settings are:
Image Buffer size (frames):50
Warmup Frames: 25
Pre Event Image Buffer:10
Post Event Image Buffer:10

Any ideas??
Thanks for the help! :D

Posted: Mon Feb 02, 2009 10:49 am
by cordel
You can try increasing the ring buffer and set Image Buffer size to 65 but I think some thing else is amiss. If you run dmesg are there any errors towards the end?

Posted: Mon Feb 02, 2009 10:59 am
by softland
No, dmesg returns no errors

Just for help, my CPU configurations are:
AMD Athlon 1.2 Ghz
40 GB Hard Drive
512 MB RAM
GeForce4 MX 4000
I have 7 cameras on it, soon it will be 8

It's an old machine...
Do you think that if I increase to 65 the buffer size will solve it?

Thanks for the help

Posted: Wed Feb 04, 2009 10:12 am
by softland
No one can help me??

Posted: Thu Feb 05, 2009 4:25 pm
by softland
Hey Gus....I really need some help here... :oops:
More information is needed for helping me?
Thanks

Posted: Thu Feb 05, 2009 5:21 pm
by cordel
What do you get from:

# ipcs
# ipcs -l

Posted: Fri Feb 06, 2009 10:23 am
by softland
Hi,

ipcs
chave shmid proprietário perms bytes nattch status
0x7a6d0001 0 www-data 700 11521268 2
0x7a6d0002 32769 www-data 700 11521268 2
0x7a6d0003 65538 www-data 700 11521268 2
0x7a6d0004 98307 www-data 700 11521268 2
0x7a6d0005 131076 www-data 700 11521268 2
0x7a6d0006 163845 www-data 700 11521268 2
0x7a6d0007 196614 www-data 700 11521268 2

------- Arrays de semáforos --------
chave semid proprietário perms nsems
0x00000000 0 www-data 600 1

----- Filas de mensagens -----
chave msqid proprietário perms bytes usados mensagens


ipcs -l

- Limites da memória compartilhada -
max number of segments = 4096
mas seg size (kbytes) = 262144
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1

------ Limites de semáforo ------
número máximo de arrays: 128
máximo de semáforos por array: 250
máximo geral de semáforos do sistema: 32000
máximo de ops por chamada semop: 32
valor máximo de semáforo: 32767

----- Mensagens: limites -----
número máximo geral defilas no sistema: 16
tamanho máximo da mensagem (bytes): 8192
tamanho máximo padrão da fila (bytes): 16384


So, i'm from Brasil... :roll:
I hope this help...it's a bit confused cause I don't know how to "space" properly... :oops:
Thanks for the Help

Posted: Mon Feb 09, 2009 10:44 am
by softland
Anyone??

Posted: Thu Feb 12, 2009 1:54 pm
by softland
:( ???

Posted: Thu Feb 12, 2009 4:03 pm
by cordel
Have you tried increasing the buffer or decreasing the capture speeds yet?

Posted: Thu Feb 12, 2009 5:08 pm
by softland
Hi, my settings are: Buffer Size:50 and Max FPS 2...So Pre and post event are still 10 and warm ups 25 and several Buffer overruns...I really don't know what to do... :cry:

Posted: Tue Feb 17, 2009 1:40 pm
by softland
I forgot to tell... the overruns are not the only problem... sometimes i have to restart the machine because the overrun problem... and when reboot it displays the error... "fsck died... on /dev/hdaN"... then I run "fsck /dev/hdaN" it's ok for a while... but sometimes when I reboot the linux this message appears... any ideas about this?

Posted: Wed Feb 18, 2009 1:18 pm
by nrml
I'm having this exact problem, but I have 32 cameras running. I have increased the amount of shared memory (from 128 to 457MB), I increased the image buffer on all feeds to 60 from 40 and although I don't get as many, I still get some buffer overrun messages:

Code: Select all

Feb 18 04:50:05 camera zmc_dvideo1[9965]: WAR [Buffer overrun at index 3, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 04:50:05 camera zmc_dvideo4[9949]: WAR [Buffer overrun at index 3, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:04:55 camera zmc_dvideo9[9853]: WAR [Buffer overrun at index 44, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:04:56 camera zmc_dvideo2[9957]: WAR [Buffer overrun at index 35, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:04:56 camera zmc_dvideo7[9917]: WAR [Buffer overrun at index 1, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:04:56 camera zmc_dvideo14[9813]: WAR [Buffer overrun at index 58, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:04:57 camera zmc_dvideo8[9861]: WAR [Buffer overrun at index 0, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:05:11 camera zmc_dvideo6[9933]: WAR [Buffer overrun at index 0, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:05:28 camera zmc_dvideo12[9829]: WAR [Buffer overrun at index 0, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:05:29 camera zma_m65[9833]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Feb 18 05:05:30 camera zmc_dvideo12[9829]: WAR [Buffer overrun at index 3, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:05:54 camera zmc_dvideo11[9837]: WAR [Buffer overrun at index 39, slow down capture, speed up analysis or increase ring buffer size]
Feb 18 05:05:56 camera zmc_dvideo11[9837]: WAR [Buffer overrun at index 44, slow down capture, speed up analysis or increase ring buffer size]
What other change can I make to give Zoneminder the amount of shared memory it needs for the 32 cameras?