pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: yongchao.xu@newtouch.cn
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7676: pgSocketCheck dosen`t return
Date: Tue, 20 Nov 2012 09:47:45 -0500
Message-ID: <6328.1353422865@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TaKPb-00008c-6O@wrigleys.postgresql.org>
References: <E1TaKPb-00008c-6O@wrigleys.postgresql.org>

yongchao.xu@newtouch.cn writes:
> I have this problem today: one thread of our application hung, and
> we found the thread waiting for the result of poll() function. poll()
> was called by pgSocketCheck(). So is it a bug of pg?

So far as anyone can tell, this trace just indicates that the
application is waiting for a response from the server.  If there's
a bug there, you'd need to provide more or different information to
prove it.  I think more likely you need to be consulting
http://wiki.postgresql.org/wiki/Slow_Query_Questions

			regards, tom lane




view thread (3+ messages)  latest in thread

Message-ID: <6328.1353422865@sss.pgh.pa.us>
Permalink:  ../6328.1353422865@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6328.1353422865@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, yongchao.xu@newtouch.cn
  Subject: Re: BUG #7676: pgSocketCheck dosen`t return
  In-Reply-To: <6328.1353422865@sss.pgh.pa.us>
  References: <E1TaKPb-00008c-6O@wrigleys.postgresql.org> <6328.1353422865@sss.pgh.pa.us>

* 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