# Very higher server load

**URL:** <https://forums.rocket.chat/t/very-higher-server-load/15486>\
**Category:** Community Support\
**Tags:** snap\
**Created:** [December 2, 2022, 8:19pm UTC](https://forums.rocket.chat/t/very-higher-server-load/15486 "2022-12-02T20:19:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandorica](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@pandorica](https://forums.rocket.chat/u/pandorica)\
**Post date:** [December 2, 2022, 8:19pm UTC](https://forums.rocket.chat/t/very-higher-server-load/15486/1 "2022-12-02T20:19:48Z")

</div>

### Description

I have a Rocketchat server, installed as a Snap on Ubuntu, that is struggling under load. The machine frequently reaches a load average of 20 or even 30, and at those times node frequently takes up 300% of CPU or more, while using up all its 16Gb of RAM. I’m not noticing any particular errors in the log.

How might I alleviate this? Hardware upgrade? OS tuning? Some kind of proxy? (I tried to use Cloudflare, but it caused new problems.) As a workaround, I’m just restarting the server whenever it gets like this, and that helps for a little while. Happy to pay for someone’s time to fix the problem if that’s required.

### Server Setup Information

- Version of Rocket.Chat Server: 5.3.4
- Operating System: Ubuntu 22.04 LTS
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog: enabled
- NodeJS Version: v14.19.3
- MongoDB Version: 4.4.15
- Proxy: none
- Firewalls involved: none

### Any additional Information

### Users

Total: 1240  
Online: 325  
Busy: 4  
Away: 42  
Offline: 869

### Types and Distribution

Connected: 367  
Activated Users: 1237  
Activated Guests: 0  
Deactivated Users: 2  
Rocket.Chat App Users: 1

### Uploads

Total Uploads: 9648  
Total Uploads Size: 21.43 GB

### Total Rooms

Rooms: 1120  
Channels: 38  
Private Groups: 11  
Direct Message Rooms: 1071  
Discussions: 0  
Omnichannel Rooms: 0

### Total Messages

Messages: 34222  
Threads: 768  
Messages in Channels: 10528  
Messages in Private Groups: 7398  
Messages in Direct Messages: 16296  
Messages in Omnichannel: 0

---

<div class="post-metadata">

**Author:** ![rocketuser53](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rocketuser53](https://forums.rocket.chat/u/rocketuser53)\
**Post date:** [December 7, 2022, 10:12pm UTC](https://forums.rocket.chat/t/very-higher-server-load/15486/2 "2022-12-07T22:12:55Z")

</div>

did you solve this problem?

---

<div class="post-metadata">

**Author:** ![pandorica](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@pandorica](https://forums.rocket.chat/u/pandorica)\
**Post date:** [December 8, 2022, 12:13am UTC](https://forums.rocket.chat/t/very-higher-server-load/15486/3 "2022-12-08T00:13:06Z")

</div>

No, not yet. My workaround is just restarting at regular intervals. But it seems like [this](https://docs.rocket.chat/quick-start/scaling-rocket.chat) may be worth trying.
