This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/19981] sparc64: Test tst-cond10.out fails with '/bin/sh: 2: Cannot fork'
- From: "matorola at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 28 Apr 2016 12:26:43 +0000
- Subject: [Bug nptl/19981] sparc64: Test tst-cond10.out fails with '/bin/sh: 2: Cannot fork'
- Auto-submitted: auto-generated
- References: <bug-19981-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19981
--- Comment #3 from Anatoly Pugachev <matorola at gmail dot com> ---
As we've find out yesterday, it was debian sid systemd/cgroups limitation on
max of 512 PIDs allowed for processes (per user):
mator@deb4g:~$ grep pid /proc/$$/cgroup
6:pids:/system.slice/ssh.service
mator@deb4g:~$ cgget -n -g pids /system.slice/ssh.service
pids.max: 512
pids.current: 10
Changing it to a greater value, fixed (bash fork) error:
(runtime):
# echo 2048 > /sys/fs/cgroup/pids/system.slice/ssh.service/pids.max
(permanent, don't forget to restart systemd and ssh service):
mator@deb4g:~$ grep TasksMax /etc/systemd/system.conf
DefaultTasksMax=2048
I suggest to increase systemd/cgroups default compile time value of 512 PIDs
per user to some greater value, for example 2048.
--
You are receiving this mail because:
You are on the CC list for the bug.