Skip to content
Snippets Groups Projects
Commit 7f8712a2 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

systemd: increase default LimitNOFILE for Vinyl

Set LimitNOFILE to 65535 to provide the best Vinyl experience
out of the box.

Closes #2465
parent 19cda0fc
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ Package: tarantool ...@@ -53,7 +53,7 @@ Package: tarantool
Architecture: i386 amd64 armhf arm64 Architecture: i386 amd64 armhf arm64
Priority: optional Priority: optional
Depends: ${shlibs:Depends}, ${misc:Depends}, netbase, binutils, libgomp1, Depends: ${shlibs:Depends}, ${misc:Depends}, netbase, binutils, libgomp1,
libyaml-0-2, openssl, tarantool-common (>= 1.7.3.716) libyaml-0-2, openssl, tarantool-common (>= 1.7.4.47)
Replaces: tarantool-lts Replaces: tarantool-lts
Conflicts: tarantool-lts-modules, Conflicts: tarantool-lts-modules,
tarantool-lts-postgresql-module, tarantool-lts-postgresql-module,
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# place a drop-in file name.conf there that only changes the specific # place a drop-in file name.conf there that only changes the specific
# settings one is interested in. # settings one is interested in.
# #
# For example, if you want to increase the maximum number of open files # For example, if you want to change the maximum number of open files
# for example.lua instance, you need to perform the following steps: # for example.lua instance, you need to perform the following steps:
# #
# 1. Create directory /etc/systemd/system/tarantool@example.service.d/ with # 1. Create directory /etc/systemd/system/tarantool@example.service.d/ with
...@@ -44,6 +44,8 @@ User=@TARANTOOL_USER@ ...@@ -44,6 +44,8 @@ User=@TARANTOOL_USER@
Group=@TARANTOOL_USER@ Group=@TARANTOOL_USER@
# Disable OOM killer # Disable OOM killer
OOMScoreAdjust=-1000 OOMScoreAdjust=-1000
# Increase fd limit for Vinyl
LimitNOFILE=65535
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl start %I ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl start %I
ExecStop=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl stop %I ExecStop=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl stop %I
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment