summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2017-09-18 12:32:10 -0400
committerScott Moser <smoser@brickies.net>2017-10-03 10:09:13 -0400
commit7fd04255ef238e06d1d9c9a5cc35060d36d83f2b (patch)
tree38a798395cd3801e626dbb67c4b78c954d28da60 /systemd
parentcc1475d07b9d0727012634ee9c7a914d67b051f5 (diff)
downloadvyos-cloud-init-7fd04255ef238e06d1d9c9a5cc35060d36d83f2b.tar.gz
vyos-cloud-init-7fd04255ef238e06d1d9c9a5cc35060d36d83f2b.zip
systemd: remove limit on tasks created by cloud-init-final.service.
Depending on distribution the default number of tasks (threads) maybe unexpectedly low or it may be the default systemd setting (512). Setting TasksMax to "infinity" in cloud-init-final.service removes the restriction on tasks created. LP: #1717969
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-final.service.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/cloud-final.service.tmpl b/systemd/cloud-final.service.tmpl
index e2b91255..8207b18c 100644
--- a/systemd/cloud-final.service.tmpl
+++ b/systemd/cloud-final.service.tmpl
@@ -15,6 +15,7 @@ ExecStart=/usr/bin/cloud-init modules --mode=final
RemainAfterExit=yes
TimeoutSec=0
KillMode=process
+TasksMax=infinity
# Output needs to appear in instance console output
StandardOutput=journal+console