Closed vsfomin closed 1 year ago
Ok, the problem was related to not enough RAM on the host where Sentry was installed. It needs 11Gb+ for working in our case. No other application installed on this server. Now all containers are UP but when I try to enter via web UI, I see this:
Can you suggest what I need to do to resolve this?
Seems like your free memory is still really low, wondering if that might be the issue here. I'd guess there's something that's going wrong with the health of your containers
Is it normal that web-1 consumes over 8 Gb of RAM or something went wrong?
UPD: I tried to do docker compose stop && docker system prune than install another version [22.7.0] -- same thing.
Yeah, that's not normal, mine does not use nearly as much. Is your web container constantly restarting still?
Is this a clean install?
Is your web container constantly restarting still?
No, now sentry works fine after I added additional RAM. Now I have 16Gb.
Is this a clean install?
I tried to install Sentry on fresh Rocky Linux 9 but did it several times because sentry didn't start correctly.
I always do docker compose stop, docker system prune when I want to install another version (not 22.7.0 in my case) or reinstall the same version (23.3.1). When I do docker copose stop, free -h shows me 14Gb available. (total 16Gb)
When I try to install it first time, sentry didn't start correctly. Therefore I can make a conclusion that web-1 consumed a lot of memory when I installed it first time too.
Have you some ideas what I can do with that?
I am facing the same problem: Clean install with same Sentry and Docker version and same architecture and RAM (16GB). Sentry web service instantly starts consuming around 8.4GB of RAM. Right now I am using RHEL but I have an older installation with the same sentry version using Debian, where this doesn't happen. Which distro are you using?
Edit: Just noticed you are using Rocky Linux 9, which is based in RHEL. Could there be an issue with the OS used to install docker and sentry?
@Leonardomav I'm using Rocky Linux (RHEL). I have older installation of Sentry 20.11.14 on CentOS7 where application doesn't consume a lot of memory. Web-1 consumes there only about 400 Mb of RAM.
b9c336b13cd6 sentry_onpremise_web_1 0.01% 398.2MiB / 43.23GiB 0.90%
cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
@vsfomin Same scenario here but with Debian instead of centOS. Have you tried installing the latest sentry 22 release on your rocky Linux instance?
@Leonardomav I tried to install 22.7.0 and other versions of sentry. I've faced this issue in all cases.
@vsfomin Changed my setup from RHEL to a new Debian VM with the same specs and versions, and the problem was fixed. I don't fully understand what is causing the issue but it may be something to do with Fedora based linux with the current version of docker.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog
or Status: In Progress
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
I'm curious to see if this is an issue after ulimits were added for zookeeper, kafka, and web
Hey @hubertdeng123 yes, adding ulimits for web resolve this issue in my case
Self-Hosted Version
23.3.1
CPU Architecture
x86_64
Docker Version
23.0.2
Docker Compose Version
2.17.2
Steps to Reproduce
Expected Result
All containers are in Up state and 127.0.0.1:9000 works fine.
Actual Result
sentry_install_logs.txt docker-compose_logs.txt sentry-self-hosted_web_1_logs.txt
Event ID
No response