badgerherald / badgerherald.com

The Badger Herald's college media platform for WordPress.
http://badgerherald.com
Other
5 stars 1 forks source link

Docker logs overflow #253

Closed wjhdev closed 2 years ago

wjhdev commented 2 years ago

Docker logs are eating all available VM space, which is likely the longstanding resource/restart issue the site has been experiencing (e.g. mis-diagnosed in #233)

root@prd-badgerherald:/var/lib/docker/containers# du -ch
18G total 

Fix should be simple in compose:

services:
  <all>:
    logging:
      options:
        max-size: 1g
wjhdev commented 2 years ago

Resolved by dbda18d4b9979a148ef1940902494df193a6ec38