Skip to content

Commit

Permalink
Bump MacOS nofile recommendation message (#11835)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8841c33)

Co-authored-by: Trent Nelson <trent@solana.com>
  • Loading branch information
mergify[bot] and t-nelson authored Aug 25, 2020
1 parent 39eeb01 commit 99001f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3311,7 +3311,10 @@ fn adjust_ulimit_nofile() -> Result<()> {
);

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);
}
Expand Down

0 comments on commit 99001f7

Please sign in to comment.