adamant-kite-43734
09/29/2025, 7:39 AMbrainy-kilobyte-33711
09/29/2025, 7:47 AMcreamy-pencil-82913
09/29/2025, 7:58 AMmodern-continent-27955
12/09/2025, 11:16 AMrke2-killall.sh is that it's sometimes too slow for my environment's needs. So far I've seen it run for up to 20-30 seconds and I'm looking for a faster ungraceful way to cleanup the host for some scenarios. AFAICT the majority of the time is spent on killtree .
1. Should I be concerned about performing SIGKILL on kubepods.slice , before running rke2-killall.sh ?
2. Should I be concerned about running rke2-server/agent.service under a new slice ("`rke.slice`"), and also use SIGKILL for it? AFAICT killing just that slice without killing kubepods.slice would break the pstree expected by rke2-killall.sh (processes like etcd which are childs of containerd-shim and will not be discovered by the script)
Thanks!creamy-pencil-82913
12/09/2025, 4:51 PMmodern-continent-27955
12/10/2025, 8:25 AMcreamy-pencil-82913
12/10/2025, 8:38 AMmodern-continent-27955
12/10/2025, 9:11 AMkilltree can be done faster, maybe it's the fact that pstree it's recursive.modern-continent-27955
12/10/2025, 9:12 AMcreamy-pencil-82913
12/10/2025, 9:39 AMcreamy-pencil-82913
12/10/2025, 9:39 AMmodern-continent-27955
12/10/2025, 9:41 AMpstree will miss processes but from my experiments this isn't the case.
Thank you!