Improved OS X build guides a little bit.

This commit is contained in:
Igor Hatarist 2016-12-07 11:21:53 +03:00
parent fde640647a
commit 31430aaca1
2 changed files with 8 additions and 4 deletions

View File

@ -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:
</plist>
```
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.

View File

@ -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.