You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Linux: Setting limits

Linux security limits might degrade RavenDB performance (and in encrypted database it might prevent actual functionality, see : TODO :, 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 /etc/security/limits.conf with:

* 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 /etc/sysctl.conf:

net.ipv4.ip_local_port_range=1024 65535