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

添加了'--ulimit nofile=10240:10240' #1149

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Conversation

zhangbo0
Copy link

docker部署过程中,会遇到报错“Error: The minimum number of file descriptors required to run this process is 10240 as per the "minfds" command-line argument or config file setting. The current environment will only allow you to open 10240 file descriptors. Either raise the number of usable file descriptors in your environment (see README.rst) or lower the minfds setting in the config file to allow the process to start.
For help, use /usr/local/bin/supervisord -h + ret=2

  • set +x
    [2024/07/23 18:01:27] [ERROR]: Deploy tca docker failed”

解决办法:需要扩充docker ulimit数而不是系统的ulimit
在/CodeAnalysis/scripts/deploy/tca_docker.sh中添加代码"--ulimit nofile=10240:10240"
如图所示
企业微信截图_1b6e1b00-d001-4e46-813a-7085930e3274

@zhang9w0v5 zhang9w0v5 merged commit 208d44b into Tencent:main Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants