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!

ProGet npm feed Errors in High Availability structure



  • Hi Support,

    We have a new high availability install and are testing the feed setup. We are testing the feed and hitting a number of errors that look like it may have something to do with the shared storage. We are not getting these errors on our NuGet and Maven feeds.

    An error occurred processing a GET request to http://proget.wtg.zone/npm/Registry/regexpu-core/-/regexpu-core-4.2.0.tgz: The process cannot access the file '\SMBShare\Proget\Packages.npm\F9\regexpu-core\4.2.0\package.tgz' because it is being used by another process.

    An error occurred processing a GET request to http://proget.wtg.zone/npm/Registry/@vueuse/core/-/core-10.4.1.tgz: Uncommittable transaction is detected at the end of the batch. The transaction is rolled back.

    The builds continue to work even though we are getting this error but they are filling up the logs.

    Regards Scott


  • inedo-engineer

    Hi @scott-wright_8356 ,

    This error means that "something" that is taking an exclusive lock handle on files within your SMBShare. Unfortunately, the operating system does not provide information about what that "something" is, but it's typically an anti-virus, search-indexing, or back-up tool.

    ProGet uses shared read handles, but obviously needs a lock handle when writing. There are a few race conditions where this could occur, but they are extremely rare and require multiple requests on different servers in a cluster that attempt to add the same package at the same time.

    However those are very rare, so I suspect "something else" is locking those files. Usually it's an anti-virus tool - since it "looks like" a zip file, it's being opened? You'd need to use a tool to monitor openarting system handles, like sysinternals procmon.

    Best,
    Alana



  • Thank you for the information. I will investigate the virus scanner


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation