Skip to content
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

Open
Michaelxu2022 opened this issue Mar 28, 2024 · 6 comments
Labels
kind/bug Something isn't working

Comments

@Michaelxu2022
Copy link

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

- Sealos version:4.3.7
- Docker version:
- Kubernetes version:v1.27.7
- Operating system: centos7.9
- Runtime environment: 8c16g 200G disk
- Cluster size:3 master, 3 node
- Additional information:

Additional information

No response

@Michaelxu2022 Michaelxu2022 added the kind/bug Something isn't working label Mar 28, 2024
@sealos-ci-robot 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
@Michaelxu2022
Copy link
Author

没人处理吗?

@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


No one handles it?

@bxy4543
Copy link
Member

bxy4543 commented Apr 10, 2024

你使用的云服务器吗?
参考这个问题帮助

@Michaelxu2022
Copy link
Author

Michaelxu2022 commented Apr 10, 2024 via email

@Michaelxu2022
Copy link
Author

Michaelxu2022 commented Apr 20, 2024

请问下saelos 在代码里面哪定义的1048476呢?我临时改成fs.nr_open = 1048576解决了

@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


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
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants