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
490 stars 104 forks source link

systlog and daemon.log flooding if turned off #164

Open loki-sft opened 5 years ago

loki-sft commented 5 years ago

When I turn off the machinery via button or api the syslog and daemon.log files are flooding and filling my SSD within minutes!

syslog:

Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.660 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.660 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.660 INFO [trivial] Machinery on hold, conditions failed.

daemon.log:

Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.657 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.657 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.657 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.657 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.657 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.657 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.658 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Condition: not enabled. Jul 18 17:13:18 nuc kerberosio[25413]: 18/07/2018 17:13:18.659 INFO [trivial] Machinery on hold, conditions failed.

cedricve commented 5 years ago

hmmm, did you change any other detection settings?

loki-sft commented 5 years ago

This is my config.xml:

` <?xml version="1.0"?>

Garten false Europe-Berlin IPCamera Mjpg Enabled DifferentialCollins Hull Sequence Disk,Script S3

`

` <?xml version="1.0"?>

20 30 true 15 5 1 6 7 10

`

`<?xml version="1.0"?>

true 00

`

`<?xml version="1.0"?>

20 1 1000 3 140 200 true 20 100 100,100|100,200|200,100|200,200 ` ` timestamp_microseconds_instanceName_regionCoordinates.jpg /etc/opt/kerberosio/capture/ false white false 0 17 1 100000 0 127.0.0.1 1337 motion-detected 0 http://localhost/api/v1/webhook 0 false false 127.0.0.1 1883 kios/mqtt 0 `
neutralvibes commented 5 years ago

Still no response to this issue? It it still happening. I counted circa 60 entries per second being logged, which negatively hits performance, when turning processing off should really do the opposite.

If your turn the machinery off, conditions should not really be tested to have to be ignored. It would be great if this could be sorted out as there are times when it is desirable to do so.

cmilanf commented 4 years ago

It is still happening and a bit annoying as it is a waste of disk I/O and CPU. Is it not posible to change the logging level on Machinery?

cedricve commented 4 years ago

Thanks for reporting not yet fixed, we will add a fix.