You are not logged in.

#1 2022-02-20 14:23:25

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

[SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Hello,
So, as the title suggests, both of my package installers, pacman and yay got incredibly slow.
It worked fine about 2 days ago but yesterday there was a city-wide power outage, pc was off at that time so no corruption. But when the power was back i turned my pc on and did a pacman -Syu as i do every time i boot, but i was stunned to see a 120kbps download speed sad .
I have spent 3 hours trying to fix this issue, i tried using reflector a bunch of times but didnt work, rebooted my pc and router, didnt work. I do not know how to fix it nor what causes this hmm , i didnt tinker with the system settings before the problem.
Any help would be greatly appreciated!

Cheers, NewtonPL

Last edited by NewtonPL (2022-02-24 09:46:03)


Arch user for 2 years
Still a noob

Offline

#2 2022-02-20 14:34:54

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,852

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Could be an issue with network connections to your provider.

Try https://www.speedtest.net/ or the speedtest-cli package to verify what speed you get.

Welcome to archlinux forums

Last edited by Lone_Wolf (2022-02-20 14:35:14)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2022-02-20 14:55:20

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Thanks for the welcome,
Speedtest shows that the speed is download 85mb and upload is 10mb so its fine.
Before going to sleep i will unplug the 2 devices for the internet, the one for the internet and the other one for wifi (native polish so im sorry for the english tongue) and plug them in when i wake up


Arch user for 2 years
Still a noob

Offline

#4 2022-02-20 15:00:49

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

NewtonPL wrote:

i tried using reflector a bunch of times but didnt work

https://bbs.archlinux.org/viewtopic.php?id=57855


Jin, Jîyan, Azadî

Offline

#5 2022-02-20 15:11:47

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Sorry,
It generates a mirrorlist but it times out on every URL (<url> Download timed out after 5 second(s)) , i used sudo reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
i even tried making a mirrorlist manually but to no avail.
updated DB every mirrorlist change.


Arch user for 2 years
Still a noob

Offline

#6 2022-02-20 16:12:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Post the generated mirrorlist - and elaborate on "updated DB every mirrorlist change" because that's not an english sentence.

Offline

#7 2022-02-20 16:28:03

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

output of the command:

 [2022-02-20 17:21:10] WARNING: failed to rate http(s) download (https://de.arch.mirror.kescher.at/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-02-20 17:21:15] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-02-20 17:21:26] WARNING: failed to rate http(s) download (https://mirror.ubrco.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-02-20 17:21:31] WARNING: failed to rate http(s) download (https://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-02-20 17:21:37] WARNING: failed to rate http(s) download (https://phinau.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s). 

etc/pacman.d/mirrorlist

 ################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2022-02-20 16:21:37 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-02-20 16:21:04 UTC
# Last Check: 2022-02-20 16:11:29 UTC

Server = https://de.arch.mirror.kescher.at/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://phinau.de/arch/$repo/os/$arch 

and i meant i did sudo pacman -Syy (this is not a typo) after running reflector or after i changed the mirrorlist manually


Arch user for 2 years
Still a noob

Offline

#8 2022-02-20 17:16:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Top mirror performs fine for me.

wget -O /dev/null https://de.arch.mirror.kescher.at/community/os/x86_64/community.db

Offline

#9 2022-02-20 19:11:50

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Okay, so ill go to sleep soon, i will power off the two routers (one for internet connection, and one for sharing that connection using wifi) and turn them on in the morning tongue

oh and one more thing, i got an alert about a storm (again) so another power outage is likely, so i apologize if you won't hear from me within the next 24 hours sad


Arch user for 2 years
Still a noob

Offline

#10 2022-02-21 07:09:40

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Fixed the issue smile! Turns out the router malfunctioned after the power outage and it needed to be turned off for a couple hours lol
Strange fix, because the internet speed was good on speedtest, but it's better safe than sorry tongue


Arch user for 2 years
Still a noob

Offline

#11 2022-02-21 15:45:42

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Nevermind, the same problem just happened, speedtest shows normal speed though, tried Polish and German servers on reflector, but theyre slow like before, reflector times out like before too
Any ideas on what causes this?


Arch user for 2 years
Still a noob

Offline

#12 2022-02-21 15:51:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

"speedtest" is meaningless - if that's your ISP, you could just struggle w/ its routing down the road while your direct connection to the ISP is unharmed.
1st check the wget download above and maybe "tracepath de.arch.mirror.kescher.at" to see where it stalls (if)

Offline

#13 2022-02-21 17:13:00

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

seth wrote:

1st check the wget download above

output of wget:

 and maybe "tracepath de.arch.mirror.kescher.at" to see where it stalls (if)

5mbps looks okay hmm

seth wrote:

and maybe "tracepath de.arch.mirror.kescher.at" to see where it stalls (if)

output of tracepath

 1?: [LOCALHOST]                      pmtu 1500
 1:  _gateway                                              0.611ms 
 1:  _gateway                                              0.644ms 
 2:  no reply
 3:  (my ip).static.petrus.pl                             11.885ms 
 4:  war-b3-link.ip.twelve99.net                          22.722ms 
 5:  hbg-bb4-link.ip.twelve99.net                         44.099ms 
 6:  ddf-b2-link.ip.twelve99.net                          41.417ms 
 7:  contabo-svc072466-ic359931.ip.twelve99-cust.net      42.047ms 
 8:  unova.kescher.at                                     57.364ms reached
     Resume: pmtu 1500 hops 8 back 14 

not sure if that means anything, im a noob when it comes to networking tongue


Arch user for 2 years
Still a noob

Offline

#14 2022-02-21 21:00:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Seems the problem is intermittent?
Only question whether it's your intermittent problem or your ISPs intermittent problem.

What's the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

and please post a complete system journal covering a timing out update approach.

Offline

#15 2022-02-22 06:50:28

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

NewtonPL wrote:
seth wrote:

1st check the wget download above

output of wget:

 and maybe "tracepath de.arch.mirror.kescher.at" to see where it stalls (if)

5mbps looks okay hmm

i copied the wrong thing lol but it shown 5mb/s


Arch user for 2 years
Still a noob

Offline

#16 2022-02-22 08:04:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

wget actually reports MB/s (megabytes per second) but that's irrelevant - it doesn't time out.
Please provide the data I asked for in #14

Offline

#17 2022-02-23 10:32:50

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Im really sorry but i was busy and didnt use linux yesterday, but here's the thing

etc/systemd

 dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants 

journal is no use, because it works again. I'm pretty sure it's the ISPs fault


Arch user for 2 years
Still a noob

Offline

#18 2022-02-23 13:27:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

You can acces previous journals to inspect a boot when it didn't work "sudo journalctl -b -1" for the immediate predecessor.

Offline

#19 2022-02-23 14:53:42

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

so -2 for 2 boots back?


Arch user for 2 years
Still a noob

Offline

#20 2022-02-23 14:54:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Yup.

Offline

#21 2022-02-23 15:15:34

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

the whole journal? i guess not
what should i grep to search for the error


Arch user for 2 years
Still a noob

Offline

#22 2022-02-23 15:17:56

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Partial outputs don't help much, just post journalctl -b -2 to a paste service (like https://gist.github.com)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#23 2022-02-23 15:18:26

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

NewtonPL wrote:

the whole journal?

Yes, the whole thing.

what should i grep to search for the error

Don't filter out anything, that will just hide potentially useful information.
https://bbs.archlinux.org/viewtopic.php?id=57855


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#24 2022-02-23 15:21:36

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

ok so FYI i just tried to do a -Syu and its slow again, mirrorlist also times out:

[2022-02-23 16:19:36] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-02-23 16:19:42] WARNING: failed to rate http(s) download (https://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-02-23 16:19:47] WARNING: failed to rate http(s) download (https://mirror.chaoticum.net/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).

Arch user for 2 years
Still a noob

Offline

#25 2022-02-23 15:23:28

NewtonPL
Member
From: Poland
Registered: 2022-02-20
Posts: 79

Re: [SOLVED, ISP Problem]Pacman/Yay sluggish all of a sudden

Slithery wrote:
NewtonPL wrote:

the whole journal?

Yes, the whole thing.

Sorry but i'm a noob, any way to just get the whole thing instead of holding enter?

edit: horrible spelling

Last edited by NewtonPL (2022-02-23 15:24:00)


Arch user for 2 years
Still a noob

Offline

Board footer

Powered by FluxBB