pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: john gale <john@smadness.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: some postgres 2s SELECT queries are deadlocking forever in __sendto (libsystem_kernel.dylib)
Date: Thu, 13 Feb 2014 20:04:54 -0500
Message-ID: <368.1392339894@sss.pgh.pa.us> (raw)
In-Reply-To: <C8F8C964-F3C7-491A-9D88-5EF55BC00243@smadness.com>
References: <C8F8C964-F3C7-491A-9D88-5EF55BC00243@smadness.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

john gale <john@smadness.com> writes:
> We are running a Postgres 9.3.2 server on a Mac Pro running OS X 10.9.0.  As an automation results server it's heavily inserted into (30-80 queries per sec), periodically selected from (once every few minutes).
> We created this instance with Postgres 9.3.0 and after a time ran into an issue where some SELECTs that usually completed in 2s were deadlocking, still around hours or days later.  I read something that seemed related to this issue under the release notes for 9.3.2 although can't find it again now.  After upgrading to 9.3.2, the issue went away for a month.

I don't see any reason to think that's a deadlock.  The stack trace shows
the backend is waiting to send data to its client.  Since the client also
appears to be waiting for data to come in, it seems like this represents
some kind of network-stack bug.  You might try to get Apple interested.
Although the first thing they're gonna ask you is if 10.9.1 fixes it.

			regards, tom lane


-- 
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: <368.1392339894@sss.pgh.pa.us>
Permalink:  ../368.1392339894@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/368.1392339894@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, john@smadness.com
  Subject: Re: some postgres 2s SELECT queries are deadlocking forever in __sendto (libsystem_kernel.dylib)
  In-Reply-To: <368.1392339894@sss.pgh.pa.us>
  References: <C8F8C964-F3C7-491A-9D88-5EF55BC00243@smadness.com> <368.1392339894@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