View previous topic :: View next topic |
Author |
Message |
gentoo_ram Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 25 Oct 2007 Posts: 518 Location: San Diego, California USA
|
Posted: Fri Feb 14, 2025 12:20 am Post subject: How to deal with distcc task time limit? |
|
|
Been compiling KDE and the Plasma workspace for my RPi 5. There are a couple glitches, but mostly it's working. I find it pretty awesome given the complexity of the environment.
I have 2 RPi 5's and a RPi 4 so I've used distcc to help with compiling which mostly works. But there are a couple packages that contain complex C++ files to compile. I've noticed there seems to be a limit of 5 minutes that each distcc compile task can take. If the compile operation doesn't complete in 5 minutes the job is killed and re-distributed to another node. The problem is that some single compile operations in some packages takes more than five minutes to complete on a RPi 5. I'm forced to turn off the portage distcc feature to compile those packages or the build will never complete.
With distcc turned off the build completes. I've seen one compile operation take as much as 12 minutes for one file! I've Googled but haven't seen anything about this apparent task time limit. Before I start searching through source code, does anyone know anything about how to change this limit to something higher? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sublogic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/92700334162390783722aa.png)
Joined: 21 Mar 2022 Posts: 312 Location: Pennsylvania, USA
|
Posted: Fri Feb 14, 2025 1:00 am Post subject: |
|
|
from man distcc: Quote: | TIMEOUTS
Both the distcc client and server impose timeouts on transfer of data
across the network. This is intended to detect hosts which are down or
unreachable, and to prevent compiles hanging indefinitely if a server is
disconnected while in use. If a client-side timeout expires, the job
will be re-run locally.
The transfer timeout is not configurable at present. The timeout that
detects stale distributed job is configurable via DISTCC_IO_TIMEOUT en‐
vironment variable. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoo_ram Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 25 Oct 2007 Posts: 518 Location: San Diego, California USA
|
Posted: Fri Feb 14, 2025 7:09 pm Post subject: |
|
|
Interesting. Doesn't quite seem like the same issue but this lever might end up having the same effect. Thanks for the idea. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|