Skip to content

Pacoloco causes 10s lag during system upgrades #128

@srcreigh

Description

@srcreigh

Pacoloco seems to cause a 10s long lag during system upgrades. With pacoloco as the mirror, sudo pacman -Syu hangs for 10s during the "Synchronizing package databases..." step.

pacman debug logs indicating the problem is related to sig files:

:: Synchronizing package databases...

<pause for 10s>

...

debug: failed retrieving file 'core.db.sig' from my-pacoloco-server : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
debug: core.db.sig: no more servers to retry
debug: extra.db.sig: curl returned result 28 from transfer
debug: failed retrieving file 'extra.db.sig' from my-pacoloco-server : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
debug: extra.db.sig: no more servers to retry
debug: curl_download_internal return code is 0

I notice that pacoloco hangs indefinitely when the db sig files are requested of it. That would seem to be causing the lag issue. By comparison a few mirrors that I tried gave quick 404 responses

Pacoloco:

$ curl https://my-pacoloco-server/repo/archlinux/extra/os/x86_64/extra.db.sig > extra.db.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:17 --:--:--     0

Other mirrors:

$ curl https://mirrors.pablonara.com/archlinux/extra/os/x86_64/extra.db.sig
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions