<ezequias@fastcon.com.br> writes:
> FATAL: sorry, too many clients already
You need a larger max_connections setting.
> LOG: unexpected EOF on client connection
I think pgbench just dies ungracefully if it gets a connection failure.
regards, tom lane