mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Improved OS X build guides a little bit.
This commit is contained in:
parent
fde640647a
commit
31430aaca1
8
MacOS.md
8
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)
|
(Note: you'll need to use sudo)
|
||||||
|
|
||||||
@ -29,11 +29,11 @@ To increase maxfiles on MacOS create the following file:
|
|||||||
</plist>
|
</plist>
|
||||||
```
|
```
|
||||||
|
|
||||||
execute the following command:
|
Execute the following command:
|
||||||
```
|
```
|
||||||
sudo chown root:wheel /Library/LaunchDaemons/limit.maxfiles.plist
|
sudo chown root:wheel /Library/LaunchDaemons/limit.maxfiles.plist
|
||||||
```
|
```
|
||||||
|
|
||||||
Reboot.
|
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.
|
||||||
|
@ -72,3 +72,7 @@ cmake ..
|
|||||||
make -j $THREADS
|
make -j $THREADS
|
||||||
cd ..
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user