Skip to content

runc init blocked opening exec.fifo #2828

@cpuguy83

Description

@cpuguy83

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:

fd, err := unix.Open("/proc/self/fd/"+strconv.Itoa(l.fifoFd), unix.O_WRONLY|unix.O_CLOEXEC, 0)
if err != nil {
return newSystemErrorWithCause(err, "open exec fifo")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions