Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10952

Azure -> Atlas timeouts

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Atlas

    Description

      We have had a number of customers experiencing timeouts when connecting from their Applications hosted on Azure to their Atlas clusters. Updating our docs to include some steps customers can take to improve or eliminate the timeouts would be useful.

      Possible reason for timeouts

      Taking into account that you're hosting your application on Azure and the nature of the error that you're observing, it may be worth noting that the TCP keepalive on the Azure load balancer is 240 seconds by default, which can cause it to silently drop connections if the TCP keepalive on your Azure systems is greater than this value.

      Some recommendations we typically make to customers:

      • Adjusting the maxIdleTimeMS to 120000 should improve the issue.
      • It can be worth looking into the possibility of having both the app server(s) and Atlas cluster residing in the same Azure region as this will also have a net positive impact.

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            justin.costello@mongodb.com Justin Costello
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 1 week, 2 days ago