* Sync FD limit and max maps to 500k (cherry picked from commit11951eb009
) * Expand system tuning docs (cherry picked from commit5354df8c1c
) * clippy Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
@@ -3295,7 +3295,7 @@ fn adjust_ulimit_nofile() -> Result<()> {
|
||||
fn adjust_ulimit_nofile() -> Result<()> {
|
||||
// Rocks DB likes to have many open files. The default open file descriptor limit is
|
||||
// usually not enough
|
||||
let desired_nofile = 65000;
|
||||
let desired_nofile = 500_000;
|
||||
|
||||
fn get_nofile() -> libc::rlimit {
|
||||
let mut nofile = libc::rlimit {
|
||||
|
Reference in New Issue
Block a user