pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Singh, Devendra <devendra.singh3@hp.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: postgres 8.4 PQexec hang on HP-UX
Date: Fri, 12 Apr 2013 23:09:49 +0300
Message-ID: <51686A0D.2020305@vmware.com> (raw)
In-Reply-To: <0B1855DC8342A9419D42AC865764B8B19B46CA53@G4W3232.americas.hpqcorp.net>
References: <0B1855DC8342A9419D42AC865764B8B19B46CA53@G4W3232.americas.hpqcorp.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 12.04.2013 09:41, Singh, Devendra wrote:
> Hi All,
>
> I hit a hang issue in postgres 8.4 query. Hit this issue multiple time on HP-UX. Below is the snapshot of the hang thread.
>
> --------------------------------  lwpid : 600943   -------------------------------
> 0: c00000000054ced0 : _poll_sys() + 0x30 (/usr/lib/hpux64/libc.so.1)
> 1: c000000000561560 : poll() + 0xe0 (/usr/lib/hpux64/libc.so.1)
> 2: c000000001f798e0 : pqSocketPoll() at fe-misc.c:1079
> 3: c000000001f790e0 : pqWait() at fe-misc.c:1024
> 4: c000000001f6ebb0 : PQgetResult() at fe-exec.c:1554
> 5: c000000001f6f0a0 : PQexec() at fe-exec.c:1735
>
> Is it a known issue? Any possible workaround ?

The first thing that comes to mind is that the query is simply taking a 
long time to execute, or is being blocked trying to acquire a lock that 
another process is holding in the server. You'll have to provide a lot 
more details if you want anyone to make a better guess than that. A 
simplified test program that reproduces the problem would be best.

- Heikki


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <51686A0D.2020305@vmware.com>
Permalink:  ../51686A0D.2020305@vmware.com/
Also on:    postgresql.org/message-id/51686A0D.2020305@vmware.com

 · 

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 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: hlinnakangas@vmware.com, devendra.singh3@hp.com
  Subject: Re: postgres 8.4 PQexec hang on HP-UX
  In-Reply-To: <51686A0D.2020305@vmware.com>
  References: <0B1855DC8342A9419D42AC865764B8B19B46CA53@G4W3232.americas.hpqcorp.net> <51686A0D.2020305@vmware.com>

* 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