Rank 1: Thread
hi, i have a self hosted instance of appwrite on a vps. my appwrite db has around 50k documents in total but appwrite is taking up more then 120+GB. i doubt the database or any other file in media storage is taking up this much space
Votes
1
Replies
23
Participants
Unknown
Messages
24
Rank 1: Thread
hi, i have a self hosted instance of appwrite on a vps. my appwrite db has around 50k documents in total but appwrite is taking up more then 120+GB. i doubt the database or any other file in media storage is taking up this much space
What's the result of
docker system df -v
Rank 1: Thread
Rank 1: Thread
40GB cache💀
That's not cache
That's images
Rank 1: Thread
you mean the build cache?
Run it again the command with the -v to see the storage used by the images
docker system df -v
Rank 1: Thread
Do sudo du -sh /var/lib/docker/volumes/*
Rank 1: Thread
quite a long response
Only the volume are of interest for us
Rank 1: Thread
got it
Rank 1: Thread
Isn't that affecting volumes?
Affecting in what way?
Nevermind.
Anyways the issue seems to be unused images
Do you still need those images?
Rank 1: Thread
no
Rank 1: Thread
didnt touch them
Rank 1: Thread
thought appwrite might have something to do with them
Seems not.
I recommend doing a copy or backup of them just in case, then removing them if they're not being used or you don't want them.
Then if everything is still working fine you can delete the copy
Rank 1: Thread
ok, will do