coddingtonbear / inthe.am

Access your Taskwarrior tasks from any browser anywhere
https://inthe.am/
GNU Affero General Public License v3.0
593 stars 50 forks source link

Docker host environment /var/log/daemon.log slowly fills host disk space #339

Closed coddingtonbear closed 3 years ago

coddingtonbear commented 3 years ago

This caused an outage for most of the day; clearly some logrotate settings need to be adjusted.

coddingtonbear commented 3 years ago

As it turns out; logrotate was already set up correctly! It's just that it runs only 1x/day unless you specifically set it up to run more often. I've done that now.

renefritze commented 3 years ago

Did you consider limiting the containers' logs too? I usually add something like this to docker's daemon.json

{
    "log-driver": "json-file",
    "log-opts": {"max-size": "10m", "max-file": "3"}
}
coddingtonbear commented 3 years ago

Didn't, but only kind of know what I'm doing! I'm not sure how much time you have these days, but are you up for helping maintain things?

renefritze commented 3 years ago

Sorry, no. I cannot commit to any continuous help.

CourteousCoder commented 3 years ago

@coddingtonbear , I think it's happening again. I would like to try to help you maintain this.

coddingtonbear commented 3 years ago

Fixed, @DanielSchetritt -- thanks for the heads-up ! Awesome; thanks for offering. I'm planning on putting out an official call for maintainers soon (probably via a toast message when logging-in to the site). Click on that link when you see it.