Server became slow after update

Description

After updating to version 4.1.2, our instance has become very slow and unresposive (it has been slow before, but only sporadically). Checking on DevTools, I can see all request are returning HTTP code 502 after several seconds.

Spec of our server:
8 core CPU, 16GB RAM.

Active users:
Around 70.

Any help or insights are appreciated! Thank you.

Server Setup Information

  • Version of Rocket.Chat Server: 4.1.2
  • Deployment Method: Digital Ocean droplet
  • Number of Running Instances: 1
  • NodeJS Version: 12.22.1
  • MongoDB Version: 4.2.15 / wiredTiger (oplog Enabled)

Hi! Welcome to our forums!

Are you able to see something from the logs?

journalctl -eu rocketchat

Hello! Thanks for your reply!

Unfortunately we were in a rush, so we decided to restore a previous snapshot as we could not find the origin of the issue. However, if it happens again, we will make sure to run this command and check the logs.

Ok! Let us know if you have any other problem.

Also, please check that you have swap on at your digital ocean droplet.

It can improve performance, specially with the mongo’s new wiredTiger storage engine.