update readme for open file limits
This commit is contained in:
parent
49057e0f95
commit
ffe15f060a
1 changed files with 13 additions and 0 deletions
13
readme.md
13
readme.md
|
@ -80,6 +80,19 @@ https://github.com/protocolbuffers/protobuf/releases/download/v3.17.1/protobuf-a
|
||||||
|
|
||||||
If you can run `./protobuf/build.sh` without errors, you have `go` and `protoc` installed correctly.
|
If you can run `./protobuf/build.sh` without errors, you have `go` and `protoc` installed correctly.
|
||||||
|
|
||||||
|
On Linux you probably need to instead the open file limits
|
||||||
|
|
||||||
|
```
|
||||||
|
ulimit -n 1000000
|
||||||
|
sysctl -w fs.file-max=1000000
|
||||||
|
```
|
||||||
|
|
||||||
|
and `/etc/security/limits.conf` or `/etc/sysctl.conf` change:
|
||||||
|
|
||||||
|
```
|
||||||
|
fs.file-max = 1000000
|
||||||
|
```
|
||||||
|
|
||||||
Finally, run the block processor as described under Usage.
|
Finally, run the block processor as described under Usage.
|
||||||
|
|
||||||
### Running from Source
|
### Running from Source
|
||||||
|
|
Loading…
Reference in a new issue