Re: pgbench could not send data to client: Broken pipe - Mailing list pgsql-performance

From Tom Lane
Subject Re: pgbench could not send data to client: Broken pipe
Date
Msg-id 8754.1283975076@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgbench could not send data to client: Broken pipe  (Greg Smith <greg@2ndquadrant.com>)
Responses Re: pgbench could not send data to client: Broken pipe
List pgsql-performance
Greg Smith <greg@2ndquadrant.com> writes:
> Tom Lane wrote:
>> So I think you could get above the FD_SETSIZE limit with a bit of
>> hacking if you were using 9.0's pgbench.  No chance with 8.3 though.

> I believe David can do this easily enough by compiling a 9.0 source code
> tree with the "--disable-thread-safety" option.

It would take a bit more work than that, because the code still tries to
limit the client count based on FD_SETSIZE.  He'd need to hack it so
that in non-thread mode, the limit is FD_SETSIZE per subprocess.  I was
suggesting that an official patch to that effect would be a good thing.

> It's kind of futile to run pgbench simulating much more than a hundred
> or two clients before 9.0 anyway.

Yeah ...

            regards, tom lane

pgsql-performance by date:

Previous
From: Greg Smith
Date:
Subject: Re: pgbench could not send data to client: Broken pipe
Next
From: David Kerr
Date:
Subject: Re: pgbench could not send data to client: Broken pipe