Re: R: R: BUG #6342: libpq blocks forever in "poll" function

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Andrea Grassi <andreagrassi(at)sogeasoft(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: R: R: BUG #6342: libpq blocks forever in "poll" function
Date: 2011-12-20 23:59:51
Message-ID: 4EF12177.2050404@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-12-21 02:14:49 Re: [PATCH v2] Use CC atomic builtins as a fallback
Previous Message Craig Ringer 2011-12-20 23:56:07 Re: R: R: R: R: BUG #6342: libpq blocks forever in "poll" function