Skip to content

Several plugins seem reloaded every time on running a container (io.containerd.{event.v1.publisher, internal.v1.shutdown}, ttrpc.v1.task, ttrpc.v1.pause}) #9637

@AkihiroSuda

Description

@AkihiroSuda

Description

Several plugins seem reloaded every time on running a container.

The daemon prints the following logs on every sudo ctr run --rm docker.io/library/hello-world:latest foo:

time="2024-01-15T12:00:31.087339750+09:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
time="2024-01-15T12:00:31.087407173+09:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
time="2024-01-15T12:00:31.087415505+09:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
time="2024-01-15T12:00:31.087546750+09:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.pause\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
INFO[2024-01-15T12:00:31.158206270+09:00] shim disconnected                             id=foo namespace=default
WARN[2024-01-15T12:00:31.158255326+09:00] cleaning up after shim disconnected           id=foo namespace=default
INFO[2024-01-15T12:00:31.158263169+09:00] cleaning up dead shim                         namespace=default

Steps to reproduce the issue

  1. sudo ctr run --rm docker.io/library/hello-world:latest foo

Describe the results you received and expected

Received: the plugins seem reloaded every time
Expected: should be loaded only once

What version of containerd are you using?

containerd github.com/containerd/containerd v1.7.12 71909c1

Any other relevant information

No response

Show configuration if it is related to CRI plugin.

No response

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