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!

    ProGet timeout at a specific time

    Scheduled Pinned Locked Moved Support
    15 Posts 2 Posters 95 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
      gravufo @rhessinger
      last edited by

      @rhessinger Hi, it resolves itself. Happends pretty much every day at around the same time. It didn't happen before the upgrade, so I don't think it's related to an external reason. We did not upgrade or change the SQL server either.

      I did have an issue during the upgrade of ProGet and had to manually run inedosql for the SQL scripts.

      Thanks for the help.

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        Hi @gravufo,

        I do not think the install issue would have caused any issues (especially because it resolves itself). Do you have any server backup processes or SQL database backups going on at that time? I have seen issues where certain backup software will lock up SQL server during backups (especially SQL servers with large databases) .

        Thanks,
        Rich

        Products Engineer, Inedo

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gravufo @rhessinger
          last edited by

          @rhessinger The ProGet DB is around 15 GB and the backup seems to be at around 1 AM which is a little far from the 4 AM problem...Any other idea?

          1 Reply Last reply Reply Quote 0
          • rhessingerR Offline
            rhessinger inedo-engineer
            last edited by

            Hi @gravufo,

            Could you try increasing the Max Pool Size to 300 in your SQL connection string? I would like to see if this is an issue with the number of SQL connections.

            Thanks,
            Rich

            Products Engineer, Inedo

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              gravufo @rhessinger
              last edited by

              @rhessinger Done. Will monitor what happens tomorrow morning and report back. Thanks for the help!

              1 Reply Last reply Reply Quote 0
              • rhessingerR Offline
                rhessinger inedo-engineer
                last edited by

                Hi @gravufo,

                No problem, please let me know either way. Thanks!

                Thanks,
                Rich

                Products Engineer, Inedo

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  gravufo @rhessinger
                  last edited by

                  @rhessinger Hi. Unfortunately, it didn't work. Is there anything that changed in the way NuGet Restore requests are processed on the server since the last few version that could explain a timeout?

                  1 Reply Last reply Reply Quote 1
                  • rhessingerR Offline
                    rhessinger inedo-engineer
                    last edited by

                    Hi @gravufo,

                    There is nothing that changed in the NuGet API that would cause SQL connection issues. We did add the ability to enable the NuGet v3 API in addition to the V2 API, but you would have to enable V3 manually for your existing feeds. Still, that does not affect open a connection to SQL. What is weird to me is that this happens every day at the same time. This screams like there is something scheduled. Can you check your Application Pool in IIS and verify you don't have an application pool restart happening at that time?

                    Thanks,
                    Rich

                    Products Engineer, Inedo

                    1 Reply Last reply Reply Quote 0
                    • rhessingerR Offline
                      rhessinger inedo-engineer
                      last edited by

                      Hi @gravufo,

                      Can you please check your scheduled jobs in the Administration page of ProGet. It could be possible all of the jobs are running at 4:00 am.

                      Thanks,
                      Rich

                      Products Engineer, Inedo

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        gravufo @rhessinger
                        last edited by

                        @rhessinger There is no Scheduled job in ProGet that runs at that time. I also checked IIS and nothing seems to be set to restart at the exact time.

                        We did find a QA team which was triggering >50 builds at the same time at 4 AM. I will try changing the time of that script to 3 AM. If it still fails, it means that the issue is some kind of overload due to that script (which is weird because the ProGet machine is far from overloaded if we look at the CPU/RAM stats at 4 AM).

                        Will report back tomorrow!

                        Thanks again for your help and patience, very appreciated!

                        1 Reply Last reply Reply Quote 0
                        • rhessingerR Offline
                          rhessinger inedo-engineer
                          last edited by

                          Hi @gravufo,

                          No problem. It does seem weird that >50 builds would cause that. Unless if it is the SQL server that is getting overwhelmed at that time.

                          Thanks,
                          Rich

                          Products Engineer, Inedo

                          G 1 Reply Last reply Reply Quote 0
                          • G Offline
                            gravufo @rhessinger
                            last edited by

                            @rhessinger So it seems like moving that scheduled trigger to 3 AM worked. There must be some kind of maintenance somewhere on the network or on the fileserver at 4AM which makes it too slow for it to work with >50 nuget restores at the same time 😛
                            I will keep monitoring, but let's consider this resolved for now.

                            Thanks a lot!

                            1 Reply Last reply Reply Quote 0
                            • rhessingerR Offline
                              rhessinger inedo-engineer
                              last edited by

                              Hi @gravufo,

                              Awesome! Just reply back here if it does start up again.

                              Thanks,
                              Rich

                              Products Engineer, Inedo

                              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