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

Run command on mongos> db.stats() get error "assertion" : "assertion s/../util/net/../../db/../bson/bsonobjbuilder.h:127", "errmsg" : "db assertion failure", "ok" : 0

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.1.0
    • Component/s: Sharding
    • None
    • Environment:
      linux (oracle linux)
    • ALL

      we setup mongo servers on two machine.All mongod run with journal option.

      machine_1 : 4 mongod, 2 config server, mongos.
      machine_2 : 4 mongod, 1 config server.

      Run command db.stats()get following output:

      mongos> db.stats()
      {
      "raw" : {
      "192.168.129.244:10000" :

      { "db" : "00110412", "collections" : 3, "objects" : 20218, "avgObjSize" : 221103.14116134137, "dataSize" : 4470263308, "storageSize" : 4629549008, "numExtents" : 31, "indexes" : 2, "indexSize" : 2093056, "fileSize" : 5886181376, "nsSizeMB" : 16, "ok" : 1 }

      ,
      "192.168.129.244:15000" :

      { "db" : "00110412", "collections" : 3, "objects" : 20616, "avgObjSize" : 221635.25126115637, "dataSize" : 4569232340, "storageSize" : 4629549008, "numExtents" : 31, "indexes" : 2, "indexSize" : 2142112, "fileSize" : 5886181376, "nsSizeMB" : 16, "ok" : 1 }

      ,
      "192.168.129.244:20000" :

      { "errmsg" : "exception: assertion db/pdfile.h:300", "code" : 0, "ok" : 0 }

      ,
      "192.168.129.244:25000" :

      { "errmsg" : "exception: assertion db/pdfile.h:300", "code" : 0, "ok" : 0 }

      ,
      "192.168.129.245:40000" :

      { "errmsg" : "exception: assertion db/pdfile.h:300", "code" : 0, "ok" : 0 }

      ,
      "192.168.129.245:45000" :

      { "errmsg" : "exception: assertion db/pdfile.h:300", "code" : 0, "ok" : 0 }

      ,
      "192.168.129.245:50000" :

      { "errmsg" : "exception: assertion db/pdfile.h:300", "code" : 0, "ok" : 0 }

      ,
      "192.168.129.245:55000" :

      { "db" : "00110412", "collections" : 3, "objects" : 1337, "avgObjSize" : 92868.35302916978, "dataSize" : 124164988, "storageSize" : 128385024, "numExtents" : 12, "indexes" : 2, "indexSize" : 138992, "fileSize" : 335544320, "nsSizeMB" : 16, "ok" : 1 }

      },
      "ok" : 0,
      "errmsg" : "

      { 192.168.129.244:20000: \"exception: assertion db/pdfile.h:300\", 192.168.129.244:25000: \"exception: assertion db/pdfile.h:300\", 192.168.129.245:40000: \"exception: assertion db/pdfile.h:300\", 192.168.129.245:45000: \"exception: assertion db/pdfile.h:300\", 192.168.129.245:50000: \"exception: assertion db/pdfile.h:300\" }

      "
      }

      please help me to solve above error

      Thanks in advance
      jitendra verma.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jitendra908 jitendra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: