Process systemd can take long period high cpu usage during releasing task, which can be reproduced by following steps: 1. gcc -o aa a.c 2. ./run.sh # Termial 1 3. ./access.sh # Termial 2, after run.sh finish 4. time killall -wq aa $ top # during killall PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 73152 8144 6348 S 99.7 0.0 0:22.56 systemd 5117 root 20 0 145096 1688 1448 R 99.7 0.0 0:04.86 ps
(In reply to Zhihao Cheng from comment #0) > Process systemd can take long period high cpu usage during releasing task, > which can be reproduced by following steps: > 1. gcc -o aa a.c > 2. ./run.sh # Termial 1 > 3. ./access.sh # Termial 2, after run.sh finish > 4. time killall -wq aa > real 4m40.946s user 0m0.010s sys 0m0.052s > > $ top # during killall > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 1 root 20 0 73152 8144 6348 S 99.7 0.0 0:22.56 systemd > > 5117 root 20 0 145096 1688 1448 R 99.7 0.0 0:04.86 ps
Created attachment 301081 [details] a.c
Created attachment 301082 [details] access.sh
Created attachment 301083 [details] run.sh