My instance of RC is becoming unusable since it consumes so much CPU. Mongo consumes about 400% CPU on a large server with only a few users online. This started a few weeks ago and is gradually getting worse, currently anonymous login isn’t even working since it can’t load the username suggestions.
I considered it may be due to an attack but I’ve enabled DDOS protection from Cloudflare and the result is the same. There are however no problems on my dev server, the problem start on production when there are users.
It would be much appreciated if anyone could help sort this out. I have previously restored an old backup of the server since I initially thought it was due to updating to 3.5.0, but a couple of days after restoring the backup the problems arose again.
Server Setup Information
- Version of Rocket.Chat Server: 3.0.12 and 3.5.0
- Operating System: Ubuntu
- Deployment Method: Docker-compose
- Number of Running Instances: 1
- MongoDB Version: 3.6
- Proxy: Nginx