Solved: Errors and Warnings on 5mp camera

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
jedix
Posts: 15
Joined: Thu Aug 16, 2018 2:06 pm

Solved: Errors and Warnings on 5mp camera

Post by jedix » Fri Sep 28, 2018 4:36 pm

Hello,

I've been trying to get a high resolution camera to record but have been getting issues that I've captured below:

Code: Select all

2018-09-28 12:24:59	web_js		12738	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2018-09-28 12:24:57	web_php		12738	ERR	Timed out waiting for msg /var/run/zm/zms-178788s.sock	/usr/share/zoneminder/www/ajax/stream.php	90
2018-09-28 12:24:57	web_php		12738	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2042
2018-09-28 12:24:53	zms_m2		10848	ERR	Frame send time 140 msec too slow, throttling maxfps to 13.33	zm_monitorstream.cpp	423
2018-09-28 12:24:51	zms_m2		10848	ERR	Frame send time 52 msec too slow, throttling maxfps to 20.00	zm_monitorstream.cpp	423
2018-09-28 11:00:56	zms_m2		10848	WAR	no last_frame_sent. Shouldn't happen. frame_mod was (1) frame_count (0)	zm_monitorstream.cpp	705
2018-09-28 11:00:55	web_js		1376	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-847235s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()	?view=watch	
2018-09-28 11:00:55	web_php		1376	ERR	Socket /var/run/zm/zms-847235s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2042
2018-09-28 11:00:54	zmdc		934	ERR	'zma -m 2' exited abnormally, exit status 255	zmdc.pl	
2018-09-28 11:00:54	zma_m2		10843	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-09-28 11:00:51	zmdc		934	WAR	Can't find process with command of 'zma -m 2'	zmdc.pl	
2018-09-28 11:00:49	web_js		12733	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-805157s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()	?view=watch	
2018-09-28 11:00:49	web_php		12733	ERR	Socket /var/run/zm/zms-805157s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2042
2018-09-28 11:00:49	zms_m2		10772	ERR	Terminating, last frame sent time 10.011283 secs more than maximum of 10.000000	zm_monitorstream.cpp	707
2018-09-28 11:00:39	web_js		27739	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2018-09-28 11:00:39	web_php		27739	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2042
2018-09-28 11:00:39	web_php		27739	ERR	Timed out waiting for msg /var/run/zm/zms-865648s.sock	/usr/share/zoneminder/www/ajax/stream.php	90
2018-09-28 11:00:37	zms_m2		1643	ERR	Terminating, last frame sent time 10.007318 secs more than maximum of 10.000000	zm_monitorstream.cpp	707
2018-09-28 10:44:42	web_js		1376	ERR	Uncaught TypeError: Cannot read property 'isDisplayed' of undefined
I thought it may have been memory issues, so I've decreased the buffers:

Code: Select all

{conf.d} $ ls -l /run/shm/zm* | awk 'BEGIN {sum=0} {sum += $5} END {print sum/1024/1024."M"}'
576.656M
{conf.d} $ free -m
              total        used        free      shared  buff/cache   available
Mem:          15981        8784         168         698        7029        6171
Swap:          7624        1754        5870
This seems fine to me, can anyone see anything here?

The camera is a 2592 x 1944 resolution 32 bit camera.

Buffer info is:
Image buffer size: 30

Storage:
h264 camera passthrough
enable sound is checked.

It seems to work most of the time, but there are glitches like above - usually when alarming, which causes the event to contain a spinning circle instead of a video. It seems the video is cleared out at a later date all together, perhaps by disk usage check?

Anyways, the shared memory worked with an image buffer size of 45, 150, and 300 which doesn't seem to affect anything. Eventually it gets into a state where the services don't restart so it's not viewable until I go and play with the settings which seems to cause a restart.


Edit:

I believe this was caused by high bitrate in the recordings. I've lowered the bitrate from 8000 to 5000 and change the resolution to a wide angle view and the issue seems resolved.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests