# RocketChat 3.7.0 High CPU usage

**URL:** <https://forums.rocket.chat/t/rocketchat-3-7-0-high-cpu-usage/8715>\
**Category:** Community Support\
**Created:** [October 1, 2020, 7:29am UTC](https://forums.rocket.chat/t/rocketchat-3-7-0-high-cpu-usage/8715 "2020-10-01T07:29:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien.crettaz](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sebastien.crettaz](https://forums.rocket.chat/u/sebastien.crettaz)\
**Post date:** [October 1, 2020, 7:29am UTC](https://forums.rocket.chat/t/rocketchat-3-7-0-high-cpu-usage/8715/1 "2020-10-01T07:29:33Z")

</div>

Hello,

I installed the last version of RocketChat (3.7.0) this morning. And since then, the CPU usage increased from 5% to 55%. I don’t know why and I don’t see anything suspicious in the logs.

I restarted the server but the problem didn’t resolve.

Is there a way to solve this problem or to rollback to the older version ?

### Server Setup Information

- Version of Rocket.Chat Server: 3.7.0
- Operating System: Debian 10
- Deployment Method: tar
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabled
- NodeJS Version: 12.14.0 - x64
- MongoDB Version: 4.0.12
- Proxy: apache
- Firewalls involved: ufw

### Additional informations

#### Logs rocketchat

```auto
I20201001-07:58:29.915(2) Setting default file store to FileSystem 
I20201001-07:58:34.789(2) (migrations.js:120) Migrations: Not migrating, already at version 206
I20201001-07:58:34.965(2) ufs: temp directory created at "/tmp/ufs" 
I20201001-07:58:40.553(2) Updating process.env.MAIL_URL 
I20201001-07:58:40.625(2) Loaded the Apps Framework and loaded a total of 1 Apps! 
I20201001-07:58:40.681(2) Using GridFS for custom sounds storage 
I20201001-07:58:40.683(2) Using GridFS for custom emoji storage 
I20201001-07:58:41.294(2) ➔ System ➔ startup 
I20201001-07:58:41.294(2) ➔ +-----------------------------------------------+ 
I20201001-07:58:41.295(2) ➔ | SERVER RUNNING | 
I20201001-07:58:41.295(2) ➔ +-----------------------------------------------+ 
I20201001-07:58:41.295(2) ➔ | | 
I20201001-07:58:41.295(2) ➔ | Rocket.Chat Version: 3.7.0 | 
I20201001-07:58:41.296(2) ➔ | NodeJS Version: 12.14.0 - x64 | 
I20201001-07:58:41.296(2) ➔ | MongoDB Version: 4.0.12 | 
I20201001-07:58:41.296(2) ➔ | MongoDB Engine: mmapv1 | 
I20201001-07:58:41.296(2) ➔ | Platform: linux | 
I20201001-07:58:41.296(2) ➔ | Process Port: 3000 | 
I20201001-07:58:41.296(2) ➔ | Site URL: https://XXXX | 
I20201001-07:58:41.297(2) ➔ | ReplicaSet OpLog: Enabled | 
I20201001-07:58:41.297(2) ➔ | Commit Hash: 2c82cd9cee | 
I20201001-07:58:41.297(2) ➔ | Commit Branch: HEAD | 
I20201001-07:58:41.297(2) ➔ | | 
I20201001-07:58:41.297(2) ➔ +-----------------------------------------------+ 

```

#### Output “top” command

```auto
top - 09:27:53 up 1:30, 1 user, load average: 1.25, 1.22, 1.18
Tasks: 96 total, 3 running, 89 sleeping, 0 stopped, 4 zombie
%Cpu(s): 38.7 us, 12.6 sy, 0.0 ni, 42.3 id, 0.0 wa, 0.0 hi, 6.3 si, 0.0 st
KiB Mem : 4032032 total, 1596268 free, 731196 used, 1704568 buff/cache
KiB Swap: 61436 total, 61436 free, 0 used. 3065696 avail Mem 
  scroll coordinates: y = 1/96 (tasks), x = 1/12 (fields)
   PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND                        
  1009 rocketc+ 20 0 2559464 562948 40848 R 68.4 14.0 64:24.83 node                           
   643 mongodb 20 0 6482936 90120 49740 S 43.9 2.2 38:39.05 mongod                         
     1 root 20 0 57184 6920 5360 S 0.0 0.2 0:00.68 systemd  
...

```

Thank you for your help and have a nice day !

---

<div class="post-metadata">

**Author:** ![fdellwing](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/fdellwing/32/1737_2.png) [@fdellwing](https://forums.rocket.chat/u/fdellwing)\
**Post date:** [October 1, 2020, 8:05am UTC](https://forums.rocket.chat/t/rocketchat-3-7-0-high-cpu-usage/8715/2 "2020-10-01T08:05:15Z")

</div>

Take a look at:

> <https://github.com/RocketChat/Rocket.Chat/issues/19082#issuecomment-701879578>
>
> Since updating to 3.7 from previous version the CPU utilisation has jumped from less than 5% to a constant very high...

---

<div class="post-metadata">

**Author:** ![sebastien.crettaz](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sebastien.crettaz](https://forums.rocket.chat/u/sebastien.crettaz)\
**Post date:** [October 1, 2020, 8:06am UTC](https://forums.rocket.chat/t/rocketchat-3-7-0-high-cpu-usage/8715/3 "2020-10-01T08:06:57Z")

</div>

Oops didn’t see this thread.

Thanks for the help !

---

<div class="post-metadata">

**Author:** ![cim](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/cim/32/1928_2.png) [@cim](https://forums.rocket.chat/u/cim)\
**Post date:** [October 5, 2020, 6:16am UTC](https://forums.rocket.chat/t/rocketchat-3-7-0-high-cpu-usage/8715/4 "2020-10-05T06:16:54Z")

</div>

Thank you! I’ve had this issue for a while now.
