You are not logged in.

#1 2021-07-25 10:36:28

mhdry
Member
From: Bonn
Registered: 2021-07-25
Posts: 3

[Solved] Mirrorlist Updater not responding

Unfortunately the Mirrorlist Updater https://www.archlinux32.org/mirrorlist/ has been unreachable for a couple of days now, it just shows HTTP status code

504 Gateway Time-out

Since I'm using this in a script, I'd like to ask whether this will be corrected in the near future? Or will this no longer be a thing due to the relatively small amount of mirror servers compared to ArchLinux?

Last edited by levi (2021-07-30 21:26:37)

Offline

#2 2021-07-25 13:24:22

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 952

Re: [Solved] Mirrorlist Updater not responding

Hmm, I note that page is linked from the front archlinux32 page, but I'll admit I've never used it and I don't know what it should look like.  I've only ever used the basic mirrors page (https://www.archlinux32.org/mirrors/) and the status page (https://www.archlinux32.org/mirrors/status/)


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2021-07-25 19:37:19

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 359
Website

Re: [Solved] Mirrorlist Updater not responding

mirrorlist.php does some rather huge database queries on historic mirror data IIRC..

Offline

#4 2021-07-25 19:38:32

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 359
Website

Re: [Solved] Mirrorlist Updater not responding

..that or a deadlock of sorts (because reducing the inspected history to 60 seconds also runs into a timeout) :-)

Offline

#5 2021-07-25 19:56:32

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 359
Website

Re: [Solved] Mirrorlist Updater not responding

Yeah, it also times out on build-list.php. Mysql queries take 10 times longer at least on www.archlinux32.org than on buildmaster.archlinux32.org.
I checked if 'mysql_upgrade -u root -p' had an effect on www.archlinux32.org, not really.

I see very high I/O in iotop on a query to mariadb. I suspect a I/O problem on the physical machine this virtual machine is running on..

Offline

#6 2021-07-26 08:29:34

mhdry
Member
From: Bonn
Registered: 2021-07-25
Posts: 3

Re: [Solved] Mirrorlist Updater not responding

levi wrote:

I've never used it and I don't know what it should look like.

It looks similar to the ArchLinux Mirrorlist Generator.

The big advantage is that mirrors can be selected based on geographic location (i.e. country) and protocol (http/https). Of course here on ArchLinux32 that's a rather small advantage due to the low amount of mirror servers. However I find these mirrorlist generators rather convenient as the only platform specific change is the URL itself.

What I'm doing in my script is to select the ten fastest mirror servers, the relevant part of that looks something like:

# ArchLinux (x86_64)
#ARCH_PLATFORM='https://archlinux.org/mirrorlist/?country=DE&country=BE&country=NL&country=LU&country=AT&country=CH&protocol=https'
# ArchLinux32 (i386)
ARCH_PLATFORM='https://archlinux32.org/mirrorlist/?country=de&country=fr&country=ch&country=pl&country=us&protocol=https'

# Detect fastest mirror servers
curl -s "$ARCH_PLATFORM" | sed -e 's/^#Server/Server/' -e '/^#/d' |  rankmirrors -n 10 - > /etc/pacman.d/mirrorlist

Offline

#7 2021-07-26 21:25:21

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 952

Re: [Solved] Mirrorlist Updater not responding

Oh right, I do that by editing my mirrorlist.pacnew when it gets put there by doing an upgrade.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#8 2021-07-30 11:55:16

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 359
Website

Re: [Solved] Mirrorlist Updater not responding

So, there were some caching directives missing in the mariadb installation on
archlinux32.org, resulting in absolutely non-performing database requests.. :-)

Should be ok now.

Offline

#9 2021-07-30 21:26:13

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 952

Re: [Solved] Mirrorlist Updater not responding

Looks good to me.  I'll mark this thread as [Solved].


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#10 2021-08-01 10:23:33

mhdry
Member
From: Bonn
Registered: 2021-07-25
Posts: 3

Re: [Solved] Mirrorlist Updater not responding

Yes, it works fine again, awesome! Thanks a lot.

Offline

Board footer

Powered by FluxBB