From 7fd04255ef238e06d1d9c9a5cc35060d36d83f2b Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 18 Sep 2017 12:32:10 -0400 Subject: 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 --- systemd/cloud-final.service.tmpl | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3