Revert hard nofile limit back to 500000

This commit is contained in:
Michael Vines 2021-02-03 10:26:23 -08:00 committed by mergify[bot]
parent 139ab5e49e
commit 42bf6dc2ab
1 changed files with 1 additions and 1 deletions

View File

@ -3552,7 +3552,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 = 700000;
let desired_nofile = 500000;
fn get_nofile() -> libc::rlimit {
let mut nofile = libc::rlimit {