UnicornTeam / hackcube

361 stars 89 forks source link

Log flooding + CPU load #1

Open mame82 opened 6 years ago

mame82 commented 6 years ago

/root/battery_file/bat.sh contains non-blocking loops putting pressure on CPU of Pi0w additionally the loop uses several echo commands, which deliver their output to syslog (as the script is started from rc.local) and thus flood the logs (e.g. "poweroff" message). This puts additional CPU load on journaling daemon systemd-journal.

Guys, I know this is an early development stage, anyway, it would be very helpful to have: 1) Decompressed resources of the scripts in the repo (easy changes). 2) Access to web-backend repo https://github.com/peacesky/flask-file-uploader.git 3) Sources for the frontend vuejs app (before running through webpack bundeling).

Supporting/extending isn't easy without that, although I fully understand if you'd like to keep access restricted till you're "production ready"

ReinoChin commented 6 years ago

This problem will be fixed in the next version. Thanks for your advice.

Anderson-Liu commented 6 years ago

@mame82 Hi. I have create a pull request to this repo to add the code of frontend vuejs app (before running through webpack bundeling) and the source code of web-backend. Hope this will help for you.

mame82 commented 6 years ago

@peacesky Thanks man, this helps a lot 👍