Hello everyone! Sometimes mongodb loads the CPU at 100%. Moreover, I do not load the chat at all at this moment. That is, it happens even in idle mode.
Note: I use chat via https, I use a paid certificate from GlobalSign: SSL & Digital Certificates by GlobalSign
My Ubuntu-Server configurations:
Ubuntu 20.04 X64
1 GB RAM / 1 CPU / 25 GB SSD / 50 Mbit/s
Server Setup Information
- Version of Rocket.Chat Server: 4.5.1
- Operating System: Ubuntu 20.04 X64
- Deployment Method: snap
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version: 14.18.3 - x64
- MongoDB Version: 4.2.17
- Proxy: nginx
- Firewalls involved:
Any additional Information
You have 0 of swap?
How many active users? Maybe you are running out mem/cpu there.
Yes, for some reason I have 0 swap. I don’t know why
Active users 1-2. At this moment, the chat is not loaded at all!
Can you tell me: what does the mongodb --config=/var/snow/rocketchat-server/1513/mongod command actually do?
I used to experience this with some frequency. I increased my initial memory from 1Gb to 2Gb and problem has completely disappeared. I believe 1Gb memory, even for very low user numbers ( we use system for iOS/macOS app development ), seems to be the issue.
Thanks, I’ll try to use 2GB of RAM