* Giuseppe Scrivano:

> Florian Weimer <fwei...@redhat.com> writes:
>> It could be an old kernel bug:
>>
>>   Task exit is signaled before task resource deallocation, leading to
>>   bogus EAGAIN errors
>>   <https://bugzilla.kernel.org/show_bug.cgi?id=154011>
>>
>> There have been recent namespace optimizations which introduce a similar
>> pattern there.  While they improve throughput in many cases, continuous
>> allocation and deallocation can now fail, even though the program logic
>> ensures that resources are never exceeded.
>>
>> Guiseppe, any suggestions how to debug this?
>
> the only optimization I am aware of that could cause a similar issue is
> the delayed IPC namespace cleanup.  That would cause the IPC namespace
> creation to fail though, not posix_spawn.
>
> If you believe the failure can be related to reaching the pids limit for
> the cgroup, could you please check the actual limit inside the
> container?  You could check the value of /sys/fs/cgroup/pids.max inside
> the container (assuming cgroupv2 and a cgroup namespace for the container).
>
> Please let me know if that helps.

(replying for the benefit of the list)
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to