Every ten seconds there’s a
ananicy-cpp.service: Scheduled restart job, restart counter is at 3895.
Stopped Ananicy-Cpp - ANother Auto NICe daemon in C++.
Started Ananicy-Cpp - ANother Auto NICe daemon in C++.
Config apply_cgroup: true
Config apply_nice: true
Config cgroup_load: true
Config apply_ionice: true
Config apply_oom_score_adj: true
Config check_disks_schedulers: true
Config apply_latnice: false
Config log_applied_rule: false
Config apply_sched: true
Config apply_ioclass: true
Config type_load: true
Config rule_load: true
Config cgroup_realtime_workaround: true
Config loglevel: info
Config check_freq: 15
Ananicy Cpp 1.0.2
Starting Ananicy
Ananicy Cpp is already running!
ananicy-cpp.service: Main process exited, code=exited, status=1/FAILURE
ananicy-cpp.service: Failed with result 'exit-code'.
in the system logs. Ananicy is working setting the nice values, but is the failed exit considered normal?
There’s one service running with a restart of 10 seconds:
$ systemctl status ananicy-cpp.service
● ananicy-cpp.service - Ananicy-Cpp - ANother Auto NICe daemon in C++
Loaded: loaded (/usr/lib/systemd/system/ananicy-cpp.service; enabled; preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2023-05-16 20:30:38 CEST; 3s ago
Process: 2443598 ExecStart=/usr/bin/ananicy-cpp start (code=exited, status=1/FAILURE)
Main PID: 2443598 (code=exited, status=1/FAILURE)
CPU: 33ms