
After some tinkering, **yes ** this indeed was my issue. The logs for pictrs
and lemmy
in particular were between 3 and 8 gb only after a couple weeks of info
level logging.
Steps to fix (the post above has more detail but adding my full workflow in case that helps folks, some of this wasn't super apparent to me) - these steps assume a docker/ansible install:
- SSH to your instance.
- Change to your instance install dir
most likely:
cd /srv/lemmy/{domain.name}
- List currently running containers
docker ps --format '{{.Name}}'
Now for each docker container name:
- Find the path/name of the associated log file:
docker inspect --format='{{.LogPath}}' {one of the container names from above}
- Optionally check the file size of the log
ls -lh {path to log file from the inspect command}
- Clear the log
truncate -s 0 {path to log file from the inspect command}
After you have cleared any logs you want to clear:
- Modify docker-compose.yml adding the following to each container:
undefined
logging: driver: "json-file" options: max-size: "100m"
- Restart the containers
docker-compose restart

UPDATE:
If anyone else is running into consistently rising disk I am pretty sure this is my issue (RE logs running with no cap):
Trying out ^ and will update with my findings if it helps.
Tips for "Care and Feeding" of my Instance - Disk Usage Rising
Any helpful tips for general care and feeding I should be doing on a regular basis?
I know I need to keep an eye on updates and re-run my ansible setup form time to time to stay up to date.
But I have also been keeping an eye on my VPS metrics to see when/if I need to beef up the server.
One thing I am noticing is a steadily increasing disk utilization (which mostly makes sense except its seeming a bit faster than I expected as most all media is links to external sites rather than uploading media directly to my instance).
Anything I can do to manage that short of just adding more space? Like are there logs/cached content that need to be purged from time to time?
Thank you!

Classic HC Plans?
Folks been planning their HC toons/profs for when official drops?
Been trialing a few on unofficial Bloodsail and having a blast.
Feeling good about Priest with ench (until GMW) and then tailoring/skinning.

Anyone else a D4 alt-o-holic?
I get to like 20/30 and then want to try another class. Loving the mechanics on all of them! Hard to settle.