From 31430aaca13377b19980107895917dd7b741a298 Mon Sep 17 00:00:00 2001 From: Igor Hatarist Date: Wed, 7 Dec 2016 11:21:53 +0300 Subject: [PATCH] Improved OS X build guides a little bit. --- MacOS.md | 8 ++++---- doc/build_osx.md | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/MacOS.md b/MacOS.md index 128a3c0e440..23457877567 100644 --- a/MacOS.md +++ b/MacOS.md @@ -1,6 +1,6 @@ -==How to increase maxfiles on MacOS X== +## How to increase maxfiles on Mac OS X -To increase maxfiles on MacOS create the following file: +To increase maxfiles on MacOS, create the following file: (Note: you'll need to use sudo) @@ -29,11 +29,11 @@ To increase maxfiles on MacOS create the following file: ``` -execute the following command: +Execute the following command: ``` sudo chown root:wheel /Library/LaunchDaemons/limit.maxfiles.plist ``` Reboot. -To check if it's working, you can use 'ulimit -n' command +To check if it's working, you can use `ulimit -n` command. diff --git a/doc/build_osx.md b/doc/build_osx.md index 548d526fd6b..efe423a6934 100644 --- a/doc/build_osx.md +++ b/doc/build_osx.md @@ -72,3 +72,7 @@ cmake .. make -j $THREADS cd .. ``` + +# Caveats + +If you intend to run clickhouse-server, make sure to increase system's maxfiles variable. See [MacOS.md](https://github.com/yandex/ClickHouse/blob/master/MacOS.md) for more details.