1
0
Fork 0

Allow more threads for this unit. (#3680)

This commit is contained in:
Jan Christoph Uhde 2017-11-13 17:47:22 +01:00 committed by Frank Celler
parent c6fe726901
commit c9446386eb
1 changed files with 7 additions and 0 deletions

View File

@ -17,8 +17,14 @@ Description=ArangoDB database server
After=sysinit.target sockets.target timers.target paths.target slices.target network.target syslog.target
[Service]
# we could use another type for more reliable reporting
Type=simple
# system limits
LimitNOFILE=131072
LimitNPROC=131072
TasksMax=131072
PIDFile=/var/run/arangodb3/arangod.pid
Environment=GLIBCXX_FORCE_NEW=1
@ -35,6 +41,7 @@ ExecStartPre=@CHOWN_EXECUTABLE@ -R arangodb:arangodb /var/lib/arangodb3-apps
ExecStartPre=@CHMOD_EXECUTABLE@ 700 /var/lib/arangodb3-apps
ExecStart=/usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb3/arangod.pid --temp.path /var/tmp/arangodb3 --log.foreground-tty true
TimeoutStopSec=3600
TimeoutSec=3600