[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default autogroup niceness of Guix build daemon
From: |
Giovanni Biscuolo |
Subject: |
Re: Default autogroup niceness of Guix build daemon |
Date: |
Mon, 27 Jan 2020 18:37:53 +0100 |
Hi James,
"J. R. Haigh (re. Guix)" <address@hidden> 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=19" 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
[...]
--
Giovanni Biscuolo
Xelera IT Infrastructures
signature.asc
Description: PGP signature