From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: Default autogroup niceness of Guix build daemon Date: Mon, 27 Jan 2020 18:37:53 +0100 Message-ID: <87eevkiyvi.fsf@roquette.mug.biscuolo.net> References: <20200125223016.39ce19c7@jrhaighs-debian-x200> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49690) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw8L5-0001MP-Kd for help-guix@gnu.org; Mon, 27 Jan 2020 12:38:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw8L4-0003oA-0T for help-guix@gnu.org; Mon, 27 Jan 2020 12:38:19 -0500 Received: from ns13.heimat.it ([46.4.214.66]:36682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iw8L3-0003mj-Qh for help-guix@gnu.org; Mon, 27 Jan 2020 12:38:17 -0500 In-Reply-To: <20200125223016.39ce19c7@jrhaighs-debian-x200> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: "J. R. Haigh (re. Guix)" , help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi James, "J. R. Haigh (re. Guix)" writes: > Hi all, > I've been using Guix on Debian 9 Stretch [...] > Is there a way to declaratively set the default autogroup > niceness of Guix's build daemon? Since Debian 9 users systemd, should be possible by configuring a limit in the systemd service unit file [1]; I've never tried but try adding "LimitNICE=3D19" in the [Service] stanza Documentation on that parameter here: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Process%= 20Properties Remember to "systemctl daemon-reload" after editing one the systemd service unit file HTH! Gio' [1] /etc/systemd/system/guix-daemon.service [...] =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl4vH/EACgkQ030Op87M ORL40g//Vq0QcGqRMZogrrxkTLSUu73oJHNzV04KUssroM4PUXfjiHE3RB5sQIS/ xAVMZ3BATW4Qdrdu2NnA7ccKv+hvd1UGWnqnl/i10zH6+/mthzr2QhJbRCqRQFc9 KDDbEo9EPrUHn45XLp1IQgOKx+aIi75NomTXaYXDXFbzHe9fJ+oKdOEVaSMdEggj 4qIJPdg3rwmggv38S3hunOyJuoQmG92m8UlVRSITsZAOpyzO8CVUlPnTCOPBfZ82 Wxz74QGfjhCxhDxWsPsg6tERMWM2IOmbWBn5hSaWnZpse1dr9mBPELCXu0VqtLlY viqolO/Oe/UeaeCyTIsqpzYiVw1Z63LmI5KrC2cDr1H/hY5Vu6BmD1/l3ZJA4N/W U9TGmRN5mhkHY+oohfun3yUbaXB7vTMT9alwYinb3H9nHp5JOD3KZol9cgUtqXhQ r86iGvSbo9HDcB3getvc0BMtSnszgKq+t0EM5/m8Xyc/5mOSys0Z6QVt7utCImy0 15Cmuh/3e+RiSf3xeQiUeuD/6NbGRiUIjxk8fEiyUcE1GGTn9YNnMrsbI3ixBUQ5 /PWUwfF6LBMMQ2k5Fb8dJldZUgurSSMjItNvSrrYk/Q4+vtiAcil/FIQWxDOCNlw IxLXfkVveT8sKc0OAHT/nE1egW3MJRJhJATaCaeqeY4mVWVZRWE= =UTPn -----END PGP SIGNATURE----- --=-=-=--