简体   繁体   English

分布式生成冰淇淋失败资源暂时不可用

[英]Distributed Build Icecream failed Resource temporarily unavailable

We are using icecream github : distributed build (like distcc) for compiling our c++ code among several machines. 我们正在使用icecream github :分布式构建(如distcc)在几台机器之间编译我们的c ++代码。

However, we frequently encounter exceptions: 但是,我们经常遇到例外:

ICECC[16186] 18:57:54: write of source chunk to host 192.168.168.82
ICECC[16186] 18:57:54: failed  Resource temporarily unavailable
ICECC[16186] 18:57:54: got exception 15 (192.168.168.82)

After failing to trying to pass jobs to all the machines, local machine is forced to compile this job itself. 在尝试将作业传递给所有计算机失败后,本地计算机被迫自行编译此作业。

Does anyone try icc before and know how to solve this issue (maybe in the source code)? 有没有人尝试过icc并知道如何解决此问题(也许在源代码中)?

Thanks, 谢谢,

How many tasks do you allow make to distribute? 多少任务是否允许make分发? We usually saw that kind of behaviour if we did make -j , flooding the scheduler with jobs and overstrain it. 如果我们make -j ,通常会看到这种行为, make -j工作充满调度程序并make -j过度紧张。

If you do the same, try calling make -j$NUM_CORES_IN_NETWORK . 如果执行相同的操作,请尝试调用make -j$NUM_CORES_IN_NETWORK

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM