Hi all, first post.
Is there an official recommendation for this ?
All I could see in mongodb documentation is a “start point” of 131060
mongosh is moaning even when I set to 256000
chatgpt came up with a “mongodb recommended” of databases * cpus * 65536 which would equate nearly 20,000,000 on the server I’m interested in.
Running mongodb 6.0.14 on an AWS instance with 96 cpu and 384 Gb memory, in a docker container, on Ubuntu 22.04.
Any pointers to docs, or general recommendations welcomed.
Many thanks
The full log output suggests the recommended value for the configured system. Check the log or use db.adminCommand({getLog: 'startupWarnings'}).log.forEach(l => printjson(l))
Hi Chris, thanks for the response, really useful.
The vendor configuration sets ulimit:nofiles:soft to 500k, so connections will be set to 400k and therefore vm.max_map_count should be 800k