Technology

Recovering Sentry from disk full state

If you have Sentry on-premise installed and run out of space, then bringing it back can be a little bit tricky. Especially if you have tons of projects configured with loads of data coming into it. If you can accept some in-memory data to be lost then search for redis container and flush it. Sentry can use hundreds of GB of both RAM and swap and still do not start.

So, first search for Redis, as it ca be named differently depending on your Sentry version:

docker ps | grep redis
docker exec -it sentry-self-hosted-redis-1 redis-cli flushall

Once you flushed Redis, run full restart and it should start within acceptable time period.