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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Nextcloud Talk Speed Issues - possible solution

    Nextcloud
    5
    17
    503
    Loading More Posts
    • 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.
    • marcusquinn
      marcusquinn last edited by

      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?

      We're not here for a long time - but we are here for a good time :)
      Jersey/UK
      Work & Ecommerce Advice: https://brandlight.org
      Personal & Software Tips: https://marcusquinn.com

      fbartels girish 2 Replies Last reply Reply Quote 2
      • fbartels
        fbartels App Dev @marcusquinn last edited by

        @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 Reply Quote 1
        • marcusquinn
          marcusquinn last edited by

          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.

          We're not here for a long time - but we are here for a good time :)
          Jersey/UK
          Work & Ecommerce Advice: https://brandlight.org
          Personal & Software Tips: https://marcusquinn.com

          1 Reply Last reply Reply Quote 2
          • girish
            girish Staff @marcusquinn last edited by

            @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).

            marcusquinn 1 Reply Last reply Reply Quote 3
            • marcusquinn
              marcusquinn @girish last edited by

              @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?

              We're not here for a long time - but we are here for a good time :)
              Jersey/UK
              Work & Ecommerce Advice: https://brandlight.org
              Personal & Software Tips: https://marcusquinn.com

              robi 1 Reply Last reply Reply Quote 2
              • robi
                robi @marcusquinn last edited by

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

                Life of Advanced Technology

                marcusquinn 1 Reply Last reply Reply Quote 0
                • marcusquinn
                  marcusquinn @robi last edited by

                  @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.

                  We're not here for a long time - but we are here for a good time :)
                  Jersey/UK
                  Work & Ecommerce Advice: https://brandlight.org
                  Personal & Software Tips: https://marcusquinn.com

                  robi fbartels 2 Replies Last reply Reply Quote 1
                  • robi
                    robi @marcusquinn last edited by

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

                    Zero Nextcloud would be Talk as standalone.

                    Life of Advanced Technology

                    marcusquinn 1 Reply Last reply Reply Quote 0
                    • marcusquinn
                      marcusquinn @robi last edited by

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

                      We're not here for a long time - but we are here for a good time :)
                      Jersey/UK
                      Work & Ecommerce Advice: https://brandlight.org
                      Personal & Software Tips: https://marcusquinn.com

                      robi 1 Reply Last reply Reply Quote 2
                      • robi
                        robi @marcusquinn last edited by

                        @marcusquinn Yes, that's it!

                        Just needs to be self hostable.

                        Life of Advanced Technology

                        andreasdueren 1 Reply Last reply Reply Quote 1
                        • fbartels
                          fbartels App Dev @marcusquinn last edited by

                          @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.

                          marcusquinn 1 Reply Last reply Reply Quote 1
                          • marcusquinn
                            marcusquinn @fbartels last edited by

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

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

                            We're not here for a long time - but we are here for a good time :)
                            Jersey/UK
                            Work & Ecommerce Advice: https://brandlight.org
                            Personal & Software Tips: https://marcusquinn.com

                            fbartels 1 Reply Last reply Reply Quote 0
                            • fbartels
                              fbartels App Dev @marcusquinn last edited by

                              @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 Reply Quote 3
                              • andreasdueren
                                andreasdueren @robi last edited by

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

                                robi 1 Reply Last reply Reply Quote 0
                                • robi
                                  robi @andreasdueren last edited by

                                  @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.

                                  Life of Advanced Technology

                                  andreasdueren 1 Reply Last reply Reply Quote 0
                                  • andreasdueren
                                    andreasdueren @robi last edited by

                                    @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

                                    robi 1 Reply Last reply Reply Quote 1
                                    • robi
                                      robi @andreasdueren last edited by

                                      @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.

                                      Life of Advanced Technology

                                      1 Reply Last reply Reply Quote 2
                                      • First post
                                        Last post
                                      Powered by NodeBB