Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU load; Node proces #125

Closed
rudesome opened this issue Oct 8, 2020 · 4 comments
Closed

High CPU load; Node proces #125

rudesome opened this issue Oct 8, 2020 · 4 comments

Comments

@rudesome
Copy link

rudesome commented Oct 8, 2020

Description:

High CPU load in docker Rocket.Chat container (not sure if it is normal behavior).
Proces is node and it is constantly 70% of CPU usage.
Am running it within 4 vcpu Ubuntu VPS

Steps to reproduce:

Pull latest docker image
Run image as docker container

Expected behavior:

CPU that time to time will spike, not constant high CPU load

Actual behavior:

High CPU load

Server Setup Information:

  • Version of Rocket.Chat Server: 3.7.0
  • Operating System: Ubuntu 20.04 .1LTS
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: Docker latest
  • MongoDB Version: Docker latest
@sampaiodiego
Copy link
Member

sampaiodiego commented Oct 8, 2020

seems related to RocketChat/Rocket.Chat#19082

can you please run with the following environment variable set and see if it helps?
USE_NATIVE_OPLOG=true

@rudesome
Copy link
Author

rudesome commented Oct 8, 2020

yep this solved the high cpu issue, thanks!

@rudesome rudesome closed this as completed Oct 8, 2020
@sampaiodiego
Copy link
Member

good to know, thanks..

FYI there is a fox this already RocketChat/Rocket.Chat#19181

once that is merged we'll launch a 3.7.1 release so you won't need to env var anymore.

@codeneno
Copy link

codeneno commented Jan 2, 2021

@sampaiodiego
Does this only fix "mmapv1 database engine or when no admin access was granted to the database user,"?
we use 3.3.3 version,and it will have a high cpu load sometimes,does this work for wiredTiger ?thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants