Tiny Core Base > TCB Bugs

Pick fastest mirror hang

(1/2) > >>

neonix:
When I choose pick fastest mirror in appsbrowser it can freezee forever, if one of mirrors don't responding.
There should be timeout mechanism in code of mirror picker. Does wget have timeout mechanism?

curaga:
There is. Wget has one type of timeout by itself and another we patch in.

neonix:

--- Quote from: curaga on June 21, 2024, 09:16:00 AM ---There is. Wget has one type of timeout by itself and another we patch in.

--- End quote ---

Google says that default wget timeout is 900 seconds.
Sometimes wget can freezee. Does mirrorpicker couldn't have its own timeout 120 second or SIGKIL?.

curaga:
Our patch sets the timeout to 10 sec. If you can reproduce this issue, maybe you can find out why wget hangs for this specific url, and we can fix it in wget. "ps aux" would show which wget is still alive.

CardealRusso:
I've experienced this kind of "freeze" with wget, both on linux and windows.

My suspicion is that, momentarily, your connection to the server becomes absurdly slow, a few bytes/s? which theoretically shouldn't trigger the timeout.

Navigation

[0] Message Index

[#] Next page

Go to full version