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 אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted