Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Kopano is using up all mysql connections ?

    Kopano Groupware Core
    4
    19
    887
    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.
    • fbartels
      fbartels Kopano last edited by

      yes, see the post I linked you to in my first reply.

      Regards Felix

      Resources:
      https://kopano.com/blog/how-to-get-kopano/
      https://documentation.kopano.io/
      https://kb.kopano.io/

      Support overview:
      https://kopano.com/support/

      1 Reply Last reply Reply Quote 0
      • crankshaft
        crankshaft last edited by

        Thanks, but I already checked that post, there does not appear to be any fix for this yet ?

        fbartels 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels Kopano @crankshaft last edited by fbartels

          @crankshaft not, a public one. but there was a pull request linked which will be part of the next Kopano release. We are currently busy doing last tests and if no errors are found there will be a release probably next week.

          Regards Felix

          Resources:
          https://kopano.com/blog/how-to-get-kopano/
          https://documentation.kopano.io/
          https://kb.kopano.io/

          Support overview:
          https://kopano.com/support/

          1 Reply Last reply Reply Quote 0
          • crankshaft
            crankshaft last edited by

            Understood, thanks

            1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano last edited by

              Hi @crankshaft,

              8.7.13 is now available in the pre-final download directory. Your feedback would be appreciated.

              See https://forum.kopano.io/topic/3215/kopano-core-8-7-13-pre-final for more information.

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • crankshaft
                crankshaft last edited by

                Thanks, but I have only ever installed and updated using debian apt update and there are no updates showing right now ?

                xthbx 1 Reply Last reply Reply Quote 0
                • xthbx
                  xthbx @crankshaft last edited by

                  @crankshaft you probably used the repositorie https://kb.kopano.io/display/WIKI/1.+Core

                  you need to change

                  #Core
                  deb https://serial:<INSERT_SERIALKEY>@download.kopano.io/supported/core:/final/xxx/ ./
                  

                  to

                  #Core
                  deb https://serial:<INSERT_SERIALKEY>@download.kopano.io/supported/core:/pre-final/xxx/ ./
                  
                  1 Reply Last reply Reply Quote 0
                  • crankshaft
                    crankshaft last edited by

                    @xthbx said in Kopano is using up all mysql connections ?:

                    deb https://serial:<INSERT_SERIALKEY>@download.kopano.io/supported/core:/final/xxx/ ./

                    Thanks, I forgot about that, long time since I installed it, I have added the repo and will test later after taking a snapshot of the server first.

                    1 Reply Last reply Reply Quote 0
                    • crankshaft
                      crankshaft last edited by

                      The upgrade was successful and at the moment there are 13 processes open, and I saw a new process start and stop again, which I dont recall noticing before.

                      But it will have to run for a day before I can see if there’s any real difference.

                      1 Reply Last reply Reply Quote 0
                      • crankshaft
                        crankshaft last edited by

                        There is still 38 (the default mysql max) connections to mysql and given that we only have 5 users and today nobody is accessing emails, I am surprised there are so many active connections.

                        Why not implement proper mysql connection pooling and have an option to set the pool size, so that the threads can share the connection pool ?

                        This seems to be a better approach than all of these open connections which are sleeping 99% of the time ?

                        jengelh 1 Reply Last reply Reply Quote 0
                        • xthbx
                          xthbx last edited by

                          i also don’t understand what changed from 8.7.9 to 8.7.1x

                          1 Reply Last reply Reply Quote 0
                          • jengelh
                            jengelh Banned @crankshaft last edited by jengelh

                            @crankshaft said in Kopano is using up all mysql connections ?:

                            Why not implement proper mysql connection pooling and have an option to set the pool size, so that the threads can share the connection pool ?

                            At worst, every thread (some number N) will have work to do, and then you need N connections anyway, whether you use the current static (thread-private on-first-use) approach or a (shared) pool.

                            Running with a conn pool smaller than that would mean requests to kopano-server via the SOAP-HTTP interface would have to block waiting for a free SQL connection, at which point you could just reduce the threadcount with the same effect.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post