Reflector not updating mirrorlist anymore?

I have updated to the last version of reflector
but it’s not creating a new mirrolist anymore
it’s just stuck
has anyone tried the new version?

Yes, something (IMHO) is not right, it runs, but is slow. Really slow.

1 Like
$ reflector -c Germany -c Poland -f 15 -p https -a 2
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector -c Germany -c Poland -f 15 -p https -a 2
# When:       2020-12-05 12:16:29 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2020-12-05 12:15:58 UTC
# Last Check: 2020-12-05 11:06:06 UTC

Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch
Server = https://mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.fsrv.services/archlinux/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
Server = https://mirror.satis-faction.de/archlinux/$repo/os/$arch
Server = https://phinau.de/arch/$repo/os/$arch
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://mirror.bethselamin.de/$repo/os/$arch
Server = https://arch.jensgutermuth.de/$repo/os/$arch
Server = https://arch.unixpeople.org/$repo/os/$arch
Server = https://mirror.23media.com/archlinux/$repo/os/$arch
Server = https://mirror.autisten.club/archlinux/$repo/os/$arch
Server = https://mirror.kumi.systems/archlinux/$repo/os/$arch
Server = https://mirror.gnomus.de/$repo/os/$arch

is working fine here

@joekamprad If I try your command it just hangs:

reflector -c Germany -c Poland -f 15 -p https -a 2

33 seconds no output.

sudo reflector --verbose --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
Alias tip: _ reflector --verbose --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
[2020-12-05 12:23:01] INFO: rating 10 mirror(s) by download speed
[2020-12-05 12:23:01] INFO: Server                                               Rate       Time
[2020-12-05 12:23:04] INFO: http://arch.mirror.square-r00t.net/         1893.96 KiB/s     2.81 s
[2020-12-05 12:23:07] INFO: https://arch.mirror.square-r00t.net/        2040.47 KiB/s     2.61 s
[2020-12-05 12:23:11] INFO: rsync://arch.mirror.square-r00t.net/arch/   1624.39 KiB/s     3.28 s
[2020-12-05 12:23:13] INFO: http://mirror.f4st.host/archlinux/          2455.02 KiB/s     2.17 s
[2020-12-05 12:23:14] INFO: https://mirror.f4st.host/archlinux/         3895.63 KiB/s     1.37 s
[2020-12-05 12:23:18] INFO: rsync://mirror.f4st.host/archlinux/         1438.13 KiB/s     3.70 s
[2020-12-05 12:23:28] INFO: http://mirror.lty.me/archlinux/              574.24 KiB/s     9.27 s
[2020-12-05 12:23:34] INFO: https://mirror.lty.me/archlinux/            1036.11 KiB/s     5.14 s
[2020-12-05 12:23:41] INFO: rsync://mirror.lty.me/archlinux/             717.83 KiB/s     7.42 s
[2020-12-05 12:23:42] INFO: http://ftp.sh.cvut.cz/arch/                 3886.15 KiB/s     1.37 s

43 seconds, slower than previouse version.

Old version - just downgraded:

sudo reflector --verbose --latest 10 --sort rate --save   0.18s user 0.04s system 6% cpu 3.374 total
1 Like

reflector -c Germany -f 1 -p https -a 2 4,49s user 0,99s system 17% cpu 31,152 total
i see … it is slow indeed…

our reflector-simple tool needs one Minute to get 10 mirrors, but still not that bad… it is not hanging i see traffic running on processing.

Your command actually finishes in 52 seconds :smiley: I was impatient.

Think I will stick with the September version.

September version - your command takes 2.4 seconds :rofl:

Reflector dev has very recently changed the way ranking is done. Looks like the reason for being slower now.
See the changelog at https://xyne.archlinux.ca/projects/reflector/

1 Like

:see_no_evil:
sorry… :upside_down_face:
it worked now, it takes just a lot more time than the previous version