From 42bf6dc2ab4b770ac27a654fe310ce1b1884f975 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 3 Feb 2021 10:26:23 -0800 Subject: [PATCH] Revert hard nofile limit back to 500000 --- ledger/src/blockstore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger/src/blockstore.rs b/ledger/src/blockstore.rs index 811f7edc69..69efddd1e5 100644 --- a/ledger/src/blockstore.rs +++ b/ledger/src/blockstore.rs @@ -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 {