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. Chatwoot
  3. High CPU usage after updating to Chatwoot 2.17.0

High CPU usage after updating to Chatwoot 2.17.0

Scheduled Pinned Locked Moved Solved Chatwoot
21 Posts 11 Posters 3.4k Views 11 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.
  • girishG Do not disturb
    girishG Do not disturb
    girish
    Staff
    wrote on last edited by
    #2

    Can you check with top in the Web terminal of chatwoot ?

    1 Reply Last reply
    0
    • KinziK Offline
      KinziK Offline
      Kinzi
      wrote on last edited by
      #3

      Bildschirmfoto 2023-05-18 um 10.51.18.png

      It's "bundle" 😉

      1 Reply Last reply
      0
      • KinziK Offline
        KinziK Offline
        Kinzi
        wrote on last edited by
        #4

        The process kinda comes and goes every second with verious high CPU usages.

        timconsidineT 1 Reply Last reply
        0
        • O Offline
          O Offline
          oj6o3ij5345asd
          wrote on last edited by
          #5

          Same issue after last update. Always 100% CPU usage.
          Also stopped working system notifications in the chat that the operator has assigned himself a dialog or the dialog is closed.
          Also stopped working "Automations".
          Everything started after last update.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by msbt
            #6

            same here on 2 different servers, seems to be a restart loop of sidekiq

            1 Reply Last reply
            0
            • humptydumptyH Offline
              humptydumptyH Offline
              humptydumpty
              wrote on last edited by
              #7

              I reverted to 1.17.1 and CPU usage went back to normal. I disabled updates for now. Thanks for the heads-up @Kinzi

              image.png

              O 1 Reply Last reply
              1
              • humptydumptyH humptydumpty

                I reverted to 1.17.1 and CPU usage went back to normal. I disabled updates for now. Thanks for the heads-up @Kinzi

                image.png

                O Offline
                O Offline
                oj6o3ij5345asd
                wrote on last edited by oj6o3ij5345asd
                #8

                @humptydumpty said in High CPU usage after updating to Chatwoot 2.17.0:

                I reverted to 1.17.1

                Can you please advise how to do this without losing data?
                Since it is impossible to work...

                UPDATE: No longer relevant. Restored from backup. Unfortunately, all chats since the update were lost. But better that than work with a lot of problems.

                humptydumptyH 1 Reply Last reply
                1
                • O oj6o3ij5345asd

                  @humptydumpty said in High CPU usage after updating to Chatwoot 2.17.0:

                  I reverted to 1.17.1

                  Can you please advise how to do this without losing data?
                  Since it is impossible to work...

                  UPDATE: No longer relevant. Restored from backup. Unfortunately, all chats since the update were lost. But better that than work with a lot of problems.

                  humptydumptyH Offline
                  humptydumptyH Offline
                  humptydumpty
                  wrote on last edited by
                  #9

                  @oj6o3ij5345asd I also restored a backup. I had no data loss because of the short window between the time the update applied and when I restored the previous backup. I just use the live chat feature with business hours and none of the other inbox integrations like email so no harm done.

                  1 Reply Last reply
                  1
                  • KinziK Kinzi

                    The process kinda comes and goes every second with verious high CPU usages.

                    timconsidineT Offline
                    timconsidineT Offline
                    timconsidine
                    App Dev
                    wrote on last edited by
                    #10

                    @Kinzi good info
                    I am confused : is this an upstream issue ? or a Cloudron package update issue ?

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      msbt
                      App Dev
                      wrote on last edited by msbt
                      #11

                      Since it also happens with a fresh installation, this release should be revoked. I'm guessing it's a packaging issue, but my ruby knowledge is nonexistant, so not a 100% sure 😉

                      1 Reply Last reply
                      1
                      • S Offline
                        S Offline
                        sparkwise
                        wrote on last edited by
                        #12

                        A Redis version issue? Three notes:

                        1. Logs have error message popping up repeatedly: "You are connecting to Redis 6.0.16, Sidekiq requires Redis 6.2.0 or greater"
                        2. Images are no longer loading. (server returns 500 error.)
                        3. Chatwoot 2.1.7 release notes mention new requirements: Rails 7, Redis 7
                        1 Reply Last reply
                        0
                        • nebulonN Away
                          nebulonN Away
                          nebulon
                          Staff
                          wrote on last edited by
                          #13

                          Indeed, while running the app package tests, I didn't realize it was running against redis 7 already. The app ends up in a restart loop, causing the high cpu load.

                          The package version is revoked now and will make it compatible with both if possible. For the moment, you have to restore to the backup made prior to the update.

                          1 Reply Last reply
                          1
                          • nebulonN nebulon marked this topic as a question on
                          • nebulonN Away
                            nebulonN Away
                            nebulon
                            Staff
                            wrote on last edited by
                            #14

                            So yes it seems we can't update the app now until we release redis 7. Apparently the mentioned recommended version is actually a required version https://www.chatwoot.com/docs/self-hosted/deployment/requirements#redis

                            1 Reply Last reply
                            0
                            • nebulonN Away
                              nebulonN Away
                              nebulon
                              Staff
                              wrote on last edited by
                              #15

                              I've published a new app package, which will require Redis 7 and thus Cloudron 7.5, which is the next Cloudron version with an updated Redis. Just mentioning this here, since the chatwoot update will not be advertised until that.

                              LatinosnctvL 1 Reply Last reply
                              3
                              • nebulonN nebulon

                                I've published a new app package, which will require Redis 7 and thus Cloudron 7.5, which is the next Cloudron version with an updated Redis. Just mentioning this here, since the chatwoot update will not be advertised until that.

                                LatinosnctvL Offline
                                LatinosnctvL Offline
                                Latinosnctv
                                wrote on last edited by
                                #16

                                @nebulon just when I was going to start using the OpenAI api (trial period) 😕

                                1 Reply Last reply
                                0
                                • girishG girish referenced this topic on
                                • chrisC Offline
                                  chrisC Offline
                                  chris
                                  wrote on last edited by
                                  #17

                                  @nebulon or @girish we depend on chatwoot for sms business needs, i was not aware of an issue with this update of chatwoot, but i def missed some texts. I visited my cloudron instance a few times but not once did i see a message or warning or error, ideally when a package or update is known to cause issues, we had a way to see that in cloudron. is that possible now? if not can you consider it a feature request. (notfication or alert in dashboard when a rollback is suggested)

                                  1 Reply Last reply
                                  2
                                  • girishG Do not disturb
                                    girishG Do not disturb
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #18

                                    @chris I think that's a good idea. We revoked (unpublished) the package and this stopped the rollout. But some of them already updated. So, the idea here is to inform people who have revoked packages installed.

                                    Are you able to open a separate feature request thread to track this?

                                    1 Reply Last reply
                                    0
                                    • KinziK Offline
                                      KinziK Offline
                                      Kinzi
                                      wrote on last edited by
                                      #19

                                      @nebulon so this is fixed with the latest update I guess? 😉

                                      1 Reply Last reply
                                      1
                                      • girishG Do not disturb
                                        girishG Do not disturb
                                        girish
                                        Staff
                                        wrote on last edited by girish
                                        #20

                                        I think this is fixed, yes. The issue was the redis 7 requirement. So, we revoked the previous package and published a new package with minBoxVersion as 7.5.

                                        P 1 Reply Last reply
                                        0
                                        • girishG girish has marked this topic as solved on
                                        • girishG girish

                                          I think this is fixed, yes. The issue was the redis 7 requirement. So, we revoked the previous package and published a new package with minBoxVersion as 7.5.

                                          P Offline
                                          P Offline
                                          psifertex
                                          wrote on last edited by
                                          #21

                                          @girish Is there an estimated timeline for 7.5's release? I'm waiting for an upstream fix in 2.18.0 of chatwoot and it sounds like that's blocked on the cloudron update then?

                                          1 Reply Last reply
                                          0
                                          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