Hi Tomas,

On Sat, Mar 04, 2023 at 12:43:21PM +0100, Tomas Vanek wrote:
> On 30/12/2022 21:42, Antonio Borneo wrote:
> > On Fri, Dec 30, 2022 at 8:36 PM Paul Fertser <fercer...@gmail.com> wrote:
> > > On Fri, Dec 30, 2022 at 07:56:40PM +0100, Antonio Borneo wrote:
> > > > I have just sent 4 new patches to gerrit, then opened one of them to
> > > > add a comment.
> > > > The page didn't open, and after some time the browser returned a white
> > > Did it feel like 5 minutes (300 seconds)? Or certainly less than that?
> > Much less, 1 minute, maximum 2.
> > 
> The review web continues to be unresponsive time to time, frequently enough
> to make me annoyed.

Oh, sorry to hear that, annoying major contributors is indeed bad :/

> Today I was getting 'Proxy error' or no response at all from 12:05 CET to
> 12:12 (11:05 UTC)
> There was no Jenkins job this time.
> What could be the problem?

I'm really puzzled about it.

See, everything was just normal until

review.openocd.org:443 xxx - - [04/Mar/2023:10:54:27 +0000] "GET 
/gitweb?p=openocd.git;a=blobdiff;f=README.OSX;h=979c64ba60944b507cffb3b9d4784ef4128bf0d7;hp=2bea870f4fce2b
0b22c5e503e3b688ecd6a891a9;hb=baf08b0a1ad656434583e3c102a350d4cf885bf9;hpb=85c1790beb955658fe8eeab2fe0904206aeb88a6
 HTTP/1.1" 200 17156 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://m
j12bot.com/)"
review.openocd.org:443 xxx - - [04/Mar/2023:10:54:31 +0000] "GET 
/gitweb?p=openocd.git;a=blobdiff;f=README.OSX;h=979c64ba60944b507cffb3b9d4784ef4128bf0d7;hp=5fec44f2013cd9
18baffa93234d35306f116c5ec;hb=baf08b0a1ad656434583e3c102a350d4cf885bf9;hpb=10df176b0fb932d61f0dc5d6bfd0a0942501fc40
 HTTP/1.1" 200 13765 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://m
j12bot.com/)"
review.openocd.org:443 xxx - - [04/Mar/2023:10:54:33 +0000] "GET 
/gitweb?p=openocd.git;a=blobdiff;f=README;h=00e83bbf4aafdf2eaf34adcf8e853c9b8fb6ac67;hp=62d1f777aecf022d68
78b3e7c54c9668c9e9ba6a;hb=80ca927ebc2bb1ca18aff70215222d55c1f196f8;hpb=cf692abe83a90f74cb21b1864f348cd52fe26454
 HTTP/1.1" 200 73970 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12b
ot.com/)"
review.openocd.org:443 xxx - - [04/Mar/2023:10:54:35 +0000] "GET 
/gitweb?p=openocd.git;a=blobdiff;f=README;h=00e83bbf4aafdf2eaf34adcf8e853c9b8fb6ac67;hp=645ff652ace9087550
fa94f5f7e46cf08982da78;hb=80ca927ebc2bb1ca18aff70215222d55c1f196f8;hpb=8d8937359606a56f1cda19d858a4edcda93eacb9
 HTTP/1.1" 200 25434 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12b
ot.com/)"
openocd.zylin.com:80 xxx - - [04/Mar/2023:10:56:58 +0000] "GET /190 HTTP/1.1" 
301 532 "-" "Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)"
openocd.zylin.com:80 xxx - - [04/Mar/2023:10:57:35 +0000] "GET /robots.txt 
HTTP/1.1" 301 546 "-" "Mozilla/5.0 (compatible; DotBot/1.2; 
+https://opensiteexplorer.org/dotbot; h...@moz.com)"
build.openocd.org:443 xxx - - [04/Mar/2023:10:57:49 +0000] "HEAD / HTTP/1.1" 
200 5799 "https://build.openocd.org"; "Mozilla/5.0+(compatible; UptimeRobot/2.0; 
http://www.uptimerobot.com/)"
review.openocd.org:443 xxx - - [04/Mar/2023:10:54:38 +0000] "GET 
/gitweb?p=openocd.git;a=blobdiff;f=README;h=00e83bbf4aafdf2eaf34adcf8e853c9b8fb6ac67;hp=68a7ea90724b944a9b08483c30ebf5af1b99d238;hb=80ca927ebc2bb1ca18aff70215222d55c1f196f8;hpb=c4113b5f3da6bfbc544648cfdde6d3df01b0d7b4
 HTTP/1.1" 502 618 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; 
http://mj12bot.com/)"

That last error is also visible in the error log:
[Sat Mar 04 10:59:38.338530 2023] [proxy_http:error] [pid 1236537:tid 
140232250861312] (70007)The timeout specified has expired: [client xxx] 
AH01102: error reading status line from remote server 127.0.0.1:8081
[Sat Mar 04 10:59:38.382246 2023] [proxy:error] [pid 1236537:tid 
140232250861312] [client xxx] AH00898: Error reading from remote server 
returned by /gitweb

And it was indeed exactly 5 minutes Apache was waiting for Gerrit's
answer. Then it was happening for a while, and then it just started
working normally, without restarting anything, without anything in
Gerrit's logs.

I tried adding disablereuse=On to the relevant ProxyPass directive,
let's see if it changes anything.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

Reply via email to