-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Docker plugin] KeyError: 'mem' cause "Exception in ASGI application" #3091
Comments
It's strange because the variable is initialize at the begin of the loop (here https://github.com/nicolargo/glances/blob/v4.3.0.7/glances/plugins/containers/__init__.py#L266)... Nevertheless i add an extra test before filing the 'mem' item. @janusn Can you test the develop version ?
|
@nicolargo Thanks for looking it up. As I installed via docker, I merged the activities Before the change was applied, I have noticed additional errors on the log at the frequency around once every 4 hours:
|
Hi there. After develop version was applied, an error was logged again. Here is one of the logs:
|
Here is the errors logged in another container:
The frequency of errors was around twice a day. |
Check the bug
Before filling this bug report, please search if a similar issue already exists.
In this case, just add a comment on this existing issue.
Describe the bug
A clear and concise description of what the bug is.
Glances logged the following errors repeatly until the container was restarted. Meanwhile, the CPU usage hopped to near 100% (of a single core)
To Reproduce
Steps to reproduce the behavior:
GLANCES_OPT=-C /config/glances.conf -w --password -u ha
Expected behavior
A clear and concise description of what you expected to happen.
No errors logged and low CPU usage.
Screenshots
If applicable, add screenshots to help explain your problem.
Environement (please complete the following information)
rockerAlpine Linux 3.21.0 64bit / Linux 6.6.44-production+truenas
(lsb_release is not available inside the container)To be completed with result of: glances -V
To be completed
docker composeTo be completed with result of: glances --issue
Additional context
Add any other context about the problem here.
You can also pastebin:
The text was updated successfully, but these errors were encountered: