-
Notifications
You must be signed in to change notification settings - Fork 2k
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
BUG: ssh cannot connect to sealos after running in centos7.9 environment. The saelos parameter nofile is configured too large. #4641
Labels
kind/bug
Something isn't working
Comments
sealos-ci-robot
changed the title
BUG: sealos 在centos7.9环境运行后ssh无法连接,saelos参数nofile配置过大问题
BUG: ssh cannot connect to sealos after running in centos7.9 environment. The saelos parameter nofile is configured too large.
Mar 28, 2024
没人处理吗? |
No one handles it? |
你使用的云服务器吗? |
[EXTERNAL EMAIL]
请看我截图,这个值1048576是saelos设置的。并非我改的。
…________________________________
From: Jiahui ***@***.***>
Sent: Wednesday, April 10, 2024 2:56:46 PM
To: labring/sealos ***@***.***>
Cc: 许亿_Michael ***@***.***>; Author ***@***.***>
Subject: Re: [labring/sealos] BUG: ssh cannot connect to sealos after running in centos7.9 environment. The saelos parameter nofile is configured too large. (Issue #4641)
Enflame Security NOTICE:
This email is an email from an enflame partner, please screen it carefully before opening attachments or external links.
此邮件为公司合作伙伴的邮件,请谨慎甄别后再打开附件或外部链接。
你使用的云服务器吗?
参考这个问题帮助<https://www.alibabacloud.com/help/en/ecs/could-not-set-limit-for-nofile-operation-not-permitted-is-displayed-when-you-log-on-to-an-ecs-instance-through-ssh>
―
Reply to this email directly, view it on GitHub<#4641 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A4GGHPPYRS337Y4A2XRD6KLY4TPC5AVCNFSM6AAAAABFM3Z6L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGY3DANJUGE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
请问下saelos 在代码里面哪定义的1048476呢?我临时改成fs.nr_open = 1048576解决了 |
May I ask where saelos defines 1048476 in the code? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sealos Version
v4.3.7
How to reproduce the bug?
1.安装干净的centos7.9系统 2. ssh 版本9.4,系统内核版本5.4
2.saelos run后,所有服务器节点ssh断开,无法再次连接。经调试发现系统报错Could not set limit for ‘nofile’: Operation not permitted
What is the expected behavior?
No response
What do you see instead?
No response
Operating environment
Additional information
No response
The text was updated successfully, but these errors were encountered: