-
Notifications
You must be signed in to change notification settings - Fork 131
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
Improve how open file limits & blocking threads are handled #513
Labels
enhancement
New feature or request
Comments
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 9, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
to allada/nativelink-fork
that referenced
this issue
Feb 11, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: TraceMachina#1288, TraceMachina#513, TraceMachina#1298, TraceMachina#527
allada
added a commit
that referenced
this issue
Feb 12, 2025
ResumableFileSlot became to difficult to manage, instead of managing resources this way, we use much higher DEFAULT_OPEN_FILE_PERMITS, set ulimit (when unix) and warn user if the limits are likely too low. Breaking: Removed idle_file_descriptor_timeout_millis from config. closes: #1288, #513, #1298, #527
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the number of blocking threads > the number of open files, we can encounter deadlocks. Currently we get around this issue by allowing the tokio runtime to spawn 10x the number of threads as there are background threads. A more proper solution is to refactor the way filesystem api works and have it interact with blocking threads more stable.
The text was updated successfully, but these errors were encountered: