Subject: [PATCH] guix-daemon.service: bump amount of parallel threads up to 8192

From: Sergei Trofimovich <[email-masked]>
Date: Sat, 22 Apr 2017 18:33:03 +0100

Noticed original limit as a testsuite failure on go-1.8.1:

  ##### ../misc/cgo/test
  --- FAIL: Test18146 (2.93s)
    issue18146.go:121: syscall.Exec failed: exit status 2
      runtime/cgo: pthread_create failed: Resource temporarily unavailable

* etc/guix-daemon.service.in: changed TasksMax from 1024 to 8192

Signed-off-by: Sergei Trofimovich <[email-masked]>
---
 etc/guix-daemon.service.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in
index ffe4cf9bd..2437a08f6 100644
--- a/etc/guix-daemon.service.in
+++ b/etc/guix-daemon.service.in
@@ -13,7 +13,8 @@ StandardOutput=syslog
 StandardError=syslog
 
 # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
-TasksMax=1024
+# go-1.8.1 testsuire requires more than 1024 tasks.
+TasksMax=8192
 
 [Install]
 WantedBy=multi-user.target
-- 
2.12.2