gilestrolab / ethoscope

a platform from monitoring animal behaviour in real time from a raspberry pi
http://lab.gilest.ro/ethoscope/
GNU General Public License v3.0
17 stars 25 forks source link

/tmp folder gets full with ethoscope_* preview images #114

Closed pepelisu closed 4 years ago

pepelisu commented 4 years ago

If the node is not restarted in a long time, the /tmp folder gets full with ethoscope* preview images. These images are created when previewing the video in the browser. Suggestion: Make a cron or regular script that deletes the ethoscope* files on /tmp that are more than 1 minute old.

ggilestro commented 4 years ago

Thanks for pointing this out. I am considering recoding the whole preview procedure to replace it with an actual stream using the ZeroMQ protocol. This would stream previews as mjpg and solve a number of annoying issues like the one you just found.