# Why is the update of the registries so slow?

**URL:** <https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659>\
**Category:** General Usage\
**Created:** [September 11, 2019, 6:24pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659 "2019-09-11T18:24:32Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [April 30, 2020, 4:07pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/21 "2020-04-30T16:07:36Z")

</div>

I did this but still the fetching takes about 1 min.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [April 30, 2020, 4:16pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/22 "2020-04-30T16:16:14Z")

</div>

On a slowish laptop, with Wi-Fi connection, Windows 10: Full registry after a removal of the entire `.julia` folder takes 2 1/2 minutes.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [April 30, 2020, 4:22pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/23 "2020-04-30T16:22:53Z")

</div>

Try with Windows Defender disabled.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [April 30, 2020, 4:26pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/24 "2020-04-30T16:26:11Z")

</div>

> [@Why is the update of the registries so slow?](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/13):
>
> Turning off antivirus software (not necessarily advisable), resulted in a speedup of around 3 (16 seconds compared to 46 seconds originally). I suspect there is an additional speedup that might be gained by turning off indexing (the Windows indexer is running towards the end of the instantiation).

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [June 19, 2021, 7:40pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/25 "2021-06-19T19:40:46Z")

</div>

I’m doing package updates on Debian Linux using the default Debian packages (julia 1.5.3) behind a proxy and it’s saying

```julia
   Updating registry at `~/.julia/registries/General` 

```

For about 10 minutes so far. This is on a gigabit fiber connection.  
Then all of a sudden it says:

```julia
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
    Fetching: [========================================>] 100.0 %

```

that bar flew across. clearly it’s just hanging for some dumb reason like a timeout not because of anything real.

Now it’s hanging some more.

Anyone with behavior like this?

(note: My home directory is on an NFS4 server running on a glusterfs cluster)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [June 19, 2021, 7:46pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/26 "2021-06-19T19:46:58Z")

</div>

First of all, do not use the default debian packages but the latest stable release from [julialang.org](http://julialang.org) .  
Easy to install:

```bash
bash -ci "$(curl -fsSL https://raw.githubusercontent.com/abelsiqueira/jill/master/jill.sh)"

```

Secondly, check the server status:  
[https://status.julialang.org](https://status.julialang.org)

You could try a different server.

But if you are behind a proxy AND on an nfs server, both of it could cause problems where I cannot help you.

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [June 19, 2021, 7:47pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/27 "2021-06-19T19:47:34Z")

</div>

I’ll start with the latest julialang version and see where that gets me.

btw [https://status.julialang.org](https://status.julialang.org) times out, “taking too long to respond” so maybe that’s the issue.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [June 19, 2021, 8:14pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/28 "2021-06-19T20:14:00Z")

</div>

Perhaps [julialang.org](http://julialang.org) is blocked by your proxy. Ask your admin. Or just use your phone to get internet…

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [June 19, 2021, 8:19pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/29 "2021-06-19T20:19:27Z")

</div>

I am the admin, and no it’s not blocked. It came through eventually, but apparently it’s intermittent for me.

This bar graph seems to indicate some issues recently:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/1/f1a8412f0ded37f94b81affc54ccff857383a9f7.png)

Perhaps for some reason I’m getting connected to eu-central instead of us-west?

Oh us-west also shows issues:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/c/d/cd5bf2174a5f5eb5c51459dd138762dec6495c71.png)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [June 19, 2021, 8:22pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/30 "2021-06-19T20:22:38Z")

</div>

Alternatively set it so a different Pkg Server, e.g.

```julia
export JULIA_PKG_SERVER=us-east.pkg.julialang.org

```

in the shell, or

```julia
ENV["JULIA_PKG_SERVER"] = "us-east.pkg.julialang.org"

```

from within Julia.

Ok, if all of them have problems you can only complain here in the forum and wait until the problems are fixed…

---

<div class="post-metadata">

**Author:** ![zestyzapus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zestyzapus/32/26336_2.png) [@zestyzapus](https://discourse.julialang.org/u/zestyzapus)\
**Post date:** [June 25, 2021, 5:57am UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/31 "2021-06-25T05:57:04Z")

</div>

The time is the same here, although I am using JuliaPro\_v1.5.4-1 on Windows and was adding a package. The first thing Julia did was to spend 11 min updating General. Then it took only a few seconds updating JuliaComputingRegistry and the rest of stuff. This was not the first time it took about 10 min updating General.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [June 25, 2021, 7:29am UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/32 "2021-06-25T07:29:35Z")

</div>

Might be a Windows Defender thing: [Pkg fetching takes very long at 99.9% @ v1.6 (Win 10) - #7 by carstenbauer](https://discourse.julialang.org/t/pkg-fetching-takes-very-long-at-99-9-v1-6-win-10/56499/7)

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [June 25, 2021, 7:40am UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/33 "2021-06-25T07:40:36Z")

</div>

I’ve been seeing the same thing on Linux over the last days though (although as usual worse on Windows).

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [June 25, 2021, 7:51am UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/34 "2021-06-25T07:51:03Z")

</div>

If it’s happening on Linux as well, it sounds like a network/server issue, not the Windows problem that unpacking a tarball is ungodly slow. Fortunately, the tarball unpacking issue should be a thing of the past on all platforms with the 1.7 release since we’re now leaving the registry tarballs as-is on disk instead of unpacking them: [https://github.com/JuliaLang/Pkg.jl/pull/2431](https://github.com/JuliaLang/Pkg.jl/pull/2431).

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [June 25, 2021, 7:58am UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/35 "2021-06-25T07:58:50Z")

</div>

Just tried again on 1.6.1 on a Manjaro machine, again got stuck - this time on 100% rather than 99.9% - for about 4 minutes. My internet is a bit slow this morning but still clocks in at about 15MB/s, which I would have thought should be well enough?

How fast should I expect an update of the general registry to be assuming everything works normally (and I’m not on Windows)?

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [June 25, 2021, 8:01am UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/36 "2021-06-25T08:01:41Z")

</div>

Would you be able to try the [1.7 beta](https://discourse.julialang.org/t/julia-v1-7-0-beta2-is-now-available/63408) or compile the release-1.6 branch form source? There are some fixes to Downloads that should be included in both of those and it would be interesting to see if that improves things for you.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [June 25, 2021, 8:49am UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/37 "2021-06-25T08:49:19Z")

</div>

1.7beta seemed a bit faster, although still got stuck for a noticeable time on 100% but a marked improvement!

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [June 25, 2021, 2:07pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/38 "2021-06-25T14:07:57Z")

</div>

The problem I was having was that the us-west package server had a problem with it’s IPv6 connectivity. Perhaps others are having similar issues on other PKG servers?

See this thread [[resolved] Problem with the IPv6 connectivity of the `us-west` Pkg server](https://discourse.julialang.org/t/resolved-problem-with-the-ipv6-connectivity-of-the-us-west-pkg-server/63196)

---

<div class="post-metadata">

**Author:** ![jbcaillau](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jbcaillau/32/206767_2.png) [@jbcaillau](https://discourse.julialang.org/u/jbcaillau)\
**Post date:** [October 25, 2021, 8:36pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/39 "2021-10-25T20:36:04Z")

</div>

Hi, recurrent issue indeed. Often stuck on a linux computation server with \> Go connection. Painful.

---

<div class="post-metadata">

**Author:** ![ultrapoci](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ultrapoci/32/25356_2.png) [@ultrapoci](https://discourse.julialang.org/u/ultrapoci)\
**Post date:** [November 23, 2021, 7:22pm UTC](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659/40 "2021-11-23T19:22:14Z")

</div>

I’m having the same problem on Windows. Is there a list of package servers? I live in southern Europe. I’d like to try changing the server before trying anything else. (I have an almost 200mbs working conncection and I’m on the latest available version of Julia: 1.6.4)

[Previous page](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659.md?page=1)

[Next page](https://discourse.julialang.org/t/why-is-the-update-of-the-registries-so-slow/28659.md?page=3)
