X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A5340D1C92B for ; Wed, 6 Aug 2003 18:45:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 67715-01 for ; Wed, 6 Aug 2003 15:44:05 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id AE80DD1C50B for ; Wed, 6 Aug 2003 15:45:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h76IjBSa006201; Wed, 6 Aug 2003 14:45:12 -0400 (EDT) To: "Arthur Ward" Cc: pgsql-admin@postgresql.org Subject: Re: syslog enabled causes random hangs? 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> Comments: In-reply-to "Arthur Ward" message dated "Wed, 06 Aug 2003 13:40:39 -0500" Date: Wed, 06 Aug 2003 14:45:11 -0400 Message-ID: <6200.1060195511@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/89 X-Sequence-Number: 9812 "Arthur Ward" 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