guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix-daemon hitting systemd TasksMax


From: Ludovic Courtès
Subject: Re: guix-daemon hitting systemd TasksMax
Date: Tue, 19 Apr 2016 17:57:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Joram Schrijver <address@hidden> skribis:

> Heh, no I'm not. I have to do it with 4 cores + hyperthreading. My first
> `guix pull` did have to build many things though, spawning numerous
> threads in some cases. I eye-sampled the thread counts during one try
> and they were certainly in the hundreds.

Oh, then it could be that it’s a “make -j8” (assuming 2 hyperthreads per
core) for one of the packages that exceeded the limit.

What about this:

diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in
index 28ef000..c79f867 100644
--- a/etc/guix-daemon.service.in
+++ b/etc/guix-daemon.service.in
@@ -10,6 +10,7 @@ address@hidden@/guix-daemon --build-users-group=guixbuild
 RemainAfterExit=yes
 StandardOutput=syslog
 StandardError=syslog
+TasksMax=1024
 
 [Install]
 WantedBy=multi-user.target
(Is it the right syntax?)

Thanks,
Ludo’.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]