ZoneMinder Crashes/Stops After a Few Hours

Forum for questions and support relating to the 1.30.x releases only.
Locked
engineer-labs
Posts: 1
Joined: Sun Jun 17, 2018 2:29 am

ZoneMinder Crashes/Stops After a Few Hours

Post by engineer-labs »

I am using Raspberry Pi 3, Raspbian OS, ZoneMinder 1.30.4 with 3 IP cams; FFMPEG. I installed ZoneMinder using this wiki: https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way

It runs OK and after a few hours, it stops. Tried reducing "Reference Image Blend %ge" as recommended in another post to no avail. All other settings are at defaults.

The events & images folder are located in an external drive to conserve space on the Pi (https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive).

Partial error log as follows (after crashing):

Code: Select all

2018-06-17 10:26:31.183933	zms		30540	ERR	Got signal 11 (Segmentation fault), crashing	zm_signal.cpp	50
2018-06-17 10:26:31.117672	zms		30540	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	533
2018-06-17 10:26:31.105506	zms		30539	ERR	Got signal 11 (Segmentation fault), crashing	zm_signal.cpp	50
2018-06-17 10:26:31.078716	zms		30539	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	533
2018-06-17 10:26:29.995250	web_php		22404	ERR	socket_sendto( /var/run/zm/zms-077849s.sock ) failed: Connection refused	/usr/share/zoneminder/www/includes/functions.php	2033
2018-06-17 10:26:29.975031	web_php		22403	ERR	socket_sendto( /var/run/zm/zms-280446s.sock ) failed: Connection refused	/usr/share/zoneminder/www/includes/functions.php	2033
2018-06-17 10:26:26.160999	zms		30536	ERR	Got signal 11 (Segmentation fault), crashing	zm_signal.cpp	50
2018-06-17 10:26:26.137007	zms		30536	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	533
2018-06-17 10:26:24.968555	web_php		22402	ERR	socket_sendto( /var/run/zm/zms-513428s.sock ) failed: Connection refused	/usr/share/zoneminder/www/includes/functions.php	2033
2018-06-17 10:26:19.899551	zms		30532	ERR	Got signal 11 (Segmentation fault), crashing	zm_signal.cpp	50
2018-06-17 10:26:19.743392	zms		30533	ERR	Got signal 11 (Segmentation fault), crashing	zm_signal.cpp	50
2018-06-17 10:26:19.742732	zms		30532	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	533
2018-06-17 10:26:19.717089	zms		30533	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	533
2018-06-17 10:26:18.935289	web_php		22402	ERR	socket_sendto( /var/run/zm/zms-077849s.sock ) failed: Connection refused	/usr/share/zoneminder/www/includes/functions.php	2033
2018-06-17 10:26:18.934760	web_php		23124	ERR	socket_sendto( /var/run/zm/zms-280446s.sock ) failed: Connection refused
I'd appreciate any clues or solutions to this. Thanks!
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZoneMinder Crashes/Stops After a Few Hours

Post by bbunge »

Check the free space in /dev/shm. If low decrease the camera resolution. You may want to switch to the systemd mount for the external storage. Make sure your storage has a Linux file system.
Locked