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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Rocket.Chat
  3. Rocket.Chat 6.3.0 high cpu usage

Rocket.Chat 6.3.0 high cpu usage

Scheduled Pinned Locked Moved Solved Rocket.Chat
9 Posts 2 Posters 1.5k Views 2 Watching
  • 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
        • girishG girish

          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 Offline
          K Offline
          kk_cloudron
          wrote 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
          • K kk_cloudron

            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 Offline
            girishG Offline
            girish
            Staff
            wrote 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 on 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 on 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
                    • K Offline
                      K Offline
                      kk_cloudron
                      wrote on last edited by
                      #9

                      Solved: I don't know what was wrong, but I canceled the connection and re-connected my instance to my rocket.chat account. Works fine now....

                      1 Reply Last reply
                      0
                      • K kk_cloudron has marked this topic as solved on
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                        • Login

                        • Don't have an account? Register

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