Thanks. I’ve been staring at it for a while, and it’s still not obvious. I made a build with some further debugging output - can we repeat the same operation again?
export STDEADLOCKTIMEOUT=7200 export STTRACE=model
The log was good otherwise, i.e., enough. If you get the final panic trace when it runs out of fd:s, that might be helpful as well…
Mostly what it shows is many files being synced half way but never finished, and this should be limited to 2+64 open files (copiers+pullers) potentially times two for when reading/copying… It’s not clear how more files than this escape while still open.