pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arthur Ward <award@dominionsciences.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: syslog enabled causes random hangs?
Date: Wed, 06 Aug 2003 10:06:27 -0400
Message-ID: <18008.1060178787@sss.pgh.pa.us> (raw)
In-Reply-To: <16197.68.62.129.152.1060160349.squirrel@www.dominionsciences.com>
References: <65332.68.62.130.132.1059516822.squirrel@www.dominionsciences.com>
	<5212.1059519400@sss.pgh.pa.us>
	<65117.68.62.130.132.1059521610.squirrel@www.dominionsciences.com>
	<9132.1059572489@sss.pgh.pa.us>
	<12218.68.62.129.152.1059584549.squirrel@www.dominionsciences.com>
	<15873.1059585791@sss.pgh.pa.us>
	<16197.68.62.129.152.1060160349.squirrel@www.dominionsciences.com>

"Arthur Ward" <award@dominionsciences.com> writes:
> I'm back with more on the funky glibc-syslog-Postgres deadlocking behavior:

It looks to me like the guy doing VACUUM is simply waiting for the other
guy to release a page-level lock.  The other guy is running a deferred
trigger and so I'd expect him to be holding one or two page-level locks,
on the page or pages containing the tuple or tuples passed to the
trigger.  Nothing evidently wrong there.

The real question is why does vsyslog() have anything to block on, when
it's running in an unthreaded process?  Seeing that you are using
plpython, I wonder if Python is confusing matters somehow.

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <18008.1060178787@sss.pgh.pa.us>
Permalink:  ../18008.1060178787@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18008.1060178787@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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, award@dominionsciences.com
  Subject: Re: syslog enabled causes random hangs?
  In-Reply-To: <18008.1060178787@sss.pgh.pa.us>
  References: <65332.68.62.130.132.1059516822.squirrel@www.dominionsciences.com> <5212.1059519400@sss.pgh.pa.us> <65117.68.62.130.132.1059521610.squirrel@www.dominionsciences.com> <9132.1059572489@sss.pgh.pa.us> <12218.68.62.129.152.1059584549.squirrel@www.dominionsciences.com> <15873.1059585791@sss.pgh.pa.us> <16197.68.62.129.152.1060160349.squirrel@www.dominionsciences.com> <18008.1060178787@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