Zoneminder stops capturing for a moment, then starts again

Support and queries relating to all previous versions of ZoneMinder
Locked
adamwenner
Posts: 2
Joined: Wed Jul 06, 2005 2:38 pm

Zoneminder stops capturing for a moment, then starts again

Post by adamwenner »

hey, i have 2 axis 2100 network cams connected to a switch that also contains the Zoneminder server. I have the cameras set on 5 fps to cut down on bandwidth because of other things running on this server.

Zoneminder seems to be capturing frames from the cameras fine, but every minute or so, it stops and the IP addresses in the web interface turn red, then they come back on in a few seconds, it is not necessarally both cameras at the same time, but sometimes it is, leaving a ~10 second gap in motion detection, which is unacceptable

is there any fix for this or does anyone know anything that would be causing this.

its not network bandwidth or CPU or RAM For that matter.

logs dont say anything from what i can find

let me know if you need any more information

thanks
--adam
"i dont make typos in my posts, its your browser"
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If the cameras are going red then that would imply that they are crashing or being restarted. You should be able to check this by looking at zmdc.log or /var/log/messages. If you can verify this and report what you see then we can move onto the next step which is to find out why it's happening!

Phil
adamwenner
Posts: 2
Joined: Wed Jul 06, 2005 2:38 pm

Post by adamwenner »

heres what i got in the zmdc.log

(camera 1 feed dies)
Invalid JPEG file structure: two SOI markers
'zmc -m 3' crashed at 05/07/06 11:45:28, exit status 1
(this one was particularally bad, both cameras died)
Invalid JPEG file structure: two SOI markers
'zmc -m 2' crashed at 05/07/06 11:45:32, exit status 1
(camera 1 feed comes back)
Use of uninitialized value in hash element at /usr/local/bin/zmdc.pl line 346, <CLIENT> line 1.
'zmc -m 3' started at 05/07/06 11:45:42
'zmc -m 3' starting at 05/07/06 11:45:42, pid = 8571
(camera 2 feed comes back)
Use of uninitialized value in hash element at /usr/local/bin/zmdc.pl line 346, <CLIENT> line 1.
'zmc -m 2' started at 05/07/06 11:45:42
'zmc -m 2' starting at 05/07/06 11:45:42, pid = 8575

/var/log/messages shows this at the same time
Jul 6 11:45:12 islx050 zmc_m3[8555]: INF [Debug Level = 0, Debug Log = <none>]
Jul 6 11:45:12 islx050 zmc_m3[8555]: INF [Starting Capture]
Jul 6 11:45:42 islx050 zmc_m3[8571]: INF [Debug Level = 0, Debug Log = <none>]
Jul 6 11:45:42 islx050 zmc_m3[8571]: INF [Starting Capture]
Jul 6 11:45:42 islx050 zmc_m2[8575]: INF [Debug Level = 0, Debug Log = <none>]
Jul 6 11:45:42 islx050 zmc_m2[8575]: INF [Starting Capture]


the cameras are responding fine from what i can tell, it is something with zoneminder, unless as shown there, the cameras are putting out 2 SOI markers (no clue what that is)
--adam
"i dont make typos in my posts, its your browser"
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

What cameras do you have?

Assuming you have built with libpcre.a you can try fiddling with Options->Network->ZM_NETCAM_REGEXPS to see if that makes a difference.

Phil
Locked