Tiny Core Base > TCB Bugs

Pick fastest mirror hang

<< < (3/3)

Rich:
Hi curaga

--- Quote from: curaga on July 10, 2024, 09:08:18 AM ---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.
--- End quote ---
I was able to reproduce the issue with wget.tcz installed:

--- Code: ---tc@box:~$ ps aux | grep wget
14328 tc       wget -q -O /tmp/mp_smAXhK http://kambing.ui.ac.id/tinycorelinux//4.x/x86/tcz/info.lst.gz
14347 tc       wget -q -O /tmp/mp_ETecI2 http://mirror.epn.edu.ec/tinycorelinux//4.x/x86/tcz/info.lst.gz
--- End code ---

When I deleted /usr/local/bin/wget, mirrorpicker no longer appeared to freeze:

--- Code: ---tc@box:~$ time mirrorpicker
wget: 500 OOPS: tcp_wrappers is set to YES but no tcp wrapper support compiled in
wget: can't connect to remote host (152.19.134.43): Connection refused
wget: download timed out
wget: download timed out
real    0m 11.78s
user    0m 0.07s
sys     0m 0.07s
--- End code ---

I saw someone changed mirrorpicker to use the TC15 repos.
Maybe that change should include changing:

--- Code: ---wget -q -O ...
--- End code ---
to something like:

--- Code: ---busybox wget -q -O ...
--- End code ---

curaga:
Added. But the OP said they were using bb wget.

Rich:
Hi curaga
I went through 2 iterations to be certain:
GNU wget - mirrorpicker appeared to freeze.
Delete GNU wget symlink - mirrorpicker appeared fine.
Recreate GNU wget symlink - mirrorpicker appeared to freeze.
Delete GNU wget symlink - mirrorpicker appeared fine.
Recreate GNU wget symlink - mirrorpicker appeared to freeze.

It's possible the op was also having other network issues.

Navigation

[0] Message Index

[*] Previous page

Go to full version