-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable OOM kill and/or include swap #201
Comments
When you say "killing on OOM", what behavior are you seeing?
What behavior would you like to see instead of observed behavior? |
Yes I'm talking about 1, fil try to detects OOM but ignore the swap space while doing so, which can be unwanted (at least I believe it should be configurable). Lines 58 to 68 in dd9ccb1
For this let available_bytes should be self.memory_info.get_available_memory() + swap free space.
|
I can try, but... both Linux and macOS have their own heuristics so the OS might kill things and then you get nothing. So in general I expect to be biased towards killing early. On the other hand, if your program would complete when run without Fil, killing early is definitely a bug. What OS are you on? Do you expect your program to complete without running out of memory when not using Fil? |
Given the OOM detection is a heuristic, and might always be wrong, the thing to do is probably add a |
Release 2021.7.0 is now out with this change; it should be up on PyPI within a few minutes, and on Conda-Forge by tomorrow, hopefully. |
I understand for the heuristic (well personally every server/laptop I had crawled for hours before doing on oom kill).
Yes it would have completed without fil, this is on a ubuntu 18.04 server. I can give you the fil logs if you need it, but basically I had 30GB ram, 98% used, and 60GB of swap nearly 100% free.
Awesome ! Thanks :) |
I was forced to yank the latest release due to #208 (the wheels are broken on some OSes in a way that wasn't caught by CI) so if you do new installs you will get older version for now until I get more tests and a bugfix out. If that's a problem let me know and I will post the wheels here for manual download. |
Release 2021.7.1 should be up on PyPI shortly. |
Hello, awesome tool !
Would it be possible to disable killing on OOM or include swap space in the calculation before killing ? with something like --ignore-oom and --oom-include-swap maybe ? Thanks :)
The text was updated successfully, but these errors were encountered: