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

create failed in createPrivateMap, again

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0
    • Component/s: Shell
    • Environment:
      Server: Linux 2.6.37.6-0.20-default #1 SMP 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux
      MongoDB: build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49

    • Linux

      Mon Sep 10 09:10:21 [conn6338] insert kpsommar3.microlog keyUpdates:0 exception: file /var/lib/mongodb/kpsommar3.1 open/create failed in createPrivateMap (look in log for more information) code:13636 locks(micros) w:9235 9ms
      Mon Sep 10 09:10:21 [conn6313] ERROR: mmap private failed with out of memory. (64 bit build)
      Mon Sep 10 09:10:21 [conn6313] Assertion: 13636:file /var/lib/mongodb/kpsommar3.1 open/create failed in createPrivateMap (look in log for more information)
      0

      I ran into this error while running 2.0.4 and upgraded to 2.2.0 and the problem went away. After two/three days after upgrading the problem came back but disappeared after a mongod restart. Could this be related to a memory leak?

      I'll try to fix a simple test case but essentially I have five monitoring scripts sending log data to a PHP script via a REST interface.

      Some more system info:

      > db.stats();
      {
      "db" : "kpsommar3",
      "collections" : 6,
      "objects" : 72223,
      "avgObjSize" : 211.56794926823866,
      "dataSize" : 15280072,
      "storageSize" : 18935808,
      "numExtents" : 12,
      "indexes" : 7,
      "indexSize" : 20889680,
      "fileSize" : 469762048,
      "nsSizeMB" : 16,
      "ok" : 1
      }
      >

      % ulimit -v -H
      unlimited

      I'd love to help debugging this one to get rid of it once and for all.

      Johan

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            johank Johan Kanflo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: