v1.30 to v1.32, constant disconnects result in dead ZMC

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
dillius
Posts: 4
Joined: Sat Jun 22, 2019 2:21 am

v1.30 to v1.32, constant disconnects result in dead ZMC

Post by dillius » Sat Aug 10, 2019 4:37 am

I run a small server, currently with 5 Wansview W3 running at 1280x720@2fps.

I recently upgraded to v1.32.3 and was forced to switch to using ffmpeg instead of Remote/RTSP to access these cameras successfully

Ever since that point I have been having nothing but problems. ZM will complain of constant disconnects from the wireless cams:

Code: Select all

Aug 10 00:28:53 channel zmc_m7[2691]: INF [zmc_m7] [Unable to read packet from stream 0: error -541478725 "End of file".]
Aug 10 00:28:53 channel zmc_m7[2691]: INF [zmc_m7] [Return from Capture (-1), signal loss]
Aug 10 00:28:53 channel zmc_m7[2691]: INF [zmc_m7] [Failed to capture image from monitor 7 BackDoor (1/1)]
Aug 10 00:28:53 channel zmc_m7[2691]: INF [zmc_m7] [Priming capture from rtsp://admin:password@10.0.0.77:554/live/ch0]
Aug 10 00:28:53 channel zmc_m7[2691]: INF [zmc_m7] [Stream open rtsp://admin:password@10.0.0.77:554/live/ch0, parsing streams...]
Aug 10 00:28:54 channel zmc_m2[2664]: INF [zmc_m2] [Unable to read packet from stream 0: error -541478725 "End of file".]
Aug 10 00:28:54 channel zmc_m2[2664]: INF [zmc_m2] [Return from Capture (-1), signal loss]
Aug 10 00:28:54 channel zmc_m2[2664]: INF [zmc_m2] [Failed to capture image from monitor 2 Driveway (1/1)]
Aug 10 00:28:54 channel zmc_m2[2664]: INF [zmc_m2] [Priming capture from rtsp://admin:password@10.0.0.72:554/live/ch0]
Aug 10 00:28:55 channel zmc_m2[2664]: INF [zmc_m2] [Stream open rtsp://admin:password@10.0.0.72:554/live/ch0, parsing streams...]
Aug 10 00:28:55 channel zmc_m6[2681]: INF [zmc_m6] [Unable to read packet from stream 0: error -541478725 "End of file".]
Aug 10 00:28:55 channel zmc_m6[2681]: INF [zmc_m6] [Return from Capture (-1), signal loss]
Aug 10 00:28:55 channel zmc_m6[2681]: INF [zmc_m6] [Failed to capture image from monitor 6 FrontDoor (1/1)]
Aug 10 00:28:55 channel zmc_m6[2681]: INF [zmc_m6] [Priming capture from rtsp://admin:password@10.0.0.76:554/live/ch0]
Aug 10 00:28:56 channel zmc_m6[2681]: INF [zmc_m6] [Stream open rtsp://admin:password@10.0.0.76:554/live/ch0, parsing streams...]
Aug 10 00:29:30 channel zmc_m7[2691]: INF [zmc_m7] [Unable to read packet from stream 0: error -541478725 "End of file".]
Aug 10 00:29:30 channel zmc_m7[2691]: INF [zmc_m7] [Return from Capture (-1), signal loss]
Aug 10 00:29:30 channel zmc_m7[2691]: INF [zmc_m7] [Failed to capture image from monitor 7 BackDoor (1/1)]
Aug 10 00:29:30 channel zmc_m7[2691]: INF [zmc_m7] [Priming capture from rtsp://admin:password@10.0.0.77:554/live/ch0]
Aug 10 00:29:31 channel zmc_m7[2691]: INF [zmc_m7] [Stream open rtsp://admin:password@10.0.0.77:554/live/ch0, parsing streams...]
Aug 10 00:29:32 channel zmc_m2[2664]: INF [zmc_m2] [Unable to read packet from stream 0: error -541478725 "End of file".]
Aug 10 00:29:32 channel zmc_m2[2664]: INF [zmc_m2] [Return from Capture (-1), signal loss]
Aug 10 00:29:32 channel zmc_m2[2664]: INF [zmc_m2] [Failed to capture image from monitor 2 Driveway (1/1)]
Aug 10 00:29:32 channel zmc_m2[2664]: INF [zmc_m2] [Priming capture from rtsp://admin:password@10.0.0.72:554/live/ch0]
Aug 10 00:29:32 channel zmc_m2[2664]: INF [zmc_m2] [Stream open rtsp://admin:password@10.0.0.72:554/live/ch0, parsing streams...]
Aug 10 00:29:33 channel zmc_m6[2681]: INF [zmc_m6] [Unable to read packet from stream 0: error -541478725 "End of file".]
Aug 10 00:29:33 channel zmc_m6[2681]: INF [zmc_m6] [Return from Capture (-1), signal loss]
Aug 10 00:29:34 channel zmc_m6[2681]: INF [zmc_m6] [Failed to capture image from monitor 6 FrontDoor (1/1)]
Aug 10 00:29:34 channel zmc_m6[2681]: INF [zmc_m6] [Priming capture from rtsp://admin:password@10.0.0.76:554/live/ch0]
Aug 10 00:29:34 channel zmc_m6[2681]: INF [zmc_m6] [Stream open rtsp://admin:password@10.0.0.76:554/live/ch0, parsing streams...]
I do not believe these to be actual wireless issues. These cameras are accessing different routers, on different channels, and show 100% signal strength. In one case the camera is actually in UNBROKEN LINE OF SIGHT of one of the routers, at a distance of only about 15 feet. I can pull up the cameras either in their own web interfaces or in VLC, and the stream is never interrupted.

This mad rush of disconnects will continue until one or more of the cameras appears to be completely dead, complaining about a missing zmc process and requiring me to restart Zoneminder for it to ever recover:

Code: Select all

Aug 10 00:32:23 channel zmwatch[2749]: INF [Restarting capture daemon for BackDoor, time since last capture 9 seconds (1565411543-1565411534)]
Aug 10 00:32:23 channel zmdc[2629]: INF ['zma -m 7' sending stop to pid 2815 at 19/08/10 00:32:23]
Aug 10 00:32:23 channel zma_m7[2815]: INF [zma_m7] [Got signal 15 (Terminated), exiting]
Aug 10 00:32:23 channel zmdc[2629]: INF ['zma -m 7' exited normally]
Aug 10 00:32:24 channel zmdc[2629]: INF ['zmc -m 7' sending stop to pid 2814 at 19/08/10 00:32:24]
Aug 10 00:32:24 channel zmc_m7[2814]: INF [zmc_m7] [Got signal 15 (Terminated), exiting]
Aug 10 00:32:24 channel zmdc[2629]: INF ['zmc -m 7' exited normally]
Aug 10 00:32:24 channel zmdc[2844]: INF ['zma -m 7' started at 19/08/10 00:32:24]
Aug 10 00:32:24 channel zmdc[2629]: INF ['zma -m 7' starting at 19/08/10 00:32:24, pid = 2844]
Aug 10 00:32:24 channel zma_m7[2844]: ERR [zma_m7] [Got empty memory map file size 0, is the zmc process for this monitor running?]
Aug 10 00:32:24 channel zmdc[2629]: ERR ['zma -m 7' exited abnormally, exit status 255]
Aug 10 00:32:26 channel zmdc[2629]: INF [Starting pending process, zma -m 7]
Aug 10 00:32:26 channel zmdc[2845]: INF ['zma -m 7' started at 19/08/10 00:32:26]
Aug 10 00:32:26 channel zmdc[2629]: INF ['zma -m 7' starting at 19/08/10 00:32:26, pid = 2845]
Aug 10 00:32:26 channel zma_m7[2845]: ERR [zma_m7] [Got empty memory map file size 0, is the zmc process for this monitor running?]
Aug 10 00:32:26 channel zmdc[2629]: ERR ['zma -m 7' exited abnormally, exit status 255]
Aug 10 00:32:29 channel zmdc[2629]: INF [Starting pending process, zmc -m 7]
Aug 10 00:32:29 channel zmdc[2629]: INF ['zmc -m 7' starting at 19/08/10 00:32:29, pid = 2846]
Aug 10 00:32:29 channel zmdc[2846]: INF ['zmc -m 7' started at 19/08/10 00:32:29]
Aug 10 00:32:30 channel zmc_m7[2846]: INF [zmc_m7] [Starting Capture version 1.32.3]
Aug 10 00:32:30 channel zmc_m7[2846]: INF [zmc_m7] [Priming capture from rtsp://admin:password@10.0.0.77:554/live/ch0]
Aug 10 00:32:30 channel zmc_m7[2846]: INF [zmc_m7] [Stream open rtsp://admin:password@10.0.0.77:554/live/ch0, parsing streams...]
Aug 10 00:32:32 channel zmdc[2629]: INF [Starting pending process, zma -m 7]
Aug 10 00:32:32 channel zmdc[2629]: INF ['zma -m 7' starting at 19/08/10 00:32:32, pid = 2850]
Aug 10 00:32:32 channel zmdc[2850]: INF ['zma -m 7' started at 19/08/10 00:32:32]
I have performed multiple re-installs of Zoneminder without any results. These same cameras were working mostly fine in v1.30; I would experience this issue perhaps once a month on one camera; now half of my cameras are completely dead within 24 hours of starting Zoneminder. No other hardware has changed; software wise only normal debian stretch updates have been installed.

Has anyone else experienced this issue? Or does anyone have any working Wansview W3 cameras with v1.32.3?

EDIT:
Load rarely exceeds 0.5, dual core CPU
4GB Memory, actual in use never exceeds half of that, page file is never touched.
tmpfs /dev/shm never above 12% utilization
server itself is hardwired, not wireless

EDIT2:
Added a screenshot of the source configuration of one of the cameras.

Also lets make this even more fun: I'm getting Signal Loss failures on a camera I hard wired...
Attachments
camera_example.PNG
camera_example.PNG (19.04 KiB) Viewed 77 times

operat0r
Posts: 25
Joined: Thu Jan 18, 2018 4:03 am

Re: v1.30 to v1.32, constant disconnects result in dead ZMC

Post by operat0r » Tue Aug 13, 2019 4:57 am

try lowering the res.. I seen some post on using low res to trigger high res capture ...
also look at all the zone and source settings and understand how they work ( I still dont get them all ... you can look at my profile/google doc for my settings.

more specifically look at Maximum FPS and Alarm Maximum FPS and set them on your camrea too .. there some guides on setting FPS on cam and ZM so they less CPU

bbunge
Posts: 2403
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: v1.30 to v1.32, constant disconnects result in dead ZMC

Post by bbunge » Tue Aug 13, 2019 12:21 pm

Use 32 bit color, lower the resolution, set the frame rate on the camera to 10 FPS or lower. Get a stable system then push things up.

dillius
Posts: 4
Joined: Sat Jun 22, 2019 2:21 am

Re: v1.30 to v1.32, constant disconnects result in dead ZMC

Post by dillius » Wed Aug 14, 2019 5:00 am

Surprisingly enough, doing the exact opposite of the normal suggestions helped.

I had them at 2 FPS, with Max/Alarm Max at 5FPS. I bumped them all up to 3, some with really good connections to 5, and the disconnects stopped for many of them.

Its almost like I had it going TOO slow, and it was causing error correction to occur when it wasn't needed?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest