# \[snap\] Rocketchat Server crashes multiple times a day

**URL:** <https://forums.rocket.chat/t/snap-rocketchat-server-crashes-multiple-times-a-day/12987>\
**Category:** Community Support\
**Created:** [January 5, 2022, 8:09pm UTC](https://forums.rocket.chat/t/snap-rocketchat-server-crashes-multiple-times-a-day/12987 "2022-01-05T20:09:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpaulsen](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mpaulsen](https://forums.rocket.chat/u/mpaulsen)\
**Post date:** [January 5, 2022, 8:09pm UTC](https://forums.rocket.chat/t/snap-rocketchat-server-crashes-multiple-times-a-day/12987/1 "2022-01-05T20:09:48Z")

</div>

### Description

Over the last two days I have seen an increase in crashes of our self-hosted rocketchat instance. it has gone from once every few weeks, to 4+ times a day. Both times before it crashed today we noticed a get command to /api/v1/user.presence? log snippets below. Other than these entries we have been struggling to find a reason why this instance has been crashing.

### Server Setup Information

- Version of Rocket.Chat Server:3.18.3
- Operating System: Ubuntu 16.04.7 LTS
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v12.22.1
- MongoDB Version: 3.6.14 / wiredTiger (oplog Enabled)
- Proxy: caddy
- Firewalls involved: PAN

### Any additional Information

Jan 5 11:13:57 rocketchat rocketchat-server.rocketchat-server[15111]: server.js:204 API â\<9e\>\<94\> info 172.17.0.137 - ePzHMoekky6YdQSMj [2022-01-05T19:13:57.549Z] “GET /api/v1/users.presence?ids=Xe5k9NrpuC7WGKkkN” 200 - “https:///channel/data\_releases?jump=hxAGNqJzmMTnB4hDC” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Rocket.Chat/3.0.6 Chrome/85.0.4183.121 Electron/10.1.3 Safari/537.36” |

Jan 5 11:38:28 rocketchat rocketchat-server.rocketchat-server[21597]: server.js:204 API â\<9e\>\<94\> info 10.19.15.15 - 55zXW5BecjS9Avt6Y [2022-01-05T19:38:28.344Z] “GET /api/v1/users.presence?ids=rocket.cat” 200 - “https:///channel/codepost” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36” |

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [January 6, 2022, 10:23am UTC](https://forums.rocket.chat/t/snap-rocketchat-server-crashes-multiple-times-a-day/12987/2 "2022-01-06T10:23:29Z")

</div>

Hi!

Not sure about the workload you have, but I always suggest, for any workload, **docker instead of snap**.

Have you checked the machine requirements? Is there enough resources?
