Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2021 17:29:21 +0100
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg update timeout
Message-ID:  <X/NCYQVQLvepz5UH@io.chezmoi.fr>
In-Reply-To: <74c7fef5-aaef-79a9-8e1c-e6e86ffba0fa@netfence.it>
References:  <X/MxJM9yao3TFqTN@io.chezmoi.fr> <4ed8211e-146d-aaca-2b74-cf8469c33d87@netfence.it> <X/M54RjABpQ3JymY@io.chezmoi.fr> <74c7fef5-aaef-79a9-8e1c-e6e86ffba0fa@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 04/01/2021 à 17:09:02+0100, Andrea Venturoli a écrit
>

Hi,

>
> I've got:
>
> % cd /usr/local/etc/
> % diff pkg.conf.sample pkg.conf
> 41c41
> < #FETCH_TIMEOUT = 30;
> ---
> > FETCH_TIMEOUT = 300;
>

Lots of thanks.

I think I find out the problem.

If the server a reachable on the IP level (like nginx/apache are down) the
FETCH_TIMEOUT and FETCH_RETRY work fine.

If the server are just down (poweroff) the FETCH_TIMEOUT and FETCH_RETRY
not working.

I will create a issue.

Regards
--
Albert SHIH
Observatoire de Paris
xmpp: jas@obspm.fr
Heure local/Local time:
Mon Jan 4 05:26:39 PM CET 2021



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X/NCYQVQLvepz5UH>