Re: pqReadData() -- backend closed the channel unexpectedly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pqReadData() -- backend closed the channel unexpectedly
Дата
Msg-id 18321.969422158@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pqReadData() -- backend closed the channel unexpectedly  (Buddy Lee Haystack <haystack@email.rentzone.org>)
Список pgsql-general
Buddy Lee Haystack <haystack@email.rentzone.org> writes:
> Here they are, but they seem as vague as the Apache error logs -to me anyway...

You're right, not much info there except that a backend died untimely.

Unless you had ulimit set to prevent it, the crashing backend should've
left a core file in the database subdirectory it was connected to (ie,
$PGDATA/base/DATABASENAME/core).  If so, it'd be useful to see a stack
trace from that file ... do you know how to get a stack trace with gdb?
Copy the corefile to someplace safe, in any case; we may want to
study it later.

One thing that would be real helpful to know is exactly what query the
failed backend was trying to execute.  Perhaps you know that already.
If not, but if you can reproduce the crash by rerunning your
application, then restart the postmaster with "-d2" added to its command
line arguments; that will cause each backend to log each query it
executes.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: pqReadData() -- backend closed the channel unexpectedly
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposal for new PL/Perl README