@cryptotaxi247 / netdata-1 / commits / 9dc6cdd72

Update README.md (#6372)

Improve documentation about file descriptors and systemd configuration.

Markos Fountoulakis committed Jul 2, 2019 at 15:47 UTC 9dc6cdd72c3c75069c82175576b495bb84ab2cd6
1 file changed +3 -4
database/engine/README.md
+3 -4
@@ -119,15 +119,14 @@ or system-wide file descriptor limits. You can roughly estimate that the netdata
119 descriptors for every 10 streaming slave hosts when streaming is configured to use `memory mode = dbengine`.
120
121 If for example one wants to allocate 65536 file descriptors to the netdata service on a systemd system
122 -one needs to edit the netdata systemd file `netdata.service` in `/lib/systemd/system` or `/usr/lib/systemd/system`
123 -and add the line:
122 +one needs to override the netdata service by running `sudo systemctl edit netdata` and creating a
123 +file with contents:
124
125 ```
126 +[Service]
127 LimitNOFILE=65536
128 ```
129
129 -in the `[Service]` section.
130 -
130 For other types of services one can add the line:
131 ```
132 ulimit -n 65536