Bump MacOS nofile recommendation message
This commit is contained in:
parent
747f8d5877
commit
8841c3398c
|
@ -3311,7 +3311,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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue