Skip to content

Commit

Permalink
GitBook: [master] one page modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Berman authored and gitbook-bot committed Feb 11, 2020
1 parent 70bbe7d commit 501d53e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion mining/mining-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ The number of available file descriptors affects the rate at which your node can

You can check the current limit by executing `ulimit -n`.

On Linux, to set a bigger limit, open `/etc/security/limits.conf` and edit \(or add\) the line:
On Linux, to set a bigger global limit, open `/etc/sysctl.conf` and add the following line:

```text
fs.file-max=10000
```

Execute `sysctl -p` to make the changes take effect.

You may also need to set a proper limit for the particular user. To set a user-level limit, open `/etc/security/limit.conf` and add the following line:

```text
<your OS user> soft nofile 10000
Expand Down

0 comments on commit 501d53e

Please sign in to comment.