From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joram Schrijver Subject: Re: guix-daemon hitting systemd TasksMax Date: Sat, 16 Apr 2016 15:12:15 +0200 Message-ID: <1460812335.1088225.580600441.5A60AF4E@webmail.messagingengine.com> References: <1460677052.2416958.579259849.502AC954@webmail.messagingengine.com> <20160416012901.GB12389@jasmine> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arQ1N-0006Rn-Oq for guix-devel@gnu.org; Sat, 16 Apr 2016 09:12:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arQ1J-0006zL-IM for guix-devel@gnu.org; Sat, 16 Apr 2016 09:12:21 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arQ1J-0006wj-Ax for guix-devel@gnu.org; Sat, 16 Apr 2016 09:12:17 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C3D9422467 for ; Sat, 16 Apr 2016 09:12:15 -0400 (EDT) In-Reply-To: <20160416012901.GB12389@jasmine> 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: Leo Famulari Cc: guix-devel@gnu.org On Sat, Apr 16, 2016, at 03:29 AM, Leo Famulari wrote: > On Fri, Apr 15, 2016 at 01:37:32AM +0200, Joram Schrijver wrote: > > Hi, > > > > In version 228, systemd introduced a unit attribute `TasksMax`[1] that > > limits the number of tasks that can run in a unit. It has effect on > > kernel versions 4.3 and up, kernel threads and userspace process count > > towards the limit, and the default value is 512. > > > > Running `guix pull` without changing any settings crashed for me, > > because building/testing texinfo hit this task limit. Increasing it to > > 1024 using `systemctl set-property guix-daemon.service TasksMax=1024` > > fixed the problem. > > Interesting. What operating system are you using? I'm running systemd > 229 on Debian testing and I don't have this issue, nor have I altered > this setting. > > It would be useful to know what the difference is between our systemd > installations. I don't see anything related to TasksMax in > systemd-229's NEWS: > > https://github.com/systemd/systemd/blob/master/NEWS I am running Arch Linux, also with systemd 229. It doesn't look like Debian applies any patches to systemd, so our installations should pretty much be the same. Perhaps the limit is only reached during the build process of some specific packages? -- Joram