Skip to content

containerd-shim hangs  #4434

@likakuli

Description

@likakuli

Description
containerd read the pipe passed to runc peocess after runc exited, if runc process write too many bytes to the pipe, boss process will hang
opencontainers/runc#2530

Steps to reproduce the issue:

  1. containerd execute exec cmd in a container
  2. runc receive an abort signal when execute runc init's init()
  3. runc init may hang because the error message is large than 65536 bytes

Describe the results you received:
runc hang

Describe the results you expected:
both not hang

Output of containerd --version:
v1.1.2

(paste your output here)

image

image

image

Any other relevant information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions