diff options
author | Markos Fountoulakis <44345837+mfundul@users.noreply.github.com> | 2019-07-02 15:47:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 15:47:36 +0300 |
commit | 9dc6cdd72c3c75069c82175576b495bb84ab2cd6 (patch) | |
tree | 1bfdac80101fb8463cdae47782908fab41db6df1 | |
parent | c56e086ba341041611c084e7a38d68ef678d6d6f (diff) |
Update README.md (#6372)
Improve documentation about file descriptors and systemd configuration.
-rw-r--r-- | database/engine/README.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/database/engine/README.md b/database/engine/README.md index 334f5046c7..adc69ffd72 100644 --- a/database/engine/README.md +++ b/database/engine/README.md @@ -119,15 +119,14 @@ or system-wide file descriptor limits. You can roughly estimate that the netdata descriptors for every 10 streaming slave hosts when streaming is configured to use `memory mode = dbengine`. If for example one wants to allocate 65536 file descriptors to the netdata service on a systemd system -one needs to edit the netdata systemd file `netdata.service` in `/lib/systemd/system` or `/usr/lib/systemd/system` -and add the line: +one needs to override the netdata service by running `sudo systemctl edit netdata` and creating a +file with contents: ``` +[Service] LimitNOFILE=65536 ``` -in the `[Service]` section. - For other types of services one can add the line: ``` ulimit -n 65536 |