From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: guix-daemon hitting systemd TasksMax Date: Fri, 15 Apr 2016 21:29:01 -0400 Message-ID: <20160416012901.GB12389@jasmine> References: <1460677052.2416958.579259849.502AC954@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arF2P-0000YF-5J for guix-devel@gnu.org; Fri, 15 Apr 2016 21:28:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arF2L-0000L7-Vo for guix-devel@gnu.org; Fri, 15 Apr 2016 21:28:41 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arF2L-0000L3-Pf for guix-devel@gnu.org; Fri, 15 Apr 2016 21:28:37 -0400 Content-Disposition: inline In-Reply-To: <1460677052.2416958.579259849.502AC954@webmail.messagingengine.com> 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 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