Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman system service high cpu usage with --timeout 0 #5531

Closed
apollo13 opened this issue Mar 17, 2020 · 0 comments · Fixed by #5540
Closed

podman system service high cpu usage with --timeout 0 #5531

apollo13 opened this issue Mar 17, 2020 · 0 comments · Fixed by #5540
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@apollo13
Copy link

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

Running podman system service -t0 from a shell results in very high cpu usage, it feels as if podman is busy looping somewhere.

Steps to reproduce the issue:

  1. run podman system service -t0, root/rootless doesn't matter
  2. observe high cpu usage in htop (or whatever) or just listen to the sound of your laptop fans spinning :D

Describe the results you received:

Silent fans ;)

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

podman version 1.8.1

Output of podman info --debug:

podman version 1.8.1
➜  ~ podman info --debug
debug:
  compiler: gc
  git commit: ""
  go version: go1.13.6
  podman version: 1.8.1
host:
  BuildahVersion: 1.14.2
  CgroupVersion: v1
  Conmon:
    package: conmon-2.0.11-1.fc31.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.11, commit: 235027b49c7d27a65a2c51a7c1f5caff876f7ecd'
  Distribution:
    distribution: fedora
    version: "31"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree: 6328209408
  MemTotal: 16423911424
  OCIRuntime:
    name: runc
    package: containerd.io-1.2.10-3.2.fc31.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8+dev
      commit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
      spec: 1.0.1-dev
  SwapFree: 34359734272
  SwapTotal: 34359734272
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: apollo13
  kernel: 5.5.8-200.fc31.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.0-20.1.dev.gitbbd6f25.fc31.x86_64
    Version: |-
      slirp4netns version 0.4.0-beta.3+dev
      commit: bbd6f25c70d5db2a1cd3bfb0416a8db99a75ed7e
  uptime: 12h 46m 20.24s (Approximately 0.50 days)
registries:
  search:
  - docker.io
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - registry.centos.org
  - quay.io
store:
  ConfigFile: /home/florian/.config/containers/storage.conf
  ContainerStore:
    number: 4
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.7.6-2.fc31.x86_64
      Version: |-
        fusermount3 version: 3.6.2
        fuse-overlayfs: version 0.7.6
        FUSE library version 3.6.2
        using FUSE kernel interface version 7.29
  GraphRoot: /home/florian/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 2
  RunRoot: /run/user/1000/containers
  VolumePath: /home/florian/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):

podman-1.8.1-2.fc31.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):

Fedora 31

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Mar 17, 2020
@baude baude assigned baude and jwhonce and unassigned baude Mar 17, 2020
jwhonce added a commit to jwhonce/podman that referenced this issue Mar 18, 2020
* Add second go routine for when a Timer is not needed.
* goimports updated some project files

Fixes containers#5531

Signed-off-by: Jhon Honce <jhonce@redhat.com>
jwhonce added a commit to jwhonce/podman that referenced this issue Mar 18, 2020
* Add second go routine for when a Timer is not needed.
* goimports updated some project files

Fixes containers#5531

Signed-off-by: Jhon Honce <jhonce@redhat.com>
snj33v pushed a commit to snj33v/libpod that referenced this issue May 31, 2020
* Add second go routine for when a Timer is not needed.
* goimports updated some project files

Fixes containers#5531

Signed-off-by: Jhon Honce <jhonce@redhat.com>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants