From ad940ae3c31b0197b442654581ed84661ac89d6d Mon Sep 17 00:00:00 2001 From: Bruce Krysiak Date: Wed, 30 Nov 2022 21:31:32 -0500 Subject: [PATCH] Fixing intermittent OSX test failure issue due to low default filehandle limit (#613) Update README to fix intermittent OSX test failure issue due to low default OS filehandle limit * Fixing intermittent OSX test failure issue due to low default filehandle limit * Make sure ~/.bash_profile changes are reloaded properly * Additional explanation for the ulimit line for OSX in the README Co-authored-by: cxloe <77425619+cxloe@users.noreply.github.com> * Fixing spacing issue --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 912da8035..34ef18f55 100644 --- a/README.md +++ b/README.md @@ -86,10 +86,14 @@ sudo xcode-select -s /Applications/Xcode_12.5.1.app/Contents/Developer CPPFLAGS="-I/usr/local/opt/openssl@3/include" PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig" ``` + + The `ulimit` command fixes an issue related to shell resource usage. MacOS: ```sh + echo 'ulimit -n 4096' >> ~/.bash_profile echo 'export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"' >> ~/.bash_profile + source ~/.bash_profile export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib" export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include" export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"