update readme for open file limits

This commit is contained in:
Ubuntu 2022-08-31 12:33:28 +00:00 committed by Jeffrey Picard
parent 49057e0f95
commit ffe15f060a

View file

@ -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.
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.
### Running from Source