Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No/low disk space warning. #3008

Open
barisyild opened this issue Apr 30, 2024 · 8 comments
Open

No/low disk space warning. #3008

barisyild opened this issue Apr 30, 2024 · 8 comments

Comments

@barisyild
Copy link

Problem Statement

When disk space becomes full or low, sentry starts to experience various problems, for example "envelope buffer capacity exceeded" occurs because sentry cannot process new issues.

Solution Brainstorm

A warning can be added where we can see the disk space or indicate that disk space is running low/full.

Product Area

Other

@getsantry
Copy link

getsantry bot commented Apr 30, 2024

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link

getsantry bot commented Apr 30, 2024

Routing to @getsentry/product-owners-issues for triage ⏲️

@roggenkemper
Copy link
Member

hi! thanks for writing a ticket about this. just to double check - is this about your self-hosted sentry instance?

@barisyild
Copy link
Author

hi! thanks for writing a ticket about this. just to double check - is this about your self-hosted sentry instance?

Yes, and sentry stops error handling when disk space gets low, obviously there is a risk if disk space gets below a certain size and a warning system would be nice.

@roggenkemper roggenkemper transferred this issue from getsentry/sentry Apr 30, 2024
@hubertdeng123
Copy link
Member

It is unlikely we'll implement this feature, but something that may be helpful for you to do is set up some sort of cron monitor to ensure your disk space doesn't get too low. Or, you could set up some sort of external integration that can check the disk space on your cloud instance if you're using GCP or AWS.

@brunis
Copy link

brunis commented May 13, 2024

You could also change the minimum requirements to the current recommended requirements.. and then double all the numbers in the Recommended.. for every release the demands keep going up .. I have a VM with recommended specs, I had to add 20GB of swap to avoid sentry crashing my VM on startup..
It seems bizarre my logging application (sentry) needs 2-3x the hardware of the application logging to it..

@barisyild
Copy link
Author

It is unlikely we'll implement this feature, but something that may be helpful for you to do is set up some sort of cron monitor to ensure your disk space doesn't get too low. Or, you could set up some sort of external integration that can check the disk space on your cloud instance if you're using GCP or AWS.

Why can't implement this feature, after all the vm knows how many gb of free space is available, can't it alert the system when it is below a certain amount?

@hubertdeng123
Copy link
Member

hubertdeng123 commented May 14, 2024

Yes, we could implement this feature. However, it is not a priority at the moment. You could simply write a cronjob to check disk space on your VM and trigger an alert that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Status: No status
Status: No status
Development

No branches or pull requests

4 participants