AWS
1
Hi Team,
Our self-hosted Frappe Cloud App server has hit 94% disk usage, and I’ve already done the following:
- Ran
docker system prune -a --volumes --force
- Verified active containers are small (~10–50MB)
- Checked
/var/lib/docker/buildkit
→ only 619MB
- No significant unused volumes
- Docker images are the largest — several
bench-*
images (2.5–4.2GB), some with multiple layers
Looking for guidance on:
- Safely identifying and removing old/unneeded
bench-*
images
- Any Press-specific cleanup or GC functionality I may have missed
- Other common space hogs in
/home/frappe/
or within the Press ecosystem
Disk usage:
bash
CopyEdit
/dev/sda1 338G 303G 21G 94%
@corentin bro …Appreciate any help to safely free up space without affecting active benches/sites.
AWS
2
I found something
root@App-server:~# du -sh /home/frappe/*
602M /home/frappe/agent
128G /home/frappe/archived
93G /home/frappe/benches
The archived has 128GB how can i safely remove this
There is a build cache that can be cleared with docker builder prune
:
docker container prune
docker image prune -a
docker builder prune -a
docker volume prune
You can safely remove the contents of the archived directory /home/frappe/archived
, don’t delete the dir itself:
cd /home/frappe/archived/
for bench in bench-*; do
[[ -d "$bench" ]] || continue
rm -rf "$bench"
done
AWS
4
Thanks a lot brother you are a life saver 
1 Like
anupd
5
Which registry provider are you using ?
What is your total cost per month for storing 300G + data ?
AWS
6
Its not reg server its my app server
I currently run my prod servers in hetzner cloud and my dev server in AWS
For aws i get a ~250$ bill per month and for hetzner i get ~800$
anupd
7
so your docker registry is self hosted ?