You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cpulimit is not sending SIGCONT signal to the processes #123
I am seeing this intermittent behavior in rocky8.9 where i suspect cpulimit is not sending SIGCONT to the child proc and child processes is been hung there for days. Any idea what could be the reason ? How do debug this issue?
cmd: cpulimit -l 15 aws s3 cp foo bar
and there is no load on the system and have enough cpu cycles. If i send SIGCONT to the pid then the processes is getting executed successfully. We never saw this behavior in centos7.
sudo strace -p 2558819
strace: Process 2558819 attached
--- stopped by SIGSTOP ---
@rammohanganap In recent years, I have discovered some bugs in the processes of process name matching, reading process information, sending signals, and handling multithreading concurrency. I made many modifications. Please refer to the commits in my forked repository for details. https://github.com/HiGarfield/cpulimit
Activity
HiGarfield commentedon Nov 28, 2024
You can try my modified version with the errors fixed: https://github.com/HiGarfield/cpulimit.
I also provided an executable; just extract it and run it.
cpulimit.tar.gz
rammohanganap commentedon Nov 28, 2024
@HiGarfield thanks for the quick response, is this a known issue with cpulimit in rocky8/rhel8 OS? any references related to this issue?
HiGarfield commentedon Nov 28, 2024
@rammohanganap In recent years, I have discovered some bugs in the processes of process name matching, reading process information, sending signals, and handling multithreading concurrency. I made many modifications. Please refer to the commits in my forked repository for details. https://github.com/HiGarfield/cpulimit
HiGarfield commentedon Nov 28, 2024
After testing, the cpulimit in my repo works properly on Rocky Linux.