Skip to content

Commit f8c15c4

Browse files
authored
[Bugfix] Fix example disagg_example_p2p_nccl_xpyd.sh zombie process (#21437)
Signed-off-by: David Chen <[email protected]>
1 parent aa08a95 commit f8c15c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/online_serving/disaggregated_serving_p2p_nccl_xpyd/disagg_example_p2p_nccl_xpyd.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ ensure_python_library_installed() {
9393
cleanup() {
9494
echo "Stopping everything…"
9595
trap - INT TERM # prevent re-entrancy
96+
pkill -9 -f "disagg_proxy_p2p_nccl_xpyd.py"
9697
kill -- -$$ # negative PID == "this whole process-group"
9798
wait # reap children so we don't leave zombies
9899
exit 0

0 commit comments

Comments
 (0)