From: Efraim Flashner <efraim@flashner.co.il>
To: Joram Schrijver <i+guix-devel@joram.io>
Cc: guix-devel@gnu.org
Subject: Re: guix-daemon hitting systemd TasksMax
Date: Fri, 15 Apr 2016 17:35:37 +0300 [thread overview]
Message-ID: <20160415143537.GB10409@debian-netbook> (raw)
In-Reply-To: <1460677052.2416958.579259849.502AC954@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
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.
>
> 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.
>
>
> [1]:
> https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html#TasksAccounting=
>
> --
> Joram
>
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.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-04-15 14:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-14 23:37 guix-daemon hitting systemd TasksMax Joram Schrijver
2016-04-15 14:35 ` Efraim Flashner [this message]
2016-04-16 1:29 ` Leo Famulari
2016-04-16 13:12 ` Joram Schrijver
2016-04-16 16:14 ` Leo Famulari
2016-04-16 22:46 ` Ludovic Courtès
2016-04-18 20:33 ` Leo Famulari
2016-04-18 20:42 ` Joram Schrijver
2016-04-19 15:57 ` Ludovic Courtès
2016-04-20 1:20 ` Leo Famulari
2016-04-25 21:37 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160415143537.GB10409@debian-netbook \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
--cc=i+guix-devel@joram.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).