It is the raw clone call that fails:
101 if (__glibc_unlikely (ARCH_CLONE (&start_thread, STACK_VARIABLES_ARGS,
102 »···»···»···»··· clone_flags, pd, &pd->tid, tp, &pd->tid)
103 »···»···»···== -1))
104 return errno;
That returns 11
Limits are the same in good & bad case
$ sudo prlimit --pid 1839368
RESOURCE DESCRIPTION SOFT HARD UNITS
AS address space limit unlimited unlimited bytes
CORE max core file size 0 unlimited bytes
CPU CPU time unlimited unlimited seconds
DATA max data size unlimited unlimited bytes
FSIZE max file size 0 0 bytes
LOCKS max number of file locks held unlimited unlimited locks
MEMLOCK max locked-in-memory address space 0 0 bytes
MSGQUEUE max bytes in POSIX mqueues 0 0 bytes
NICE max nice prio allowed to raise 0 0
NOFILE max number of open files 50 50 files
NPROC max number of processes 3 3 processes
RSS max resident set size unlimited unlimited bytes
RTPRIO max real-time priority 0 0
RTTIME timeout for real-time tasks 200000 200000 microsecs
SIGPENDING max number of pending signals 127615 127615 signals
STACK max stack size 8388608 unlimited bytes
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to rtkit in Ubuntu.
https://bugs.launchpad.net/bugs/1871543
Title:
rtkit fails to start in focal "pthread_create failed: Resource
temporarily unavailable"
Status in rtkit package in Ubuntu:
New
Bug description:
I was debugging something else and found rtkit broken on my system.
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Successfully called
chroot.
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Successfully dropped
privileges.
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Successfully limited
resources.
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: pthread_create failed:
Resource temporarily unavailable
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Canary thread running.
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Exiting canary thread.
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Demoting known real-time
threads.
Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Demoted 0 threads
That state is reproducible through restarts.
I haven't looked any further yet.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: rtkit 0.12-4
ProcVersionSignature: Ubuntu 5.3.0-45.37~18.04.1-generic 5.3.18
Uname: Linux 5.3.0-45-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu24
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 8 07:59:58 2020
InstallationDate: Installed on 2018-10-12 (543 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
(20180725)
SourcePackage: rtkit
UpgradeStatus: Upgraded to focal on 2020-04-03 (4 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtkit/+bug/1871543/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp