Bump MacOS nofile recommendation message (#11834)
(cherry picked from commit 8841c3398c
)
Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
@ -3318,7 +3318,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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user