Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Rocket.Chat 6.3.0 high cpu usage

Scheduled Pinned Locked Moved Unsolved Rocket.Chat
8 Posts 2 Posters 77 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kk_cloudron
    wrote on last edited by
    #1

    Hello,

    for some time now my Rocket.Chat instance (6.3.0 - package version: chat.rocket.cloudronapp@2.39.0) has been causing high CPU usage.
    Does anyone else observe the same situation?

    Regards, Kai

    Screenshot 2023-08-09 at 15-17-40 Cloudron.png
    (the low point is a Rocket.Chat app restart)

    1 Reply Last reply
    0
  • K kk_cloudron marked this topic as a question on
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #2

    If you open a Web terminal and do htop , do you see it using 100% cpu?

    https://github.com/RocketChat/Rocket.Chat/issues/30016 is the closest I found but for previous version.

    K 1 Reply Last reply
    0
  • K Offline
    K Offline
    kk_cloudron
    replied to girish on last edited by kk_cloudron
    #3

    Yes, i saw some posts to older versions too but thought none fits to my situation.. also tried some setting-changes - but none of them was the solution..

    I restarted the app again and the log looks quite well - there occures just one error from time to time while startup:
    "=> Healtheck error: Error: connect ECONNREFUSED 172.18.16.54:3000"

    But im not sure if it has any affect on the cpu usage in my case, cause htop shows that a js-file causes the cpu usage (between 70 and 115) and not the db server
    htop.png

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to kk_cloudron on last edited by
    #4

    @kk_cloudron said in Rocket.Chat 6.3.0 high cpu usage:

    I restarted the app again and the log looks quite well - there occures just one error from time to time while startup:
    "=> Healtheck error: Error: connect ECONNREFUSED 172.18.16.54:3000"

    This part is fine. It's the healthcheck route failing (when the app is still coming up).

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #5

    Also, a 6.3.1 is released now, maybe things are better with the new release. We are waiting for the release tarball to appear to publish the new package.

    1 Reply Last reply
    0
  • K Offline
    K Offline
    kk_cloudron
    wrote on last edited by
    #6

    Update: Rocket.Chat updated to package version 2.39.1 (v. 6.3.1) but the cpu usage is still high.. I'll have to keep looking.

    1 Reply Last reply
    0
  • K Offline
    K Offline
    kk_cloudron
    wrote last edited by
    #7

    Hi again,
    just did an update again
    RC-Version.png

    ... and watched the cpu load. First it was nice but after a while (maybe 15 minutes) the load rises again (10:43)
    Hetzner-Graph.png

    But the last log messages of Rocket-Chat were from 10:35...
    RC-Log.png

    Do you know if there is any way to find out, which process of Rocket.Chat rises the cpu load?

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote last edited by
    #8

    @kk_cloudron Maybe you can open a bug upstream. It's hard for us to know why it's using high CPU. There's a bunch of existing issues upstream . Some issues point to specific features like OTR, it seems the high cpu usage is known:

    • https://github.com/RocketChat/Rocket.Chat/issues/29515
    • https://github.com/RocketChat/Rocket.Chat/issues/25001
    • https://github.com/RocketChat/Rocket.Chat/issues/13461
    • https://github.com/RocketChat/Rocket.Chat/issues/25968

    Unfortunately, most of the issues are still open and not conclusive.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.