Details
-
Improvement
-
Status: Backlog
-
Minor - P4
-
Resolution: Unresolved
-
None
-
None
-
0
Description
On SUSE in particular, this comes up since the virtual address space ulimit is capped by default, e.g.:
$ ulimit -v
|
12634640
|
In mongod logs you'll see
2015-03-05T19:29:52.736+0000 E CONTROL [conn225] mmap failed with out of memory. (64 bit build)
|
We don't currently warn about this particular ulimits config:
2015-03-05T18:12:58.906+0000 I CONTROL [initandlisten] MongoDB starting : pid=18648 port=27017 dbpath=/data/db 64-bit host=ip-10-233-119-98
|
2015-03-05T18:12:58.906+0000 I CONTROL [initandlisten] db version v3.0.0
|
2015-03-05T18:12:58.906+0000 I CONTROL [initandlisten] git version: a841fd6394365954886924a35076691b4d149168 modules: enterprise
|
2015-03-05T18:12:58.906+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 0.9.8j-fips 07 Jan 2009
|
2015-03-05T18:12:58.906+0000 I CONTROL [initandlisten] build info: Linux ip-10-230-183-160 3.0.13-0.27-ec2 #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64 BOOST_LIB_VERSION=1_49
|
2015-03-05T18:12:58.906+0000 I CONTROL [initandlisten] allocator: tcmalloc
|
2015-03-05T18:12:58.907+0000 I CONTROL [initandlisten] options: { net: { port: 27017 }, processManagement: { fork: true }, storage: { dbPath: "/data/db" }, systemLog: { destination: "file", path: "/data/db/mongodb.log" } }
|
2015-03-05T18:12:58.944+0000 I STORAGE [initandlisten]
|
2015-03-05T18:12:58.944+0000 I STORAGE [initandlisten] ** WARNING: Readahead for /data/db is set to 512KB
|
2015-03-05T18:12:58.944+0000 I STORAGE [initandlisten] ** We suggest setting it to 256KB (512 sectors) or less
|
2015-03-05T18:12:58.944+0000 I STORAGE [initandlisten] ** http://dochub.mongodb.org/core/readahead
|
2015-03-05T18:12:58.944+0000 I JOURNAL [initandlisten] journal dir=/data/db/journal
|
2015-03-05T18:12:58.944+0000 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed
|
2015-03-05T18:12:59.086+0000 I JOURNAL [durability] Durability thread started
|