kerberos-io / machinery

(DEPRECATED) An open source image processing framework, which uses your USB-, IP- or RPi-camera to recognize events (e.g. motion).
https://www.kerberos.io
489 stars 102 forks source link

Stream not working despite restart of the service #207

Open KarlBaumann opened 4 years ago

KarlBaumann commented 4 years ago

I am running KerberosIO on Raspbian and tonight at 3:30 strange thing happened: kerberosio service kept running, but the stream was not available. The page on port 8889 did not load at all. Also no new log entries were created. I tried to change some config settings from web interface, after clicking update the stream was not started either. Also restarting kerberosio service did not change anything.

RAM was not full and disk wasn't either.

Only thing that was able to fix it was a complete reboot.

here are the latest logs that I collected in a frozen state. Hope this helps someday:

root@pi-zero-w:/var/log# service kerberosio status
● kerberosio.service - Kerberos.io - Machinery - video surveillance
   Loaded: loaded (/etc/systemd/system/kerberosio.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-02-15 01:17:17 GMT; 8h ago
 Main PID: 255 (kerberosio)
   Memory: 79.2M
   CGroup: /system.slice/kerberosio.service
           └─255 /usr/bin/kerberosio

Feb 15 07:37:47 pi-zero-w kerberosio[255]: Port 70: out 1/1 1843200 16 enabled,populated,not cont. 1280x960 1280x960 @10fps 20
Feb 15 07:37:47 pi-zero-w kerberosio[255]: Wating port 71 to be 1
Feb 15 07:37:47 pi-zero-w kerberosio[255]: Port 71: out 0/0 1843200 16 enabled,populated,not cont. 1280x960 1280x960 @10fps 20
Feb 15 07:37:47 pi-zero-w kerberosio[255]: [OMX.broadcom.camera]Wating state to be 3
Feb 15 07:37:47 pi-zero-w kerberosio[255]: Wating port 201 to be 1
Feb 15 07:37:47 pi-zero-w kerberosio[255]: Port 200: in 1/1 1843200 16 enabled,populated,not cont. 1280x960 1280x960 @10fps 20
Feb 15 07:37:47 pi-zero-w kerberosio[255]: Port 201: out 1/1 65536 16 enabled,populated,not cont. 1280x960 0x0 @30fps 0
Feb 15 07:37:47 pi-zero-w kerberosio[255]: [OMX.broadcom.video_encode]Wating state to be 3
Feb 15 07:37:47 pi-zero-w kerberosio[255]: Wating port 201 to be 1
Feb 15 07:37:47 pi-zero-w kerberosio[255]: Wating port 200 to be 1

log.stash.txt