Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34082

MongoDB stalls randomly

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.6
    • Component/s: WiredTiger
    • ALL

      We are experiencing random MongoDB freezes on our 2 replicasets. During short time intervals (about 30-60 seconds) we are unable to get response from DB. That happens randomly. No CPU, Disk, Network or memory spikes are observed in our Nagios monitoring.
      MongoDB logs show that db accepts connections and after 30 seconds client disconnects.
      From the application side a bunch of MongoCursorTimeoutException's were thrown from a PHP driver at March 21, 2018, 3:01:42 a.m. UTC.
      I've attached diagnostic.data logs for the problematic period of time from our 3 db instances.
      DB1 - master, DB2/DB3 - slaves. The problem started on DB2 at March 21, 2018, 3:01:12 and 30 seconds later we've observed exceptions on our PHP application servers.
      Digging into diagnostic logs I've found that the problematic period of time is empty there.

      Is this problem resolved in a latter MongoDB releases? We are planing an update and want to make sure that the fix is already included.

        1. stall.png
          stall.png
          293 kB
        2. ncs-mongo-hung-14.04.2018.tar.gz
          39.90 MB
        3. mongo_diag.zip
          29.95 MB
        4. keith.png
          keith.png
          423 kB

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            neanton Anton Neznaenko
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: