镜像启动失败,报错can‘t start new thread

提问 1 571
lance
lance LV2 2023年9月22日 15:18 编辑
<p id="descriptionP"><p>通过engine版本1.3.1 提供的源码,生成docker镜像,<br></p><p>使用命令<span ,helvetica,"pingfang="" sc","microsoft="" yahei","source="" han="" sans="" sc","noto="" cjk="" sc","wenquanyi="" micro="" hei",sans-serif'="" style="text-indent: 2em; font-size: 11pt; font-weight: bold; color: rgb(51, 51, 51); letter-spacing: 0pt; vertical-align: baseline;">docker&nbsp;run&nbsp;-it&nbsp;-v&nbsp;/你的引擎代码绝对</span><span ,helvetica,"pingfang="" sc","microsoft="" yahei","source="" han="" sans="" sc","noto="" cjk="" sc","wenquanyi="" micro="" hei",sans-serif'="" style="text-indent: 2em; font-size: 11pt; font-weight: bold; color: rgb(51, 51, 51); letter-spacing: 0pt; vertical-align: baseline;">路径</span><span ,helvetica,"pingfang="" sc","microsoft="" yahei","source="" han="" sans="" sc","noto="" cjk="" sc","wenquanyi="" micro="" hei",sans-serif'="" style="text-indent: 2em; font-size: 11pt; font-weight: bold; color: rgb(51, 51, 51); letter-spacing: 0pt; vertical-align: baseline;">/config:/liuma/config&nbsp;-v&nbsp;/你的引擎代码</span><span ,helvetica,"pingfang="" sc","microsoft="" yahei","source="" han="" sans="" sc","noto="" cjk="" sc","wenquanyi="" micro="" hei",sans-serif'="" style="text-indent: 2em; font-size: 11pt; font-weight: bold; color: rgb(51, 51, 51); letter-spacing: 0pt; vertical-align: baseline;">绝对路径</span><span ,helvetica,"pingfang="" sc","microsoft="" yahei","source="" han="" sans="" sc","noto="" cjk="" sc","wenquanyi="" micro="" hei",sans-serif'="" style="text-indent: 2em; font-size: 11pt; font-weight: bold; color: rgb(51, 51, 51); letter-spacing: 0pt; vertical-align: baseline;">/log:/liuma/log&nbsp;-d&nbsp;engine:1.0</span></p><p><span ,helvetica,"pingfang="" sc","microsoft="" yahei","source="" han="" sans="" sc","noto="" cjk="" sc","wenquanyi="" micro="" hei",sans-serif'="" style="text-indent: 2em; font-size: 11pt; font-weight: bold; color: rgb(51, 51, 51); letter-spacing: 0pt; vertical-align: baseline;">启动容器,容器显示exited状态,并且报错</span>can‘t start new thread如下图</p><p>检查了宿主机启动账号的文件打开数量限制已经放开,ulimit -n 102400</p><p>这是什么原因?如何解决呢?</p><div tdoc-="" inner_data_type="webData"></div><p><img src="http://talk-cdn.liumatest.cn/cbd447a6-74fd-4fa7-b460-1663ab65eb52.jpeg" style="max-width:100%;"><br></p><p><br></p></p><p><br></p>
收藏(0)  分享
相关标签: 提问
注意:本文归作者所有,未经作者允许,不得转载
1个回复
  • Chras-fu
    2023年9月22日 15:57
    你的机器是不是Python进程或者容器起太多了,这个报错是没资源了
    0 0