Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Debian Connectors Performance Issue

    Scheduled Pinned Locked Moved Support
    6 Posts 2 Posters 42 Views
    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.
    • G Offline
      geraldizo_0690
      last edited by

      Hi,

      some Debian feeds, especially for kali-rolling, are very slow after a day since the connector was renewed. I have to repeatedly reset or renew the connector in order to be able to work with it.

      If not, an “apt update” takes several minutes or it is going to be stucked up. The index.sqlite files grow to up to 50 GB. In addition, index.sqilte3-shm and -wal also grow to almost the same size. And CPU consumption increases proportionally to these problems. And if the connectors are not renewed, the sqlite database consumes all the available storage space in the partition where the volumes for packages are located.

      Additional Information:

      Upstream link that we are testing and using:
      http://mirror.netcologne.de/kali/
      http://http.kali.org/kali

      ProGet version: 2025.20(Build 23) with external database (MSSQL), both in containers

      Connector configuration: Index poll frequency is already set to triple digits in minutes.

      Further Information I've already researched:

      • https://forums.inedo.com/topic/5467/proget-2024-dealing-with-large-debian-package-connectors
      • https://forums.inedo.com/topic/5410/debian-feed-mirror-performance/2

      Please investigate this behavior. In addition to RPM repos, we also use a lot of Debian repos.
      If the cause is known, can you implement additional clean measures in addition to “Index poll frequency”?

      Can the problem perhaps be avoided by using a proxy?

      1 Reply Last reply Reply Quote 0
      • gdivisG Offline
        gdivis inedo-engineer
        last edited by

        Hi @geraldizo_0690,

        We've reproduced this and have a fix in internal testing as PG-3225. An incorrect index is causing the local connector database index to grow much larger than it should, and this effect is compounded in frequently updated repos like Kali.

        We are currently testing the fix internally and will have it included in Friday's release of ProGet 2025.22. If you'd like to test the fix yourself soon, I can make a prerelease image available to you.

        Thanks!
        -Greg

        1 Reply Last reply Reply Quote 1
        • G Offline
          geraldizo_0690
          last edited by geraldizo_0690

          Thank you for your response. We also have a Proget test environment where we can test this. We would like to test it.

          Here is another example of this behavior. These are only Debian connectors:

          root@xxxxxxxxxxxxxx:/usr/share/ProGet/LocalStorage/Connectors# du -chs * | grep G
          2.4G    C104
          2.5G    C105
          2.5G    C106
          62G     C117
          13G     C266
          9.2G    C268
          15G     C281
          3.1G    C63
          119G    total
          
          
          1 Reply Last reply Reply Quote 0
          • gdivisG Offline
            gdivis inedo-engineer
            last edited by

            You can test the fix from this prerelease image: proget.inedo.com/productimages/inedo/proget:25.0.22-ci.4

            In this version, it will automatically recreate each of those databases the next time it needs an update, and after that you should no longer see this unbounded growth. Let us know if you're still seeing a problem!

            G 1 Reply Last reply Reply Quote 1
            • G Offline
              geraldizo_0690 @gdivis
              last edited by

              @gdivis Thank you very much. We will do the test. Stay tuned for my feedback.

              1 Reply Last reply Reply Quote 0
              • G Offline
                geraldizo_0690
                last edited by

                proget:25.0.22-ci.4 seems to work.

                The CPU consumption stays steady while ProGet is not under heavy load. The Debian connectors does not grow infitely. So for the third day this is the output:

                root@xxxxxxxxxxxxxx:/usr/share/ProGet/LocalStorage/Connectors# du -chs * | grep G
                2.6G    total
                

                I'll get back to you on this in a week.
                Thank you for the support.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation