zoneminder service stopped itself
Posted: Sat Sep 24, 2016 3:10 pm
There is a very similar thread on the 1.29.x subforum tho there logs do not match mine, this is a relevant snippet from my log
as can be seen the service stops right after the block of "overload mode" these do not occur anywhere else in the logfile apart from one other occurence where the zoneminder service stopped by itself. system has plenty resource overhead, unless some other process is loading and grinding the system down at that time ?
DF output
Free -mega output
load average usually hovers around 1.8, low as 1.5 with no activity max of 3.4 ish with activty on all cameras. both events where zoneminder shut down all cameras were idle. On a 4 core processor.
Any help or pointers to troubleshoot this would be appreciated, only started 2 days ago after manually purging the logfile (coincidence?) system has been faultless for about a month now on 1.30.
EDIT: Debian testing on 4.6.0-1-amd64 kernel
Code: Select all
Sep 23 20:27:03 garagehost zma_m8[4666]: INF [workshop small 50: 502001 - Opening new event 33689, section start]
Sep 23 20:27:03 garagehost zma_m8[4666]: INF [In overload mode, 3 frames of 3 remaining]
Sep 23 20:27:03 garagehost zma_m8[4666]: INF [In overload mode, 2 frames of 3 remaining]
Sep 23 20:27:03 garagehost zma_m8[4666]: INF [In overload mode, 1 frames of 3 remaining]
Sep 23 20:27:04 garagehost zma_m8[4666]: INF [In overload mode, 3 frames of 3 remaining]
Sep 23 20:27:05 garagehost zma_m8[4666]: INF [In overload mode, 2 frames of 3 remaining]
Sep 23 20:27:05 garagehost zma_m8[4666]: INF [In overload mode, 1 frames of 3 remaining]
Sep 23 20:27:05 garagehost zma_m8[4666]: INF [In overload mode, 3 frames of 3 remaining]
Sep 23 20:27:06 garagehost zma_m8[4666]: INF [In overload mode, 2 frames of 3 remaining]
Sep 23 20:27:06 garagehost zma_m8[4666]: INF [In overload mode, 1 frames of 3 remaining]
Sep 23 20:27:06 garagehost zma_m8[4666]: INF [In overload mode, 3 frames of 3 remaining]
Sep 23 20:27:06 garagehost zma_m8[4666]: INF [In overload mode, 2 frames of 3 remaining]
Sep 23 20:27:07 garagehost zma_m8[4666]: INF [In overload mode, 1 frames of 3 remaining]
Sep 23 20:27:07 garagehost zma_m8[4666]: INF [workshop small 50: 502017 - Gone into prealarm state]
Sep 23 20:27:21 garagehost zmwatch[3357]: INF [Restarting capture daemon for Ally, time since last capture 12 seconds (1474658841-1474658829)]
Sep 23 20:27:22 garagehost zmdc[2820]: INF ['zmc -m 10' sending stop to pid 16126 at 16/09/23 20:27:22]
Sep 23 20:27:22 garagehost zmc_m10[16126]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:28 garagehost zmdc[2820]: WAR ['zmc -m 10' has not stopped at 16/09/23 20:27:28. Sending KILL to pid 16126]
Sep 23 20:27:28 garagehost zmdc[2820]: INF ['zmc -m 10' exited normally]
Sep 23 20:27:29 garagehost systemd[1]: zoneminder.service: Main process exited, code=exited, status=4/NOPERMISSION
Sep 23 20:27:29 garagehost zmpkg[16130]: INF [Sanity checking States table...]
Sep 23 20:27:29 garagehost zmpkg[16130]: INF [Command: stop]
Sep 23 20:27:29 garagehost sudo[16136]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/bin/true
Sep 23 20:27:29 garagehost sudo[16136]: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Sep 23 20:27:29 garagehost sudo[16136]: pam_unix(sudo:session): session closed for user www-data
Sep 23 20:27:29 garagehost sudo[16138]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl check
Sep 23 20:27:29 garagehost sudo[16138]: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Sep 23 20:27:29 garagehost sudo[16138]: pam_unix(sudo:session): session closed for user www-data
Sep 23 20:27:30 garagehost systemd[1]: zoneminder.service: Control process exited, code=exited status=1
Sep 23 20:27:30 garagehost zmc_m8[16105]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zmc_m5[4616]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zmc_m7[4471]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zmc_m6[16102]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zma_m5[4620]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zma_m6[15771]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zma_m8[4666]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zma_m10[11836]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zmc_m9[16127]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zma_m9[14444]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zma_m7[4475]: INF [Got signal 15 (Terminated), exiting]
Sep 23 20:27:30 garagehost zma_m8[4666]: INF [workshop small 50: 502184 - Closing event 33689, section end]
Sep 23 20:27:30 garagehost zma_m9[14444]: INF [Ally small 52: 64300 - Closing event 33688, shutting down]
Sep 23 20:27:30 garagehost zma_m7[4475]: INF [office small 51: 514932 - Closing event 33686, shutting down]
Sep 23 20:27:31 garagehost zma_m8[4666]: WAR [Event 33690 has zero time, setting to current]
Sep 23 20:27:31 garagehost zma_m8[4666]: INF [workshop small 50: 502184 - Opening new event 33690, section start]
Sep 23 20:27:31 garagehost zma_m8[4666]: INF [workshop small 50: 502184 - Gone into prealarm state]
Sep 23 20:27:32 garagehost zma_m8[4666]: INF [workshop small 50: 502185 - Closing event 33690, shutting down]
Sep 23 20:27:32 garagehost systemd[1]: zoneminder.service: Unit entered failed state.
Sep 23 20:27:32 garagehost systemd[1]: zoneminder.service: Failed with result 'exit-code'.
DF output
Code: Select all
Filesystem 1M-blocks Used Available Use% Mounted on
udev 7870M 0M 7870M 0% /dev
tmpfs 1576M 58M 1519M 4% /run
/dev/sda1 51915M 10003M 39253M 21% /
tmpfs 7880M 1550M 6331M 20% /dev/shm
tmpfs 5M 1M 5M 1% /run/lock
tmpfs 7880M 0M 7880M 0% /sys/fs/cgroup
/dev/sdc1 2816556M 638327M 2035134M 24% /media/denis/storage1
tmpfs 1576M 1M 1576M 1% /run/user/112
tmpfs 1576M 0M 1576M 0% /run/user/1000
Code: Select all
total used free shared buff/cache available
Mem: 16136 802 161 1687 15171 13307
Swap: 8376 0 8376
Any help or pointers to troubleshoot this would be appreciated, only started 2 days ago after manually purging the logfile (coincidence?) system has been faultless for about a month now on 1.30.
EDIT: Debian testing on 4.6.0-1-amd64 kernel