2 or more camera streams stop daily
Posted: Mon Jun 16, 2014 8:17 pm
New to zoneminder, but I now have (8) 720p@10 FPS cameras connected to a zoneminder 1.27 VM. Everything is working, motion detection, email alerts, etc., but I have to restart every 15 hours or so, or at least one of the camera streams gets "hung". Sometimes, the capture appears red, and sometimes it just won't populate a picture.
Below's a snippet from /var/log/syslog that happened around the time the camera feed went offline:
Jun 15 16:04:22 zoneminder zmwatch[3455]: INF [Restarting capture daemon for Front_door, time since last capture 13 seconds (1402873462-1402873449)]
Jun 15 16:04:23 zoneminder zmdc[3315]: INF ['zmc -m 2' stopping at 14/06/15 16:04:23]
Jun 15 16:04:23 zoneminder zmc_m2[3351]: INF [Got signal 15 (Terminated), exiting]
Jun 15 16:04:29 zoneminder zmdc[3315]: INF ['zmc -m 2' crashed, signal 8]
Jun 15 16:04:29 zoneminder zmdc[3315]: INF [Starting pending process, zmc -m 2]
Jun 15 16:04:29 zoneminder zmdc[3315]: INF ['zmc -m 2' starting at 14/06/15 16:04:29, pid = 5273]
Jun 15 16:04:29 zoneminder zmdc[5273]: INF ['zmc -m 2' started at 14/06/15 16:04:29]
Jun 15 16:04:29 zoneminder zmc_m2[5273]: INF [Starting Capture]
Jun 15 16:04:29 zoneminder zmc_m2[5273]: INF [Priming capture from rtsp://192.168.1.203:554/cam/realmonitor?channel=1&subtype=0&authbasic=YWRtaW46YWRtaW4=?tcp]
If I set the motion detection to disabled on the camera, then set it back to modect, the camera comes back, but a lot of functions seem sluggish until I reboot the zoneminder VM.
Here's a snippet from reenabling modect on a camera:
Jun 16 13:10:40 zoneminder zmc_m3[4130]: INF [Starting Capture]
Jun 16 13:10:40 zoneminder zmc_m3[4130]: INF [Priming capture from rtsp://192.168.1.204:554/cam/realmonitor?channel=1&subtype=0&authbasic=YWRtaW46YWRtaW4=?tcp]
Jun 16 13:10:40 zoneminder zma_m3[4135]: WAR [Waiting for capture daemon]
Jun 16 13:10:43 zma_m3[4135]: last message repeated 2 times
Jun 16 13:10:43 zoneminder web_php[3991]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
Jun 16 13:10:43 zoneminder zma_m3[4135]: WAR [Waiting for capture daemon]
Jun 16 13:10:46 zma_m3[4135]: last message repeated 2 times
Jun 16 13:10:46 zoneminder zma_m3[4135]: INF [In mode 3/1, warming up]
Jun 16 13:10:46 zoneminder zma_m3[4135]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Jun 16 13:10:47 zoneminder web_php[4113]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
Jun 16 13:10:50 zoneminder web_php[3982]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
Jun 16 13:10:53 zoneminder web_php[4113]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
I googled around and found this:
http://www.zoneminder.com/wiki/index.ph ... esolutions.
But I'm not sure whether to go the shared or mapped memory route, how best to implement on 1.27, or even if that is really the issue.
Any ideas before I start executing commands I don't really understand?
Below's a snippet from /var/log/syslog that happened around the time the camera feed went offline:
Jun 15 16:04:22 zoneminder zmwatch[3455]: INF [Restarting capture daemon for Front_door, time since last capture 13 seconds (1402873462-1402873449)]
Jun 15 16:04:23 zoneminder zmdc[3315]: INF ['zmc -m 2' stopping at 14/06/15 16:04:23]
Jun 15 16:04:23 zoneminder zmc_m2[3351]: INF [Got signal 15 (Terminated), exiting]
Jun 15 16:04:29 zoneminder zmdc[3315]: INF ['zmc -m 2' crashed, signal 8]
Jun 15 16:04:29 zoneminder zmdc[3315]: INF [Starting pending process, zmc -m 2]
Jun 15 16:04:29 zoneminder zmdc[3315]: INF ['zmc -m 2' starting at 14/06/15 16:04:29, pid = 5273]
Jun 15 16:04:29 zoneminder zmdc[5273]: INF ['zmc -m 2' started at 14/06/15 16:04:29]
Jun 15 16:04:29 zoneminder zmc_m2[5273]: INF [Starting Capture]
Jun 15 16:04:29 zoneminder zmc_m2[5273]: INF [Priming capture from rtsp://192.168.1.203:554/cam/realmonitor?channel=1&subtype=0&authbasic=YWRtaW46YWRtaW4=?tcp]
If I set the motion detection to disabled on the camera, then set it back to modect, the camera comes back, but a lot of functions seem sluggish until I reboot the zoneminder VM.
Here's a snippet from reenabling modect on a camera:
Jun 16 13:10:40 zoneminder zmc_m3[4130]: INF [Starting Capture]
Jun 16 13:10:40 zoneminder zmc_m3[4130]: INF [Priming capture from rtsp://192.168.1.204:554/cam/realmonitor?channel=1&subtype=0&authbasic=YWRtaW46YWRtaW4=?tcp]
Jun 16 13:10:40 zoneminder zma_m3[4135]: WAR [Waiting for capture daemon]
Jun 16 13:10:43 zma_m3[4135]: last message repeated 2 times
Jun 16 13:10:43 zoneminder web_php[3991]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
Jun 16 13:10:43 zoneminder zma_m3[4135]: WAR [Waiting for capture daemon]
Jun 16 13:10:46 zma_m3[4135]: last message repeated 2 times
Jun 16 13:10:46 zoneminder zma_m3[4135]: INF [In mode 3/1, warming up]
Jun 16 13:10:46 zoneminder zma_m3[4135]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Jun 16 13:10:47 zoneminder web_php[4113]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
Jun 16 13:10:50 zoneminder web_php[3982]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
Jun 16 13:10:53 zoneminder web_php[4113]: ERR [socket_sendto( /tmp/zm/zms-247351s.sock ) failed: No such file or directory]
I googled around and found this:
http://www.zoneminder.com/wiki/index.ph ... esolutions.
But I'm not sure whether to go the shared or mapped memory route, how best to implement on 1.27, or even if that is really the issue.
Any ideas before I start executing commands I don't really understand?