nefelim4ag / Ananicy

Ananicy - is Another auto nice daemon, with community rules support (Use pull request please)
GNU General Public License v3.0
567 stars 79 forks source link

Error: "type": "BG_CPUIO" not defined #465

Open mdhishamsayed opened 1 year ago

mdhishamsayed commented 1 year ago

OS - Arch Linux AUR Package - minq-ananicy-git

sudo systemctl status ananicy
● ananicy.service - Ananicy - ANother Auto NICe daemon
     Loaded: loaded (/usr/lib/systemd/system/ananicy.service; enabled; preset: disabled)
     Active: active (running) since Thu 2023-06-15 12:21:02 IST; 2h 42min ago
    Process: 421 ExecStartPre=/sbin/sysctl -e kernel.sched_autogroup_enabled=0 (code=exited, status=0/SUCCESS)
   Main PID: 423 (python3)
      Tasks: 1 (limit: 9352)
     Memory: 12.0M (high: 16.0M max: 64.0M available: 3.9M)
        CPU: 36.500s
     CGroup: /system.slice/ananicy.service
             └─423 python3 /usr/bin/ananicy start

Jun 15 12:21:02 SAYED-PC ananicy[423]: Load rules: /etc/ananicy.d/00-default/wine/uplay.rules
Jun 15 12:21:02 SAYED-PC ananicy[423]: Load rules: /etc/ananicy.d/00-default/wine/vtmb.rules
Jun 15 12:21:02 SAYED-PC ananicy[423]: Load rules: /etc/ananicy.d/00-default/wine/witcher.rules
Jun 15 12:21:02 SAYED-PC ananicy[423]: Load rules: /etc/ananicy.d/00-default/wine/wows.rules
Jun 15 12:21:02 SAYED-PC ananicy[423]: File: /etc/ananicy.d/00-default/wine/wows.rules, Line: 5, Error: "type": "BG_CPUIO" not defined
Jun 15 12:21:02 SAYED-PC ananicy[423]: Load rules: /etc/ananicy.d/00-default/wine/wrathaor.rules
Jun 15 12:21:02 SAYED-PC ananicy[423]: Load rules: /etc/ananicy.d/00-default/wine/ys.rules
Jun 15 12:21:02 SAYED-PC ananicy[423]: Load rules: /etc/ananicy.d/00-default/youtube-dl.rules
Jun 15 12:21:02 SAYED-PC ananicy[423]: File: /etc/ananicy.d/00-default/youtube-dl.rules, Line: 2, Error: "type": "BG_CPUIO" not defined
Jun 15 12:21:02 SAYED-PC systemd[1]: Started Ananicy - ANother Auto NICe daemon.

but when i use normal ananicy release, i can use my system

● ananicy.service - Ananicy - ANother Auto NICe daemon
     Loaded: loaded (/usr/lib/systemd/system/ananicy.service; enabled; preset: disabled)
     Active: active (running) since Thu 2023-06-15 15:04:47 IST; 2s ago
    Process: 160472 ExecStartPre=/sbin/sysctl -e kernel.sched_autogroup_enabled=0 (code=exited, status=0/SUCCESS)
   Main PID: 160473 (python3)
      Tasks: 1 (limit: 9352)
     Memory: 9.1M (high: 16.0M max: 64.0M available: 6.8M)
        CPU: 261ms
     CGroup: /system.slice/ananicy.service
             └─160473 python3 /usr/bin/ananicy start

Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159936/160230] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159948] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159949] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159950] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159951] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159952] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159953] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159954] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159955] 0 -> -3
Jun 15 15:04:47 SAYED-PC ananicy[160473]: renice: brave[159948/159956] 0 -> -3

minq-ananicy also does not show the renice info my system lags while using minq-ananicy

Co3co commented 10 months ago

I'm having the same issue on Artix Linux with runit instead of systemd.