runc: runc init blocked opening exec.fifo

We have a case where runc init is blocked trying to open exec.fifo (specifically /proc/self/fd/5 which points to exec.fifo in the state dir. This happened on a machine with memory pressure and runc exiting with SIGSEGV.

I’m assuming this is happening here, but all I have to debug this is strace: https://github.com/opencontainers/runc/blob/4d4d19ce528ac40cc357ef92cd3a6931dba19316/libcontainer/standard_init_linux.go#L188-L191

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (14 by maintainers)

Most upvoted comments

We saw a similar issue. We upp’d the /proc/sys/fs/pipe-user-pages-soft to 65535 and that seemed to solve it. We haven’t figured out why, but we got the idea from these Chinese blogs (will require Google Translating the page) - https://www.igoodtv.com/p/1921069.html https://www.likakuli.com/posts/docker-hang/

@dannylee- Different issue, and that should be fixed on HEAD. Can you try with that?