You are currently browsing legacy 5.0 version of documentation. Click here to switch to the newest 5.1 version.
Linux: Setting limits
Linux security limits might degrade RavenDB performance (and in encrypted database it might prevent actual functionality, see :
TODO : https://github.com/ravendb/docs/pull/975), even if physical resources allows higher performance. Also debugging might be affected (i.e. : core dump creation).
Setting these limits in a persistant to recommended values way can be achived by editing
* soft core unlimited * hard core unlimited * soft nofile 131070 * hard nofile 131070 * soft nproc 131070 * hard nproc 131070 * soft memlock 1000 * hard memlock 1000
Opening larger ports range can help RavenDB's machine to recieve more parallel requests. This can be done, in example, using:
sysctl -w net.ipv4.ip_local_port_range="10000 65535"
or by adding the following to