Bump MacOS nofile recommendation message (#11834)

(cherry picked from commit 8841c3398c)

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot]
2020-08-25 19:52:22 +00:00
committed by GitHub
parent c3564203e9
commit f88b0c4827

View File

@ -3318,7 +3318,10 @@ fn adjust_ulimit_nofile() -> Result<()> {
); );
if cfg!(target_os = "macos") { if cfg!(target_os = "macos") {
error!("On mac OS you may need to run |sudo launchctl limit maxfiles 65536 200000| first"); error!(
"On mac OS you may need to run |sudo launchctl limit maxfiles {} {}| first",
desired_nofile, desired_nofile,
);
} }
return Err(BlockstoreError::UnableToSetOpenFileDescriptorLimit); return Err(BlockstoreError::UnableToSetOpenFileDescriptorLimit);
} }