-
Notifications
You must be signed in to change notification settings - Fork 797
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
open file descriptor limits not updating or being overridden #1576
Comments
Thanks for reporting the issue. Most of the limits are not currently supported, but we are tracking the work. Please give us feedback for this scenario on uservoice so we can prioritize - https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/category/161892-bash. |
So I just ran into this today as well. I found that with those settings, I could do
and for that session the ulimit would be set according to limits.conf I don't want to have to do that all the time though... |
Starting a session with For example, EDIT: Lol, in fact I can set the |
@ddumontatibm - Thanks for your post. Can you please describe your scenario that is blocked by this? Also, as per @stehufntdev, please open a user voice ticket if you would like us to prioritize it. |
@sunilmut Sure. I'm using bash on windows to try to build a project with node and webpack. There are many file that are opened during that process. Even with my workaround to set limits in conf files and use su, I was unable to complete the build due to file limit. |
any processing ? |
@stehufntdev that link no longer works, could you update on the status of this? Its related to #633. |
I just found a "better" workaround. We can use EG:
Then change it
And "reload" the shell
Verify
To make it permanent I added |
@therealkenc if I run |
That outputs the limit of a different shell (with a different Assuming setting the limit in
Some kind of placeholder feature request to make the default |
@therealkenc almost 2 years after the last message on this thread. I am still struggling to change ulimit, I have tried several options. Only thing that seems to work is following @pecigonzalo |
Windows Version:
Microsoft Windows [Version 10.0.14393]
Appending
session required pam_limits.so
to the/etc/pam.d/common-session
and/etc/pam.d/common-session-noninteractive
files, and then updating the/etc/security/limits.conf
by appending:and restarting Windows, still does not actually update the
ulimit -n
value (orulimit -Hn
). It is stuck at2048
and I am wondering if it can even be changed or if it is being overridden by some process manager, script, or the like?The text was updated successfully, but these errors were encountered: