-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Correctly apply fix for high ulimit #2192
Conversation
Commit c706217 changed this logic so that it no longer works correctly: * `-SV` modified virtual memory, not file descriptors * The if check doesn't take the current ulimit into consideration, though it succeeds anyways
PR Description updated to latest commit (d7506b8)
|
PR Review
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
Thank you @Earlopain for the explanation and fix |
User description
Description
Commit c706217 changed the ulimit workaround so that it no longer works correctly:
-Sv
modifies virtual memory, not file descriptorsMotivation and Context
Should fix #2154. I myself am again able to connect to vnc.
Types of changes
Checklist
Type
bug_fix
Description
start-novnc.sh
andstart-vnc.sh
scripts.ulimit -n
for setting the new limit, replacing the incorrectulimit -Sv
.Changes walkthrough
start-novnc.sh
Fix File Descriptor Limit Update in start-novnc.sh
NodeBase/start-novnc.sh
a new or existing high limit.
ulimit -n
) and adjusted thecondition to check the current limit.
limit.
start-vnc.sh
Correct File Descriptor Limit Adjustment in start-vnc.sh
NodeBase/start-vnc.sh
current is too high or a custom limit is specified.
ulimit
command to correctly modify the file descriptorlimit.
limit update.