Обсуждение: gitweb not working too well

Поиск
Список
Период
Сортировка

gitweb not working too well

От
Tom Lane
Дата:
I've been getting a lot of Varnish "Error 503 Backend fetch failed"
from https://git.postgresql.org/gitweb/ sub-pages yesterday and
today.  Is anybody looking into that?

            regards, tom lane


Re: gitweb not working too well

От
Magnus Hagander
Дата:

On Wed, May 23, 2018 at 5:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
I've been getting a lot of Varnish "Error 503 Backend fetch failed"
from https://git.postgresql.org/gitweb/ sub-pages yesterday and
today.  Is anybody looking into that?

I don't think so. I haven't seen any myself, and I don't think our monitoring probes have picked them up.

We do see a significantly higher load during "US daytime", so I wonder if the machine is simply getting overloaded (gitweb is insanely resouce-consuming).

Have you seen any pattern to when it's happening? 

--

Re: gitweb not working too well

От
Adrian Klaver
Дата:
On 05/23/2018 08:28 AM, Magnus Hagander wrote:
> 
> On Wed, May 23, 2018 at 5:05 PM, Tom Lane <tgl@sss.pgh.pa.us 
> <mailto:tgl@sss.pgh.pa.us>> wrote:
> 
>     I've been getting a lot of Varnish "Error 503 Backend fetch failed"
>     from https://git.postgresql.org/gitweb/
>     <https://git.postgresql.org/gitweb/> sub-pages yesterday and
>     today.  Is anybody looking into that?
> 
> 
> I don't think so. I haven't seen any myself, and I don't think our 
> monitoring probes have picked them up.

I see it from here Washington state USA. This was about 20 minutes ago, 
currently I am getting through.

> 
> We do see a significantly higher load during "US daytime", so I wonder 
> if the machine is simply getting overloaded (gitweb is insanely 
> resouce-consuming).
> 
> Have you seen any pattern to when it's happening?
> 
> -- 
>   Magnus Hagander
>   Me: https://www.hagander.net/ <http://www.hagander.net/>
>   Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


Re: gitweb not working too well

От
Tom Lane
Дата:
Magnus Hagander <magnus@hagander.net> writes:
> On Wed, May 23, 2018 at 5:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I've been getting a lot of Varnish "Error 503 Backend fetch failed"
>> from https://git.postgresql.org/gitweb/ sub-pages yesterday and
>> today.  Is anybody looking into that?

> Have you seen any pattern to when it's happening?

Not particularly.  When the problem occurs, it seems to persist for
awhile (several minutes at least), but beyond that I can't think of
anything.

            regards, tom lane


Re: gitweb not working too well

От
Magnus Hagander
Дата:
On Wed, May 23, 2018 at 5:33 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Magnus Hagander <magnus@hagander.net> writes:
> On Wed, May 23, 2018 at 5:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I've been getting a lot of Varnish "Error 503 Backend fetch failed"
>> from https://git.postgresql.org/gitweb/ sub-pages yesterday and
>> today.  Is anybody looking into that?

> Have you seen any pattern to when it's happening?

Not particularly.  When the problem occurs, it seems to persist for
awhile (several minutes at least), but beyond that I can't think of
anything.

I think this may simply be the result of overload. We currently limit the system to two concurrent cache misses to gitweb, and while they are still running everything else gets put in a backlog. We time them out fairly aggressively, but given the performance of gitweb.

I'm going to give that VM some extra resources and restart it -- let's see if that helps a bit. 

--