Roket Chat Server hung

Description

As per the below Server configuration by rocket chat doc, We have a step-up rocket chat server on ec2.
VPS (minimal)
Single core (2 GHz)
1 GB RAM
30 GB of SSD
Up to 200 users, up to 50 concurrently active.

Before Server got hung Below Configuration
CPU 1
1 GB RAM
30 GB of SSD
For 7 to 10 User’s

Problem

  1. I am not able to take Ec2 SSH (Action Reboot Server)

Observation

  1. iowait high.
  2. memory consumption high

Action
We increased 1gb more memory.

Current configuration
CPU 1
2 GB RAM
30 GB of SSD
For 7 to 10 User’s

Note: After increase memory, we have not to face this challenge yet.

As per the standard shared configuration, 1 GB memory is sufficient for 7 to 10 Users

Please help us we need to reduce memory 1 GB share any suggestion do we need to tunning?

Server Setup Information

  • Version of Rocket.Chat Server: 1.1.3
  • Operating System: CentOS Linux 7 (Core) on ec2
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 8.11.4 - x64
  • MongoDB Version: 4.0.10
  • Proxy: nginx/1.12.2
  • Firewalls involved: off

Any additional Information

sar output after increased memory