From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: guix-daemon hitting systemd TasksMax Date: Fri, 15 Apr 2016 17:35:37 +0300 Message-ID: <20160415143537.GB10409@debian-netbook> References: <1460677052.2416958.579259849.502AC954@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar4qd-00068H-ON for guix-devel@gnu.org; Fri, 15 Apr 2016 10:35:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ar4qY-0003BC-By for guix-devel@gnu.org; Fri, 15 Apr 2016 10:35:51 -0400 Received: from flashner.co.il ([178.62.234.194]:35522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar4qY-0003B2-0i for guix-devel@gnu.org; Fri, 15 Apr 2016 10:35:46 -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 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 15, 2016 at 01:37:32AM +0200, Joram Schrijver wrote: > Hi, >=20 > 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. >=20 > 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=3D1024` > fixed the problem. >=20 > Because I expect guix-daemon to hit this limit regularly, it might be > wise to set a higher `TasksMax` in the service file itself, perhaps even > `infinity`. Doing this would, sadly, cause older systemd versions > shipped by various distributions to complain about the existence of the > attribute, so perhaps a mention in the manual would instead be enough. >=20 >=20 > [1]: > https://www.freedesktop.org/software/systemd/man/systemd.resource-control= =2Ehtml#TasksAccounting=3D >=20 > -- > Joram >=20 If it complains but doesn't cause it to error out it might be worth it to add it to etc/guix-daemon.service in the guix source tree as well as mention it in the manual. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXEPw1AAoJEPTB05F+rO6TYXIP/isdZe/MVUrtyneWy+DiorTc 2+bRhzfpdx2SxfY0SWipfqsYa3Y8gOckUTSo+XrdBqpNWryP8hHEDX4HAGNk6yKQ xTy1dA5pDWuODZG5znciWS3ZuFfPyBkqR/qIweWLiOjORbtlF6bLaxnU5D7/+ov0 NakgLPJtEfdX1tHTH+bL45rXk9A5Fy6io5QxrnJX44TFeSvSTFd8AGavIgrWqACe pI/VfOcKQNO0k+SA5+fx6VHdxyIETxpW0T6ybpTVnM4DHCGcGeuI6h3YbOMmGdwV MU8udZNPff+iSA7yb9GrHHA2toBEqd6UwohvJ2hJjrPBCGr1h21KslcsixVo3BcO 3Cj+zg2mXN8NgqAuatvssBFW0ddls3OXIGYWVEzbR7p44yrE4bGkLKzzAZz+NKRL u1mX78d4Ooa1LWL8FJWNiTXQmuRGrEVAzlf9tina4jsxs4hMPlBcSf3TMu/U6zDb LQkwzW+NAahiXophWWt9iDbh5FjrLXkTCrPqEdi8xUj+FYiPsYDiP4SekSwJ1vGn 0p+Jl3j81ZKCwnEx16z2tKFLfFsovI4avNA15fZUrHTvLYNCpjFgB0w2QldVyFyE hhvXDjngCKyTQ5tw4PQwPQ1kHMvN1wKrfl+Jgo9b6YYucixEQ+PIN/9V/liaM+0m wbAl/34vbTaOGgCJZvn9 =aZQa -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--