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

KeyError: 'throttle.io_service_bytes in container python:3.8.17-slim #15

Open
yli02 opened this issue Aug 14, 2023 · 0 comments
Open

KeyError: 'throttle.io_service_bytes in container python:3.8.17-slim #15

yli02 opened this issue Aug 14, 2023 · 0 comments

Comments

@yli02
Copy link

yli02 commented Aug 14, 2023

Hi, thanks for providing this library. I unfortunately got the following error while running inside docker container which is given in the title.

$ ./cgutil top -i -n 2 -b
Traceback (most recent call last):
  File "./cgutil", line 52, in <module>
    main()
  File "./cgutil", line 48, in main
    cmd.run()
  File "/app/.venv/lib/python3.8/site-packages/cgutils/commands/top.py", line 534, in run
    return self._run_window(None)
  File "/app/.venv/lib/python3.8/site-packages/cgutils/commands/top.py", line 530, in _run_window
    ui.run()
  File "/app/.venv/lib/python3.8/site-packages/cgutils/commands/top.py", line 330, in run
    self.cgstats.update()
  File "/app/.venv/lib/python3.8/site-packages/cgutils/commands/top.py", line 227, in update
    stats = self._convert[_cgroup.subsystem.name](stats)
  File "/app/.venv/lib/python3.8/site-packages/cgutils/commands/top.py", line 162, in __conv_blkio_stats
    for k, v in stats['throttle.io_service_bytes'].items():
KeyError: 'throttle.io_service_bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant