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!

    [OT] Modifying a server configuration triggers a full "Server Check"

    Scheduled Pinned Locked Moved Support
    9 Posts 3 Posters 19 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.
    • P Offline
      philippe.camelio_3885
      last edited by philippe.camelio_3885

      Hello,

      When a modification is made on a server configuration, a full Server Check is triggered.
      This results in a app pool server crash and a restart 😧 .

      bac66778-e7ec-497e-8877-a80be4f363f8-image.png
      log order: bottom - top

      Otter docker last version.

      Best regards
      PhilippeC.

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @philippe.camelio_3885
        last edited by

        Hi @philippe-camelio_3885 ,

        A Full Server Check will occur once per hour by default - does that also crash? You can also trigger by going to Admin > Service.

        Also, can you give more detail about what you mean by crashing? There is no "app pool" on Linux/Docker (doesn't use IIS), and the web application isn't responsible for running the server check (that's the Service application). So unclear what the crash would be.

        Thank you,
        Steve

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          philippe.camelio_3885 @stevedennis
          last edited by

          @stevedennis said in [OT] Modifying a server configuration triggers a full "Server Check":

          Also, can you give more detail about what you mean by crashing? There is no "app pool" on Linux/Docker (doesn't use IIS), and the web application isn't responsible for running the server check (that's the Service application). So unclear what the crash would be.

          Hi Steve
          Yes, every time a Full Server check is running, Otter hangs and restart (docker swarm stack).
          Following the error msg I got.

          f874ea5d-2fe1-4921-96d7-483d6c072594-image.png

          Error msg
          e31a1ec0-59b4-4fb0-8c2b-d5d1cc09b541-image.png

          stevedennisS 1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer @philippe.camelio_3885
            last edited by

            @philippe-camelio_3885 this is related to SQL Server timeouts/performance issues

            Unfortunately we don't have any other information available from the information provided, and about the only suggest I would have is to attempt to increase hardware/CPU on the SQL Server, perform database maintenance (see advanced maintenance) , and finally use SQL Server performance monitoring tools to find where there are problems

            There may be some queries that can be optimized or missing indexes. If you can find any of those, please let us know and we can explore to add those optimizations in the product

            P 2 Replies Last reply Reply Quote 0
            • P Offline
              philippe.camelio_3885 @stevedennis
              last edited by

              @stevedennis
              Few weeks ago,I migrated the docker stack Otter from a small linux vm (2 vCpu / 8 go Ram) to a physical serveur (2 x 16 core / 256 Go Ram).
              There was still the pb 😵 .

              I will try to make the database maintenance as you suggest and let you know what is going on.

              Cheers
              PhilippeC.

              1 Reply Last reply Reply Quote 0
              • P Offline
                philippe.camelio_3885 @stevedennis
                last edited by

                @stevedennis

                I have done some db maintenance (mainly for defrag index), but as I am not a dba guy and I don't have too much for debugging so it is difficult for me to found some missing index.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  philippe.camelio_3885
                  last edited by philippe.camelio_3885

                  Hello @stevedennis
                  Just a question, if we put the database problem aside, why a full ServerCheck is started every time a creation / modification is made for a server ? Is it the expected behavior ?

                  Version
                  Otter docker 2023.4
                  SQL : docker express:2019-latest

                  dean-houstonD 1 Reply Last reply Reply Quote 0
                  • dean-houstonD Offline
                    dean-houston inedo-engineer @philippe.camelio_3885
                    last edited by

                    Hi @philippe-camelio_3885,

                    Troubleshooting the database can be a pain, but there are a lot of tools that can help. Here is a nice guide from Microsoft, which includes a script that shows you how to use the sys.dm_exec_query_stats and sys.Dm_exec_sql_text views:
                    https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/performance/troubleshoot-slow-running-queries

                    Just make sure to remove WHERE t.text like '<Your Query>%' from the sample, if you want to see all queries. Some red flags on that query will a disproportional total_elapsed_time , etc.

                    That said, there are two different jobs:

                    • "Server Checker" attempts to connect to each server and make sure the agent is up to date; when this fails, a server will go into an Agent Error state
                    • "Routine Configuration" attempts to check desired configuration against each server using OtterScript; this is what puts a server in Failed or Drift state

                    A "Server Checker" is run frequently and should be very fast. There is very little database activity (just Servers_GetServers to get all servers, then Servers_UpdateServerStatus per server).

                    A "Routine Configuration" is obviously more complicated, and may involve a lot more database activity.

                    -- Dean

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      philippe.camelio_3885 @dean-houston
                      last edited by

                      Hi Dean
                      Thank you
                      This is helpfull.
                      I will dig a little bit and let you know if I found something.
                      Best regards
                      PhilippeC.

                      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