Skip to content

Conversation

@jp-embedded
Copy link

@jp-embedded jp-embedded commented Aug 22, 2025

Several bugfixes:

Fix wrong logic in scheduling jobs fist-in-first-out
Logic was not working to take oldest jobs first (FIFO) which could make linker jobs pending for a very long time, eventually leading to a timeout.

Increase remote job timeout to 120 minutes in any case
For very big projcets with many linker jobs, jobs can be pending for a long time. Especially in combination with the bug above. The lower 40 minute timeout on non-full jobs is not really a useful timeout anyway. Its a long time anyway if the job really ends up hanging in this state.

Fix broken file locking
The job timeout desribed above leads to local compiling without iccecc using file locking instead. If exec() is not called from the forked subprocess these locks will be closed and not working. Leading to unlimited number of local jobs running. This also happends if icecc is used without the iceccd daemon running.

change default state of noRemote and acceptingInConnection
To prevent connections to servers until their state is known.

Revert logic for distributing some jobs to idle servers.
The replaced logic always evaluates to false.

Degrade 'no server found behind given hostname' to warning.
This can happend when a server disconnects.

postpone connection test for 5 minutes for lost reconnecting serves
To prevent scheduling jobs on unstable servers

Jan Pedersen added 3 commits August 22, 2025 12:32
- Increase remote job timeout to 120 minutes in any case
- Fix broken file locking
  connections until state is known

- Revert logic for distributing some jobs to idle servers. The replaced
  logic always evaluates to false.

- Degrade 'no server found behind given hostname' to warning. This can
  happend when a server disconnects.
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.

1 participant