You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Not monitoring the process tree, only the worker proccess #1949
When using subprocess, the memory usage is counted by the local scheduling system but not by distributed, this leads to 2 problems:
A) we can't monitor the processes from the Dashboard properly
B) distributed's handling of memory usage isn't brought into effect, and so the worker is killed by the scheduling system in some cases.
This could prove useful in some use cases I have with dask-jobqueue though, even if I'm not sure if distributed's handling of memory usage would be efficient here.
Activity
mrocklin commentedon May 1, 2018
Currently we use
psutil.Process().memory_info()to measure the memory use of each worker process. Is there something else that you would recommend?guillaumeeb commentedon Nov 12, 2018
Stack Overflow says we can watch all the children too, but this will probably leads to potential performance penalty: https://stackoverflow.com/questions/24494493/find-total-memory-used-by-python-process-and-all-its-children.
This could prove useful in some use cases I have with dask-jobqueue though, even if I'm not sure if distributed's handling of memory usage would be efficient here.
SimonBoothroyd commentedon Sep 12, 2019
+1 for this. If not as part of the
SystemMonitor, it would definitely be helpful to include it in theNannymonitoring code.