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
When LensKit is working in parallel (e.g. batch.recommend), and the OOM killer takes out a worker, the parent LensKit process will (sometimes) hang instead of terminating.
We should detect this case and abort the entire evaluation if the pool breaks down.
The text was updated successfully, but these errors were encountered:
I have tried to reproduce this with processes that invoke os.kill(os.getpid(), 9), and the parent process terminates correctly.
OOM-induced deadlocks in Python multiprocessing seem to be one of the bugs fixed in concurrent.futures.ProcessPoolExecutor in Python 3.7 and newer, and we saw this on Python 3.8.
When LensKit is working in parallel (e.g.
batch.recommend
), and the OOM killer takes out a worker, the parent LensKit process will (sometimes) hang instead of terminating.We should detect this case and abort the entire evaluation if the pool breaks down.
The text was updated successfully, but these errors were encountered: