Re: [HACKERS] Receive buffer size for the statistics socket - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Receive buffer size for the statistics socket
Date
Msg-id 12781.1496103295@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Receive buffer size for the statistics socket  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
>> I propose that it'd be a good idea to try to set the stats socket's
>> receive buffer size to be a minimum of, say, 100K on all platforms.
>> Code for this would be analogous to what we already have in pqcomm.c
>> (circa line 760) for forcing up the send buffer size, but SO_RCVBUF
>> not SO_SNDBUF.

> I propose committing this (less the debug logging part) to HEAD
> once the beta is out, and then back-patching if it doesn't break
> anything and seems to improve matters on frogmouth.

That went in in 8b0b6303e.  frogmouth had failed in 5 of the 23 HEAD runs
it made between 4e37b3e15 and 8b0b6303e.  Since then, it has shown zero
failures in 50 runs.  I don't know what confidence a statistician would
assign to the proposition that 8b0b6303e improved things, but this is good
enough for me.  I'm going to go back-patch it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] PATCH: recursive json_populate_record()
Next
From: Masahiko Sawada
Date:
Subject: [HACKERS] Fix GetOldestXmin comment