User Tools

Site Tools


mongodb-openvz-crashtest

Test-Program

htop screenshot

console output

create doc 1158
create doc 1159
create doc 1160
create doc 1161
an error occurred { [MongoError: file /var/lib/mongodb/crashtest.7 open/create failed in createPrivateMap (look in log for more information)]
  name: 'MongoError',
  err: 'file /var/lib/mongodb/crashtest.7 open/create failed in createPrivateMap (look in log for more information)',
  code: 13636,
  n: 0,
  connectionId: 17,
  ok: 1 }

/var/log/mongodb/mongodb.log

Fri Jan 31 09:18:56.112 [initandlisten] MongoDB starting : pid=19199 port=27017 dbpath=/var/lib/mongodb 64-bit host=app.goebl.com
Fri Jan 31 09:18:56.113 [initandlisten]
Fri Jan 31 09:18:56.113 [initandlisten] ** WARNING: You are running in OpenVZ. This is known to be broken!!!
Fri Jan 31 09:18:56.113 [initandlisten]
Fri Jan 31 09:18:56.113 [initandlisten] db version v2.4.9
Fri Jan 31 09:18:56.113 [initandlisten] git version: 52fe0d21959e32a5bdbecdc62057db386e4e029c
Fri Jan 31 09:18:56.113 [initandlisten] 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
Fri Jan 31 09:18:56.113 [initandlisten] allocator: tcmalloc
Fri Jan 31 09:18:56.113 [initandlisten] options: { config: "/etc/mongodb.conf", dbpath: "/var/lib/mongodb", logappend: "true", logpath: "/var/log/mongodb/mongodb.log" }
Fri Jan 31 09:18:56.114 [initandlisten] journal dir=/var/lib/mongodb/journal

...

Fri Jan 31 13:43:22.252 [conn17] insert crashtest.chunks ninserted:1 keyUpdates:0 locks(micros) w:5850 113ms
Fri Jan 31 13:43:23.402 [conn17] insert crashtest.chunks ninserted:1 keyUpdates:0 locks(micros) w:3605 122ms
Fri Jan 31 13:43:25.275 [conn17] ERROR: mmap private failed with out of memory. (64 bit build)
Fri Jan 31 13:43:25.275 [conn17] Assertion: 13636:file /var/lib/mongodb/crashtest.7 open/create failed in createPrivateMap (look in log for more information)
0xde46e1 0xda5e1b 0xda635c 0xa5e09b 0xa5e9fa 0xabdae1 0x8d834d 0x8d8858 0x8d893f 0x8d8bde 0xab7e40 0xab809f 0xac9a08 0xaca5af 0x9f8a69 0x9f94d9 0x9ffd68 0x6e8518 0xdd0cae 0x7f3b30722b50
 /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xde46e1]
 /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xda5e1b]
 /usr/bin/mongod() [0xda635c]
 /usr/bin/mongod(_ZN5mongo8MongoMMF13finishOpeningEv+0x1fb) [0xa5e09b]
 /usr/bin/mongod(_ZN5mongo8MongoMMF6createERKSsRyb+0x5a) [0xa5e9fa]
 /usr/bin/mongod(_ZN5mongo13MongoDataFile4openEPKcib+0x141) [0xabdae1]
 /usr/bin/mongod(_ZN5mongo8Database7getFileEiib+0xbd) [0x8d834d]
 /usr/bin/mongod(_ZN5mongo8Database8addAFileEib+0x38) [0x8d8858]
 /usr/bin/mongod(_ZN5mongo8Database12suitableFileEPKcibb+0xaf) [0x8d893f]
 /usr/bin/mongod(_ZN5mongo8Database11allocExtentEPKcibb+0x9e) [0x8d8bde]
 /usr/bin/mongod(_ZN5mongo10outOfSpaceEPKcPNS_16NamespaceDetailsEib+0xb0) [0xab7e40]
 /usr/bin/mongod(_ZN5mongo26allocateSpaceForANewRecordEPKcPNS_16NamespaceDetailsEib+0x4f) [0xab809f]
 /usr/bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibbbPb+0x1998) [0xac9a08]
 /usr/bin/mongod(_ZN5mongo11DataFileMgr16insertWithObjModEPKcRNS_7BSONObjEbb+0x4f) [0xaca5af]
 /usr/bin/mongod(_ZN5mongo14checkAndInsertEPKcRNS_7BSONObjE+0x119) [0x9f8a69]
 /usr/bin/mongod(_ZN5mongo14receivedInsertERNS_7MessageERNS_5CurOpE+0x929) [0x9f94d9]
 /usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xab8) [0x9ffd68]
 /usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x98) [0x6e8518]
 /usr/bin/mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x42e) [0xdd0cae]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50) [0x7f3b30722b50]
Fri Jan 31 13:43:25.347 [conn17] insert crashtest.chunks keyUpdates:0 exception: file /var/lib/mongodb/crashtest.7 open/create failed in createPrivateMap (look in log for more information) code:13636 locks(micros) w:71682 71ms
Fri Jan 31 13:44:29.368 [conn18] end connection 127.0.0.1:34849 (4 connections now open)
mongodb-openvz-crashtest.txt · Last modified: 2014/01/31 15:14 by hgoebl