Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

dump proc IndexError: list index out of range #191

Open
wilrnh opened this issue Apr 1, 2020 · 0 comments
Open

dump proc IndexError: list index out of range #191

wilrnh opened this issue Apr 1, 2020 · 0 comments

Comments

@wilrnh
Copy link
Contributor

wilrnh commented Apr 1, 2020

$ uname -a
Linux mbair 5.3.0-18-generic #19-Ubuntu SMP Tue Oct 8 20:14:06 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ ananicy dump proc
File: /etc/ananicy.d/00-cgroups.cgroups, Line: 6, Error: [Errno 13] Permission denied: '/sys/fs/cgroup/cpu/cpu90/cpu.cfs_period_us'
File: /etc/ananicy.d/00-cgroups.cgroups, Line: 7, Error: [Errno 13] Permission denied: '/sys/fs/cgroup/cpu/cpu80/cpu.cfs_period_us'
You are root?: [Errno 13] Permission denied: '/proc/1/exe'

$ sudo ananicy dump proc
Traceback (most recent call last):
  File "/usr/bin/ananicy", line 854, in <module>
    main(sys.argv)
  File "/usr/bin/ananicy", line 846, in main
    daemon.dump_proc()
  File "/usr/bin/ananicy", line 763, in dump_proc
    "autogroup": TPID_l.autogroup,
  File "/usr/bin/ananicy", line 95, in autogroup
    group_num = int(autogroup[0].split('-')[1])
IndexError: list index out of range
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant