ZM ends up stopping - Log spam Monitor-x: Capturing at y

Forum for questions and support relating to the 1.30.x releases only.
Locked
polyneux
Posts: 3
Joined: Mon Dec 12, 2016 8:14 pm

ZM ends up stopping - Log spam Monitor-x: Capturing at y

Post by polyneux »

Version 1.30.0
Ubuntu 16.04
Installed with the easy way. Was working previously
Reinstalled entire machine, installed easy way again.

Set three cameras to monitor just to test, their FPS is set to 15 in the firmware. All monitors are in RTSP, FFMPEG, 32 bitrate, 1280x720 resolution (just cause it was default for camera firmware)

Amcrest IP 722 bullet WLAN cameras wirelessly connected to dedicated IPs on the router which is Netgear

Monitors seem to work fine I can watch video.

If I leave for any length of time there are some warnings which I interpret as wifi hiccups.

When I come back from work ZM is Stopped and the last of the log is

Code: Select all

2017-02-15 14:05:43.397524	zmc_m3		10915	INF	Monitor-3: 408000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 14:05:12.480802	zmc_m1		10922	INF	Monitor-1: 874000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 14:04:36.840306	zmc_m3		10915	INF	Monitor-3: 407000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 14:04:05.923997	zmc_m1		10922	INF	Monitor-1: 873000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 14:03:30.293753	zmc_m3		10915	INF	Monitor-3: 406000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 14:02:59.370918	zmc_m1		10922	INF	Monitor-1: 872000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 14:02:23.718903	zmc_m3		10915	INF	Monitor-3: 405000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 14:01:52.825664	zmc_m1		10922	INF	Monitor-1: 871000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 14:01:16.133176	zmc_m3		10915	INF	Monitor-3: 404000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 14:00:46.315671	zmc_m1		10922	INF	Monitor-1: 870000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 14:00:09.535428	zmc_m3		10915	INF	Monitor-3: 403000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:59:39.730889	zmc_m1		10922	INF	Monitor-1: 869000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 13:59:02.969154	zmc_m3		10915	INF	Monitor-3: 402000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 13:58:33.207244	zmc_m1		10922	INF	Monitor-1: 868000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:57:56.454504	zmc_m3		10915	INF	Monitor-3: 401000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:57:26.629943	zmc_m1		10922	INF	Monitor-1: 867000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 13:56:49.903061	zmc_m3		10915	INF	Monitor-3: 400000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 13:56:20.065463	zmc_m1		10922	INF	Monitor-1: 866000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:55:43.419841	zmc_m3		10915	INF	Monitor-3: 399000 - Capturing at 17.24 fps	zm_monitor.cpp	3116
2017-02-15 13:55:13.511191	zmc_m1		10922	INF	Monitor-1: 865000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:54:45.243463	zmc_m3		10915	INF	Monitor-3: 398000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:54:06.974588	zmc_m1		10922	INF	Monitor-1: 864000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 13:53:38.699561	zmc_m3		10915	INF	Monitor-3: 397000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 13:53:00.431776	zmc_m1		10922	INF	Monitor-1: 863000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:52:32.115223	zmc_m3		10915	INF	Monitor-3: 396000 - Capturing at 14.93 fps	zm_monitor.cpp	3116
2017-02-15 13:51:53.844982	zmc_m1		10922	INF	Monitor-1: 862000 - Capturing at 15.15 fps	zm_monitor.cpp	3116
2017-02-15 13:51:25.547453	zmc_m3		10915	INF	Monitor-3: 395000 - Capturing at 15.15 fps	zm_monitor.cpp	3116

This FILLS the log

Latest errors to this log

Code: Select all

2017-02-15 06:37:28.110326	zmc_m3		10915	ERR	Unable to open input rtsp://admin:614EC94F4EE5@192.168.1.22:554/cam/realmonitor?channel=1&subtype=0 due to: Operation not supported	zm_ffmpeg_camera.cpp	280
2017-02-15 06:37:28.087359	zmc_m3		10915	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2017-02-14 21:53:21.655650	zmdc		10889	ERR	'zmc -m 3' exited abnormally, exit status 255	zmdc.pl	
2017-02-14 21:53:21.367050	zmdc		10889	ERR	'zmc -m 2' exited abnormally, exit status 255	zmdc.pl	
2017-02-14 21:53:21.009950	zmdc		10889	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	

Latest warnings to this log

Code: Select all

2017-02-15 06:37:28.135576	zmc_m3		10921	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2017-02-15 06:37:28.110326	zmc_m3		10915	ERR	Unable to open input rtsp://admin:614EC94F4EE5@192.168.1.22:554/cam/realmonitor?channel=1&subtype=0 due to: Operation not supported	zm_ffmpeg_camera.cpp	280
2017-02-15 06:37:28.087359	zmc_m3		10915	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2017-02-15 06:37:17.193427	zmc_m3		10915	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2017-02-14 22:07:14.151557	web_php		3114	WAR	Login denied for user "Admin"	/usr/share/zoneminder/www/includes/functions.php	59
2017-02-14 21:53:22.114760	zmc_m3		10936	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2017-02-14 21:53:21.821758	zmc_m2		10929	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp


Any help or ideas appreciated. Have not reinstalled ZM yet that's probably in the works.
bbunge
Posts: 2976
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZM ends up stopping - Log spam Monitor-x: Capturing at y

Post by bbunge »

How much RAM do you have. What is the free space in tmpfs? Lower the resolution and frame rate by half to see if that helps.
polyneux
Posts: 3
Joined: Mon Dec 12, 2016 8:14 pm

Re: ZM ends up stopping - Log spam Monitor-x: Capturing at y

Post by polyneux »

16 Gigs of Ram
8 Core FX 8350 CPU

Restarted to check tmpfs running current setup

Code: Select all

2017-02-15 22:33:46.668252	zms		3179	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2017-02-15 22:33:44.645193	web_js		1722	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-658748s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2017-02-15 22:33:44.603843	web_php		1722	ERR	socket_sendto( /var/run/zm/zms-658748s.sock ) failed: No such file or directory	/usr/share/zoneminder/www/includes/functions.php	1993
2017-02-15 22:33:42.512744	zms		3141	ERR	Terminating, last frame sent time 1487216022.012677 secs more than maximum of 10.000000	zm_monitor.cpp	4192
2017-02-15 22:33:41.579050	zmupdate		3108	INF	Got version: '1.30.0'	zmupdate.pl	
2017-02-15 22:33:41.482811	zmc_m1		3140	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2017-02-15 22:33:41.432703	zmc_m1		3140	INF	Priming capture from rtsp://admin:11DF793919FF@192.168.1.20:554/cam/realmonitor?channel=1&subtype=0	zm_ffmpeg_camera.cpp	104
2017-02-15 22:33:41.390898	zmc_m1		3140	INF	Starting Capture version 1.30.0	zmc.cpp	250
2017-02-15 22:33:41.341010	zmc_m2		3139	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2017-02-15 22:33:41.257380	zmc_m2		3139	INF	Priming capture from rtsp://admin:EB25C9374022@192.168.1.21:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif	zm_ffmpeg_camera.cpp	104
2017-02-15 22:33:41.215588	zmc_m3		3138	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2017-02-15 22:33:41.207633	zmc_m2		3139	INF	Starting Capture version 1.30.0	zmc.cpp	250
2017-02-15 22:33:41.176390	zmdc		3043	INF	'zmc -m 1' starting at 17/02/15 22:33:41, pid = 3140	zmdc.pl	
2017-02-15 22:33:41.176330	zmdc		3140	INF	'zmc -m 1' started at 17/02/15 22:33:41	zmdc.pl	
2017-02-15 22:33:41.140631	zmc_m3		3138	INF	Priming capture from rtsp://admin:614EC94F4EE5@192.168.1.22:554/cam/realmonitor?channel=1&subtype=0	zm_ffmpeg_camera.cpp	104
2017-02-15 22:33:41.107030	zmdc		3043	INF	Starting pending process, zmc -m 1	zmdc.pl	
2017-02-15 22:33:41.093397	zmc_m3		3138	INF	Starting Capture version 1.30.0	zmc.cpp	250
2017-02-15 22:33:41.043700	zmdc		3139	INF	'zmc -m 2' started at 17/02/15 22:33:41	zmdc.pl	
2017-02-15 22:33:41.043690	zmdc		3043	INF	'zmc -m 2' starting at 17/02/15 22:33:41, pid = 3139	zmdc.pl	
2017-02-15 22:33:40.990020	zmdc		3043	INF	Starting pending process, zmc -m 2	zmdc.pl	
2017-02-15 22:33:40.926330	zmdc		3138	INF	'zmc -m 3' started at 17/02/15 22:33:40	zmdc.pl	
2017-02-15 22:33:40.926310	zmdc		3043	INF	'zmc -m 3' starting at 17/02/15 22:33:40, pid = 3138	zmdc.pl	
2017-02-15 22:33:40.889810	zmdc		3043	INF	Starting pending process, zmc -m 3	zmdc.pl	
2017-02-15 22:33:40.856330	zmdc		3043	ERR	'zmc -m 2' exited abnormally, exit status 255	zmdc.pl	
2017-02-15 22:33:40.822990	zmdc		3043	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	
2017-02-15 22:33:40.787250	zmdc		3043	ERR	'zmc -m 3' exited abnormally, exit status 255	zmdc.pl	
2017-02-15 22:33:40.260890	zmupdate		3108	INF	Checking for updates	zmupdate.pl	
2017-02-15 22:33:40.084430	zmfilter		3091	INF	Scanning for events	zmfilter.pl	
2017-02-15 22:33:39.589020	zmdc		3114	INF	'zmtelemetry.pl' started at 17/02/15 22:33:39	zmdc.pl	
2017-02-15 22:33:39.588800	zmdc		3043	INF	'zmtelemetry.pl' starting at 17/02/15 22:33:39, pid = 3114	zmdc.pl	
2017-02-15 22:33:39.401630	zmwatch		3101	INF	Watchdog pausing for 30 seconds	zmwatch.pl	
2017-02-15 22:33:39.352370	zmdc		3108	INF	'zmupdate.pl -c' started at 17/02/15 22:33:39	zmdc.pl	
2017-02-15 22:33:39.351230	zmdc		3043	INF	'zmupdate.pl -c' starting at 17/02/15 22:33:39, pid = 3108	zmdc.pl	
2017-02-15 22:33:39.331470	zmwatch		3101	INF	Watchdog starting	zmwatch.pl	
2017-02-15 22:33:38.993570	zmdc		3101	INF	'zmwatch.pl' started at 17/02/15 22:33:38	zmdc.pl	
2017-02-15 22:33:38.993560	zmdc		3043	INF	'zmwatch.pl' starting at 17/02/15 22:33:38, pid = 3101	zmdc.pl	
2017-02-15 22:33:38.604140	zmdc		3043	INF	'zmaudit.pl -c' starting at 17/02/15 22:33:38, pid = 3096	zmdc.pl	
2017-02-15 22:33:38.604140	zmdc		3096	INF	'zmaudit.pl -c' started at 17/02/15 22:33:38	zmdc.pl	
2017-02-15 22:33:38.318040	zmdc		3091	INF	'zmfilter.pl' started at 17/02/15 22:33:38	zmdc.pl	
2017-02-15 22:33:38.318030	zmdc		3043	INF	'zmfilter.pl' starting at 17/02/15 22:33:38, pid = 3091	zmdc.pl	
2017-02-15 22:33:38.066750	zmdc		3087	INF	'zmc -m 3' started at 17/02/15 22:33:38	zmdc.pl	
2017-02-15 22:33:38.066750	zmdc		3043	INF	'zmc -m 3' starting at 17/02/15 22:33:38, pid = 3087	zmdc.pl	
2017-02-15 22:33:37.798100	zmdc		3083	INF	'zmc -m 2' started at 17/02/15 22:33:37	zmdc.pl	
2017-02-15 22:33:37.797750	zmdc		3043	INF	'zmc -m 2' starting at 17/02/15 22:33:37, pid = 3083	zmdc.pl	
2017-02-15 22:33:37.606530	zmdc		3079	INF	'zmc -m 1' started at 17/02/15 22:33:37	zmdc.pl	
2017-02-15 22:33:37.606400	zmdc		3043	INF	'zmc -m 1' starting at 17/02/15 22:33:37, pid = 3079	zmdc.pl	
2017-02-15 22:33:37.451210	zmpkg		3025	INF	Single server configuration detected. Starting up services.	zmpkg.pl	
2017-02-15 22:33:34.445370	zmdc		3043	INF	Server starting at 17/02/15 22:33:34	zmdc.pl	
2017-02-15 22:33:34.044810	zmpkg		3025	INF	Command: start
Several abnormal exits

tmpfs running as indicated in OP
tmpfs 8085984 540020 7545964 7% /dev/shm
Locked