From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix-daemon hitting systemd TasksMax Date: Tue, 19 Apr 2016 17:57:05 +0200 Message-ID: <87vb3dzj5a.fsf@gnu.org> References: <1460677052.2416958.579259849.502AC954@webmail.messagingengine.com> <20160416012901.GB12389@jasmine> <1460812335.1088225.580600441.5A60AF4E@webmail.messagingengine.com> <20160416161438.GB9412@jasmine> <871t65f9zb.fsf@gnu.org> <20160418203345.GB26832@jasmine> <1461012120.3265374.582525641.595D96A9@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asY1Z-0008PY-Cf for guix-devel@gnu.org; Tue, 19 Apr 2016 11:57:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asY1U-0000VL-9g for guix-devel@gnu.org; Tue, 19 Apr 2016 11:57:13 -0400 In-Reply-To: <1461012120.3265374.582525641.595D96A9@webmail.messagingengine.com> (Joram Schrijver's message of "Mon, 18 Apr 2016 22:42:00 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Joram Schrijver Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Joram Schrijver 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=E2=80=99s a =E2=80=9Cmake -j8=E2=80=9D (assumi= ng 2 hyperthreads per core) for one of the packages that exceeded the limit. What about this: --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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 @@ ExecStart=@bindir@/guix-daemon --build-users-group=guixbuild RemainAfterExit=yes StandardOutput=syslog StandardError=syslog +TasksMax=1024 [Install] WantedBy=multi-user.target --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable (Is it the right syntax?) Thanks, Ludo=E2=80=99. --=-=-=--