Re: pgbench: could not connect to server: Resource temporarily unavailable

2022-08-23 Thread Thomas Munro
On Wed, Aug 24, 2022 at 3:06 PM Tom Lane wrote: > Thomas Munro writes: > > Oh, one comment there is actually obsolete now AFAIK. Unless there is > > some reason to think personality(ADDR_NO_RANDOMIZE) might not work in > > some case where sysctl -w kernel.randomize_va_space=0 will, I think we >

Re: pgbench: could not connect to server: Resource temporarily unavailable

2022-08-23 Thread Tom Lane
Thomas Munro writes: > Oh, one comment there is actually obsolete now AFAIK. Unless there is > some reason to think personality(ADDR_NO_RANDOMIZE) might not work in > some case where sysctl -w kernel.randomize_va_space=0 will, I think we > can just remove that. AFAICS, f3e78069db7 silently does

Re: pgbench: could not connect to server: Resource temporarily unavailable

2022-08-23 Thread Thomas Munro
On Tue, Aug 23, 2022 at 2:42 PM Thomas Munro wrote: > > 0002 isn't quite related, but while writing 0001 I noticed a nearby > > use of /proc/sys/... which I thought should be converted to sysctl. > > IMO /proc/sys pretty much sucks, at least for documentation purposes, > > for multiple reasons: O