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. Nextcloud
  3. Nextcloud Talk Speed Issues - possible solution

Nextcloud Talk Speed Issues - possible solution

Scheduled Pinned Locked Moved Nextcloud
17 Posts 5 Posters 2.7k Views 5 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.
    • marcusquinnM Offline
      marcusquinnM Offline
      marcusquinn
      wrote on last edited by
      #1

      Seems we might need pm.max_children in /etc/php/{7.4}/fpm/pool.d/www.conf adjusted:

      • https://github.com/nextcloud/spreed/issues/3183#issuecomment-924911292=
      • https://github.com/nextcloud/spreed/issues/2010#issuecomment-601755020=

      We have 100+ users, so would likely need a value of say 300, where the default is 5?

      Web Design https://www.evergreen.je
      Development https://brandlight.org
      Life https://marcusquinn.com

      fbartelsF girishG 2 Replies Last reply
      2
      • marcusquinnM marcusquinn

        Seems we might need pm.max_children in /etc/php/{7.4}/fpm/pool.d/www.conf adjusted:

        • https://github.com/nextcloud/spreed/issues/3183#issuecomment-924911292=
        • https://github.com/nextcloud/spreed/issues/2010#issuecomment-601755020=

        We have 100+ users, so would likely need a value of say 300, where the default is 5?

        fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #2

        @marcusquinn yes, if many users need to be handled increasing parallel processes makes sense. But the value should be admin configurable since the more processes, the more memory is needed. In addition max_children has its bottleneck in CPU cores. The recommendation seems to be six processes per core.

        1 Reply Last reply
        1
        • marcusquinnM Offline
          marcusquinnM Offline
          marcusquinn
          wrote on last edited by
          #3

          Thanks. We're still testing, but from @vladimir-d (asleep now): "Probably we need to amend mpm_prefork.conf"

          • https://www.techrepublic.com/videos/how-to-enable-apache-mpm-prefork-to-improve-performance/

          "changed /app/data/apache/mpm_prefork.conf as follows:"

          74866a6c-25c4-4ed0-9f93-35c011b6581e-image.png

          default is:

          • https://git.cloudron.io/cloudron/nextcloud-app/-/blob/master/apache/mpm_prefork.conf

          d395cda4-57cc-4c78-9993-149634da698a-image.png

          We won't know for 3-4h though, as we are affected by this issue until the next version is released:

          • https://forum.cloudron.io/topic/7400/slow-startup-caused-by-fixing-permissions-in-start-sh

          We have 64GB RAM, 32GB allocated for Nextcloud, and only using 15GB across the whole server at the mo, so headroom there to grow, but configs need to allow for using more of it.

          Web Design https://www.evergreen.je
          Development https://brandlight.org
          Life https://marcusquinn.com

          1 Reply Last reply
          2
          • marcusquinnM marcusquinn

            Seems we might need pm.max_children in /etc/php/{7.4}/fpm/pool.d/www.conf adjusted:

            • https://github.com/nextcloud/spreed/issues/3183#issuecomment-924911292=
            • https://github.com/nextcloud/spreed/issues/2010#issuecomment-601755020=

            We have 100+ users, so would likely need a value of say 300, where the default is 5?

            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #4

            @marcusquinn the fpm config (in the initial post) won't work since the package does not use fpm and instead uses modphp (your latter post).

            marcusquinnM 1 Reply Last reply
            3
            • girishG girish

              @marcusquinn the fpm config (in the initial post) won't work since the package does not use fpm and instead uses modphp (your latter post).

              marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #5

              @girish Seems to have helped solve the speed issues significantly, all very fast now. Worth updating the defaults for all packaged apps, or making them configurable and documenting the meaning of the settings and sort of values for various server and user count sizes?

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              robiR 1 Reply Last reply
              2
              • marcusquinnM marcusquinn

                @girish Seems to have helped solve the speed issues significantly, all very fast now. Worth updating the defaults for all packaged apps, or making them configurable and documenting the meaning of the settings and sort of values for various server and user count sizes?

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #6

                @marcusquinn it would be nice if NC:Talk could be a standalone app w/o the rest.

                Conscious tech

                marcusquinnM 1 Reply Last reply
                0
                • robiR robi

                  @marcusquinn it would be nice if NC:Talk could be a standalone app w/o the rest.

                  marcusquinnM Offline
                  marcusquinnM Offline
                  marcusquinn
                  wrote on last edited by
                  #7

                  @robi You can do that with the Hide Sidebars app and a web app creator live Nativefier or PWAs for Firefox.

                  Alternatively, use the App Order add-on to make it first in your top bar to be default and untick or uninstall any others not wanted.

                  Web Design https://www.evergreen.je
                  Development https://brandlight.org
                  Life https://marcusquinn.com

                  robiR fbartelsF 2 Replies Last reply
                  1
                  • marcusquinnM marcusquinn

                    @robi You can do that with the Hide Sidebars app and a web app creator live Nativefier or PWAs for Firefox.

                    Alternatively, use the App Order add-on to make it first in your top bar to be default and untick or uninstall any others not wanted.

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #8

                    @marcusquinn thanks, but that is still wrapped in nextcloud.

                    Zero Nextcloud would be Talk as standalone.

                    Conscious tech

                    marcusquinnM 1 Reply Last reply
                    0
                    • robiR robi

                      @marcusquinn thanks, but that is still wrapped in nextcloud.

                      Zero Nextcloud would be Talk as standalone.

                      marcusquinnM Offline
                      marcusquinnM Offline
                      marcusquinn
                      wrote on last edited by
                      #9

                      @robi So Spreed then 😂 https://www.spreed.eu/

                      Web Design https://www.evergreen.je
                      Development https://brandlight.org
                      Life https://marcusquinn.com

                      robiR 1 Reply Last reply
                      2
                      • marcusquinnM marcusquinn

                        @robi So Spreed then 😂 https://www.spreed.eu/

                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #10

                        @marcusquinn Yes, that's it!

                        Just needs to be self hostable.

                        Conscious tech

                        andreasduerenA 1 Reply Last reply
                        1
                        • marcusquinnM marcusquinn

                          @robi You can do that with the Hide Sidebars app and a web app creator live Nativefier or PWAs for Firefox.

                          Alternatively, use the App Order add-on to make it first in your top bar to be default and untick or uninstall any others not wanted.

                          fbartelsF Offline
                          fbartelsF Offline
                          fbartels
                          App Dev
                          wrote on last edited by
                          #11

                          @marcusquinn said in Nextcloud Talk Speed Issues - possible solution:

                          You can do that with the Hide Sidebars app

                          does that work for you with talk? just wanted to give this a spin and while it works for the file app, it does not work for talk for me.

                          marcusquinnM 1 Reply Last reply
                          1
                          • fbartelsF fbartels

                            @marcusquinn said in Nextcloud Talk Speed Issues - possible solution:

                            You can do that with the Hide Sidebars app

                            does that work for you with talk? just wanted to give this a spin and while it works for the file app, it does not work for talk for me.

                            marcusquinnM Offline
                            marcusquinnM Offline
                            marcusquinn
                            wrote on last edited by
                            #12

                            @fbartels Hmm, works on the Files apps, but not on Talk. Anyone fancy logging the issue?

                            • https://github.com/pointcz/hidesidebars/issues

                            Web Design https://www.evergreen.je
                            Development https://brandlight.org
                            Life https://marcusquinn.com

                            fbartelsF 1 Reply Last reply
                            0
                            • marcusquinnM marcusquinn

                              @fbartels Hmm, works on the Files apps, but not on Talk. Anyone fancy logging the issue?

                              • https://github.com/pointcz/hidesidebars/issues
                              fbartelsF Offline
                              fbartelsF Offline
                              fbartels
                              App Dev
                              wrote on last edited by
                              #13

                              @marcusquinn issue at https://github.com/pointcz/hidesidebars/issues/8.

                              Funnily there is an issue from 2020 that also suggests that hide sidebars could be useful with nativefier.

                              1 Reply Last reply
                              3
                              • robiR robi

                                @marcusquinn Yes, that's it!

                                Just needs to be self hostable.

                                andreasduerenA Offline
                                andreasduerenA Offline
                                andreasdueren
                                wrote on last edited by
                                #14

                                @robi Jitsi won't work for your use case?

                                robiR 1 Reply Last reply
                                0
                                • andreasduerenA andreasdueren

                                  @robi Jitsi won't work for your use case?

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote on last edited by
                                  #15

                                  @andreasdueren said in Nextcloud Talk Speed Issues - possible solution:

                                  @robi Jitsi won't work for your use case?

                                  It does, however it does not include async chat, for which we use Mattermost.

                                  NC is way to hefty for us otherwise.

                                  Conscious tech

                                  andreasduerenA 1 Reply Last reply
                                  0
                                  • robiR robi

                                    @andreasdueren said in Nextcloud Talk Speed Issues - possible solution:

                                    @robi Jitsi won't work for your use case?

                                    It does, however it does not include async chat, for which we use Mattermost.

                                    NC is way to hefty for us otherwise.

                                    andreasduerenA Offline
                                    andreasduerenA Offline
                                    andreasdueren
                                    wrote on last edited by
                                    #16

                                    @robi I see. But then maybe RocketChat is right for you? I used to run a snap package until we got bigger needs and transfered from Microsoft. I was always very happy and you can couple it with your jitsi instance

                                    robiR 1 Reply Last reply
                                    1
                                    • andreasduerenA andreasdueren

                                      @robi I see. But then maybe RocketChat is right for you? I used to run a snap package until we got bigger needs and transfered from Microsoft. I was always very happy and you can couple it with your jitsi instance

                                      robiR Offline
                                      robiR Offline
                                      robi
                                      wrote on last edited by
                                      #17

                                      @andreasdueren We used to use RC 3 years ago for another project, but had to switch for many reasons.

                                      We even had a partnership with the team behind RC, good people, who at the time could not deliver on our needs in time.

                                      Defintely worth a re-evaluation next go around.

                                      Conscious tech

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