[Q&A] Admin command remove_client during job running #2191
-
Python version (
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@yhwen can you check this ? |
Beta Was this translation helpful? Give feedback.
-
@jingyunc thanks for the question. Short answer to "is What remove_client did is just remove the reference from the server side, it is ONLY useful when the client is dead and server side want to remove the "cache" entry. However, there is another mechanism that can "Re-activate" the client, that is when the server side receives a heartbeat from the client, it will re-activate it. So that is what you observed, the log say client is removed for a short period of time, and then it re-activated. How to achieve your main goal, you can do this in the real world setup, use ps -aux | grep 'nvflare' and find the process id for one of the client site. |
Beta Was this translation helpful? Give feedback.
@jingyunc thanks for the question.
Short answer to "is
remove_client
the right command for that?": NoWhat remove_client did is just remove the reference from the server side, it is ONLY useful when the client is dead and server side want to remove the "cache" entry.
However, there is another mechanism that can "Re-activate" the client, that is when the server side receives a heartbeat from the client, it will re-activate it.
So that is what you observed, the log say client is removed for a short period of time, and then it re-activated.
How to achieve your main goal, you can do this in the real world setup, use ps -aux | grep 'nvflare' and find the process id for one of the client site.
…