Re: Help with systemd/cgroup task limits in koji

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 23.02.23 um 20:05 schrieb Kevin Fenzi:
On Thu, Feb 23, 2023 at 11:11:49AM +0100, Florian Weimer wrote:
* Giuseppe Scrivano:

Florian Weimer <fweimer@xxxxxxxxxx> 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)
Than: could you try some chromium builds with a cat of that value at
various points? (ie, prep, build, etc?)

Hi Kevin

i tried chromium build with a cat of that value. The value of /sys/fs/cgroup/pids.max is max at %prep, %setup and %build
The chromium build failed again with errors:

Error: spawn /usr/bin/node-19 EAGAIN
    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:483:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

[!] Error: unfinished hook action(s) on exit

https://kojipkgs.fedoraproject.org//work/tasks/2362/97912362/build.log

Than

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux