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!

    NPM - RAM consumption 5GB

    Scheduled Pinned Locked Moved Support
    progetiisnpm
    9 Posts 2 Posters 22 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,
      I'm hosting ProGet server on IIS 7. I created NPM feed called dev_vpm and attached official NPM connector to it (https://registry.npmjs.org). If I open my NPM feed URL in browser. For example http://mydomain.com/npm/dev_npm immediatelly after that RAM consumption on server goes up to 5GB.

      Image Text

      I have to recycle application pool to go to normal RAM consumption which is around 600MB.

      Could you pls look at it if there is any kind of memory leak or so?

      Thanks a lot.

      Best regards,
      Tomas

      Product: ProGet
      Version: 4.3.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        We haven't heard any reports of this in the field, nor does this happen in our test labs.

        If you had a lot of expensive queries simultaneously hitting your ProGet server, then a high RAM usage is expected.

        Otherwise, if you could gather more information, using procmon or other perf monitoring tools, that would help to isolate what might be causing this on your setup.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          There is almost no queries on ProGet server because there is only me who configure it so far. I will try to gather some details about it later.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            I checked procmon but there is nothing strange in it. We are going to reinstall our server from Windows 2008 SP2 to Windows 2012 R2 so I will check it after.

            But now I would like to ask if ProGet IIS pool must run under Classic Managed Pipeline Mode. Becuase if I switch to Integrated I get HTTP 403 status.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Integrated Pipeline mode is not supported, and moreover, there are no advantages to running ProGet under this mode. It has no impact on memory, resource, etc.

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                So after reinstalling to Windows Server 2012 R2 problem still persists :( Only difference is that it does not address 5GB in RAM but only 1.5GB

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  I see that you are using NPM now (I must have missed that in the first question).

                  High resource usage is routine with NPM because ProGet has to process a 1.5GB+ JSON file from npmjs.org, so, this will consume as many resources as Windows deems appropriate during this time. It's not a memory leak, it just consumes a ton of resources during process, and the resources will eventually be freed by the operating system.

                  Note that this is a scheduled task, so you can adjust it as desired under Admin, but by default it’s scheduled overnight. It will also run the first time you add a connector.

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    Ok, thaks for info ;) I can confirm that after some time RAM consumption goes down again.

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      enrico+proget_8830
                      last edited by

                      we experience mem usage on fresh filling of cache (20gb) with npm connector attached to a feed. once the cache is filled with all the dependencies usage is down to 2gb.

                      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