Skip to content

Error in log: copy shim log read /proc/self/fd/15: file already closed #5130

@zhsj

Description

@zhsj

Description

When upgrading 1.5.x and 1.4.4, I start to observe these errors in log:

ERRO[2021-03-06T00:14:53.131989960+08:00] copy shim log error="read /proc/self/fd/15: file already closed"

It doesn't look like harm though.

Steps to reproduce the issue:

ctr run -t --rm docker.io/library/busybox:latest sh

Describe the results you received:

Mar 06 00:18:42 debian containerd[783516]: time="2021-03-06T00:18:42.036915651+08:00" level=info msg="shim disconnected" id=sh
Mar 06 00:18:42 debian containerd[783516]: time="2021-03-06T00:18:42.037013510+08:00" level=error msg="copy shim log" error="read /proc/self/fd/9: file already closed"

Describe the results you expected:

No level=error message

What version of containerd are you using:

$ containerd --version
containerd github.com/containerd/containerd v1.5.0-beta.3-2-g4514bc9c5 4514bc9c5c6406138628c15d2f98468b430124ee

Seems ralated to #4906

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