Track and display pids in spfs runtime info #1059
Labels
agenda item
Items to be brought up at the next dev meeting
SPI AOI
Area of interest for SPI
SPI-0.41
Is your feature request related to a problem? Please describe.
Sometimes we see a lot of
stopping
runtimes on a host when usingspfs runtime list
. Particularly on renderfam hosts that launch many subprocesses inside each /spfs runtime.spfs-monitor
is running for those runtimes, but the owner process and original /spfs mounstspawn process are not running (according tospfs runtime list
). But some other processes are still running in/using that /spfs mount.Unless you have root permissions and wade through the /proc/fs looking for the mounts you can't tell what processes are still keeping that /spfs alive.
Describe the solution you'd like
Have
spfs runtime list
, orspfs runtime info
, show which pid/s are still using a runtime's /spfs so we can see which processesspfs-monitor
and /spfs are waiting on and see what's keeping the mount active.Additional context
This probably involves keeping more pid info in the runtime and having
spfs-monitor
update it periodically as processes die/start. That needs some discusson and sanity checking.The text was updated successfully, but these errors were encountered: