pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Kerr <dmk@mr-paradox.net>
To: pgsql-performance@postgresql.org
Subject: pgbench could not send data to client: Broken pipe
Date: Wed, 8 Sep 2010 10:46:29 -0700
Message-ID: <20100908174629.GD40339@mr-paradox.net> (raw)

Howdy,

I'm running pgbench with a fairly large # of clients and getting this error in my PG log file.

Here's the command:
./pgbench -c 1100 testdb -l

I get:
LOG:  could not send data to client: Broken pipe

(I had to modify the pgbench.c file to make it go that high, i changed:
MAXCLIENTS = 2048

I thought maybe i was running out of resources so i checked my ulimits:

 ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 2048
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) unlimited
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


This is Pg 8.3.10. Redhat 64bit, the system has 48 cores, 256G of ram.. 


Any idea what would be causing the error?

thanks

Dave



view thread (19+ messages)  latest in thread

Message-ID: <20100908174629.GD40339@mr-paradox.net>
Permalink:  ../20100908174629.GD40339@mr-paradox.net/
Also on:    postgresql.org/message-id/20100908174629.GD40339@mr-paradox.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dmk@mr-paradox.net
  Subject: Re: pgbench could not send data to client: Broken pipe
  In-Reply-To: <20100908174629.GD40339@mr-paradox.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox