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

MongoDB stuck after db.getServerStatus().globalLock.currentQueue.writers exceeds 128 (windows)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.0.0-rc0
    • Affects Version/s: None
    • Component/s: Concurrency
    • None
    • Environment:
      Reproduced on Windows 7 64-bit on 5 seperate machines.
    • Windows

      Reproduce using java program : http://pastie.org/1428863

      Change CONNECTION_COUNT to 128 and the problem disappears, 129 or higher and the problem occurs 100% of the time on fast machines. Slower machines tend to not reach the 128 current lock point.

      db.serverStatus().globalLock.currentQueue.writers will show 128 and not recover, regardless of load or wait time. Verify by doing db.test.getIndexes(), it never returns after this.

      mongostats output after test to confirm load is in fact gone : http://pastie.org/1428842

      Other hosts can successfully connect to the same mongo instance.

        1. mongostuck.avi
          8.20 MB
          Remon van Vliet

            Assignee:
            dwight@mongodb.com Dwight Merriman
            Reporter:
            remonvv Remon van Vliet
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: