分布式构建冰淇淋失败资源暂时不可用

时间:2021-05-30 18:53:13

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,

1 个解决方案

#1


0  

How many tasks do you allow make to distribute? We usually saw that kind of behaviour if we did make -j, flooding the scheduler with jobs and overstrain it.

您允许分发多少个任务?我们通常会看到这种行为,如果我们做了-j,使调度程序充满了工作并过度使用它。

If you do the same, try calling make -j$NUM_CORES_IN_NETWORK.

如果您这样做,请尝试调用make -j $ NUM_CORES_IN_NETWORK。

#1


0  

How many tasks do you allow make to distribute? We usually saw that kind of behaviour if we did make -j, flooding the scheduler with jobs and overstrain it.

您允许分发多少个任务?我们通常会看到这种行为,如果我们做了-j,使调度程序充满了工作并过度使用它。

If you do the same, try calling make -j$NUM_CORES_IN_NETWORK.

如果您这样做,请尝试调用make -j $ NUM_CORES_IN_NETWORK。