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

getlasterror seems hang after some queries

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.2.1
    • Component/s: None
    • Environment:
      debian, w/ newest java driver
    • Linux

      3 shards, in 3 physical servers, 3 replica sets. Each replica set has 2 members + one arbiter.

      I have 50 threads inserting a document 1000 times each, 50K docs in total.
      after 30K writes, the process hangs, with currentop showing getlasterror(s) queries running for several thousand seconds. Mongostat show no activity, no locks, no inserts. No errors show in the logs. All inserts are performed with REPLICAS_SAFE
      I attach output of db.stats, db.serverStatus and db.currentop.

        1. currentop1.txt
          15 kB
        2. dbserverStatus.txt
          1 kB
        3. dbstats.txt
          1 kB
        4. mongodb.owl.tar.bz2
          3.32 MB
        5. mongodb.ulysses.tar.bz2
          830 kB
        6. mongodb.vserver-2.tar.bz2
          27.86 MB
        7. mongodb.vserver-3.tar.bz2
          7.67 MB

            Assignee:
            david.hows David Hows
            Reporter:
            sivann Spiros Ioannou
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: