Skip to content

Add ulimit setting for sftp-server #1789

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

Closed
lkeller-synaptics opened this issue Sep 13, 2023 · 1 comment
Closed

Add ulimit setting for sftp-server #1789

lkeller-synaptics opened this issue Sep 13, 2023 · 1 comment

Comments

@lkeller-synaptics
Copy link

Description

As far as I can tell the sftp server for the sshfs mount type is currently started with the ulimit for file descriptors of the process starting lima (I was able to confirm this via colima only). On MacOSX 12 this is set by default to 256. When the guest host tries to open more than 256 file descriptors on a mounted volume the operation fails with an "Operation not permitted" error which is very confusing as the limits of the host are not attained.

It would be nice to have some explicit setting or a very high default setting of the ulimit of the sftp-server so that the ulimit of the guest applies and not the one of the host.

@vasileknik76
Copy link
Contributor

Perhaps this was fixed in #2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants