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 43D55D1C50B for ; Wed, 6 Aug 2003 14:06:44 +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 36637-01 for ; Wed, 6 Aug 2003 11:05:26 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id E14A6D1C4C1 for ; Wed, 6 Aug 2003 11:06:31 -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 h76E6SSa018009; Wed, 6 Aug 2003 10:06:28 -0400 (EDT) To: "Arthur Ward" Cc: pgsql-admin@postgresql.org Subject: Re: syslog enabled causes random hangs? 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> Comments: In-reply-to "Arthur Ward" message dated "Wed, 06 Aug 2003 03:59:09 -0500" Date: Wed, 06 Aug 2003 10:06:27 -0400 Message-ID: <18008.1060178787@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/71 X-Sequence-Number: 9794 "Arthur Ward" 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