From: Craig Ringer <ringerc@ringerc.id.au>
To: Andrea Grassi <andreagrassi@sogeasoft.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: R: R: BUG #6342: libpq blocks forever in "poll" function
Date: Wed, 21 Dec 2011 07:59:51 +0800
Message-ID: <4EF12177.2050404@ringerc.id.au> (raw)
In-Reply-To: <001b01ccbe60$ddb84280$9928c780$@com>
References: <E1RbSUA-0003kd-Tb@wrigleys.postgresql.org>
<4EEB0006.7080205@ringerc.id.au>
<001201ccbbfc$82c987a0$885c96e0$@com>
<4EEC3462.80702@ringerc.id.au>
<001b01ccbe60$ddb84280$9928c780$@com>
On 19/12/2011 11:14 PM, Andrea Grassi wrote:
> Hi, Craig
> Now my process is blocked and I have the case in my hands.
> Do you have something to ask me in order to have more details ?
>
As I tend to agree with Tom re this being a kernel issue, try (as root):
# Enable stack dumps etc via sysrq
echo 8 > /proc/sys/kernel/sysrq
# Trigger kernel stack dump of all processes via sysrq mechanism
echo t > /proc/sysrq-trigger
... then search the kernel log files to find the kernel stack dump
associated with your test program.
If you're not on the latest kernel for your OS, you should update it.
--
Craig Ringer
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, andreagrassi@sogeasoft.com
Subject: Re: R: R: BUG #6342: libpq blocks forever in "poll" function
In-Reply-To: <4EF12177.2050404@ringerc.id.au>
References: <E1RbSUA-0003kd-Tb@wrigleys.postgresql.org> <4EEB0006.7080205@ringerc.id.au> <001201ccbbfc$82c987a0$885c96e0$@com> <4EEC3462.80702@ringerc.id.au> <001b01ccbe60$ddb84280$9928c780$@com> <4EF12177.2050404@ringerc.id.au>
* 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