Re: pq_recvbuf: unexpected EOF

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Link <dvlink(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pq_recvbuf: unexpected EOF
Date: 2003-04-25 20:00:44
Message-ID: 29485.1051300844@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David Link <dvlink(at)yahoo(dot)com> writes:
> [4] LOG: pq_recvbuf: unexpected EOF on client connection
> [4] LOG: server process (pid 28353) was terminated by signal 11
> [5] LOG: terminating any other active server processes

That's not what I would call a "scaling issue" :-(

Can you get us a stack backtrace from the crashed backend? Since
this is linux, you probably aren't getting core files (look for
$PGDATA/base/nnnnnn/core) --- if not, restart the postmaster under
"ulimit -c unlimited" (best to add that to its startup script).
Once you have a core file, try

gdb /path/to/postgres-executable /path/to/core-file
gdb> bt
gdb> p debug_query_string
gdb> quit

It would also be worthwhile to enable log_statement in postgresql.conf
so that you can get more info on the command or series of commands that
leads up to the crash.

Also, if you compiled Postgres yourself, it would be worth the trouble
to recompile with --enable-debug and --enable-cassert added to whatever
configure parameters you used before. I'm not sure what it takes to do
the equivalent in an RPM-based installation.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-04-25 20:14:36 Re: pq_recvbuf: unexpected EOF
Previous Message scott.marlowe 2003-04-25 19:54:17 Re: pq_recvbuf: unexpected EOF