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 14:45:11 -0400
Message-ID: <6200.1060195511@sss.pgh.pa.us> (raw)
In-Reply-To: <64888.68.62.130.132.1060195239.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>
	<18008.1060178787@sss.pgh.pa.us>
	<16572.68.62.129.152.1060190049.squirrel@www.dominionsciences.com>
	<29550.1060190800@sss.pgh.pa.us>
	<64888.68.62.130.132.1060195239.squirrel@www.dominionsciences.com>

"Arthur Ward" <award@dominionsciences.com> writes:
> An idea just popped into my head, though. Perhaps I can create procedures
> in plpgsql and plpython which do nothing but spew notices (which would in
> turn be sent to syslog), and run one or two copies to see if they'll die
> on their own given sufficient time. That seems worthwhile, especially if I
> can get a deadlock in plpgsql, since it will take the blame away from both
> triggers and plpython. Does this sound like a reasonable experiment?

Sure.

Note it seems possible that the failure occurs only during a particular
backend's first or second attempt to send something to syslog (since the
first attempt would do openlog).  So you should probably run a test that
involves sending only a few messages per session, rather than vast
numbers of messages from one session.

			regards, tom lane



view thread (14+ messages)

Message-ID: <6200.1060195511@sss.pgh.pa.us>
Permalink:  ../6200.1060195511@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6200.1060195511@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: <6200.1060195511@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> <16572.68.62.129.152.1060190049.squirrel@www.dominionsciences.com> <29550.1060190800@sss.pgh.pa.us> <64888.68.62.130.132.1060195239.squirrel@www.dominionsciences.com> <6200.1060195511@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