mirror of https://gitee.com/bigwinds/arangodb
Allow more threads for this unit. (#3680)
This commit is contained in:
parent
c6fe726901
commit
c9446386eb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue