docs: bump nofiles recommendations to match maps

This commit is contained in:
Trent Nelson
2021-02-01 21:30:15 -07:00
committed by Trent Nelson
parent a5ba6b43bc
commit 894b412aef
6 changed files with 10 additions and 10 deletions

View File

@@ -3550,7 +3550,7 @@ fn adjust_ulimit_nofile(_enforce_ulimit_nofile: bool) -> Result<()> {
fn adjust_ulimit_nofile(enforce_ulimit_nofile: bool) -> Result<()> {
// Rocks DB likes to have many open files. The default open file descriptor limit is
// usually not enough
let desired_nofile = 500000;
let desired_nofile = 700000;
fn get_nofile() -> libc::rlimit {
let mut nofile = libc::rlimit {