-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
API service is using 100% cpu #7946
Comments
@jwhonce thoughts? |
would you be willing to try this upstream main branch? |
Were able to reproduce with version from the master branch on Archlinux
|
Fixes containers#7946 Signed-off-by: Jhon Honce <[email protected]>
Fixes containers#7946 Signed-off-by: Jhon Honce <[email protected]>
I have the same problem now, with this configuration:
It seems to be some kind of regression. Though my problem comes with the use of docker extension of VSCode, which is inspecting the api through the podman.sock. |
This issue is over a year old, please open a fresh issue. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Podman API service process starts using 100% after closing connection to the /v1/events endpoint
Steps to reproduce the issue:
Start podman API service
podman system service -t0
Make a request to API service using curl
curl -v --unix-socket /run/podman/podman.sock 'http:/v1/events'
.After a few seconds close the connection using Ctrl-C on the terminal with curl
Describe the results you received:
After ~5 seconds podman service starts using 100% cpu . For every new interrupted events request it takes another 100%.
Describe the results you expected:
Usual cpu usage
Additional information you deem important (e.g. issue happens only occasionally):
The issue can be reproduced regardless of API version. Another streaming API - stats - does not show such behavior.
perf top shows that we stuck in the
selectgo
callOutput of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Test is performed in qemu virtual machine
The text was updated successfully, but these errors were encountered: