self-hosted
self-hosted copied to clipboard
Take a lot of RAM & CPU resources, and lead to unable to connect to server via SSH
Self-Hosted Version
24.5.0
CPU Architecture
Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz
Docker Version
26.1.3
Docker Compose Version
v2.27.0
Steps to Reproduce
- git clone https://github.com/getsentry/self-hosted.git
- mv ./self-hosted ./sentry
- git checkout 24.5.0
- ./install.sh
Expected Result
work correctly with 4core + 16RAM and take reasonable CPU and RAM resources
Actual Result
wait about half of a day, the consumption of RAM and CPU raised to extremely hight (4 core + 16 RAM) and no longer able to connect to server via SSH, have to reboot server, but the issue will appear again
Event ID
No response
Unfortunately, there's not something we can do for you in the immediate term. We are working on an errors-only version of self-hosted Sentry, which should drastically reduce the amount of RAM and CPU resources that are being used though.
Unfortunately, there's not something we can do for you in the immediate term. We are working on an errors-only version of self-hosted Sentry, which should drastically reduce the amount of RAM and CPU resources that are being used though.
that sounds awesome and thank you again, at last can we know what specific version you are now working on, so that i can apply this version to fix issues from my side
Hello,
Sorry, but the documentation mentioned:
[Recommended system resource](https://develop.sentry.dev/self-hosted/#recommended-system-resource)
Depending on your usage, required system resource to run Sentry may varies. Minimum system specification for running Sentry looks like this:
2 CPU cores
4 GB RAM
Why sentry consume 16GB of ram ?
How to make it consume 4GB of RAM ?
Best regards,
Sentry consumes that amount of RAM due to its services required to run. We're not looking to decrease this for the default Sentry install. However, if you'd like to use errors only self-hosted, you can do so. https://develop.sentry.dev/self-hosted/#errors-only-self-hosted-sentry