projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In our systemd service files, set a reasonable default for the open file
[arvados.git]
/
services
/
crunch-dispatch-slurm
/
crunch-dispatch-slurm.service
diff --git
a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.service
b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.service
index 9ca1134ed8d5375d7c417af0b3ad684f34efa847..2af56c8d0c1e62b3c2a1d3eb5f0a5c1a65be7b4a 100644
(file)
--- a/
services/crunch-dispatch-slurm/crunch-dispatch-slurm.service
+++ b/
services/crunch-dispatch-slurm/crunch-dispatch-slurm.service
@@
-16,6
+16,8
@@
StartLimitIntervalSec=0
[Service]
Type=notify
ExecStart=/usr/bin/crunch-dispatch-slurm
+# Set a reasonable default for the open file limit
+LimitNOFILE=65536
Restart=always
RestartSec=1
LimitNOFILE=1000000