Re: syslog enabled causes random hangs?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Arthur Ward" <award(at)dominionsciences(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: syslog enabled causes random hangs?
Date: 2003-08-06 14:06:27
Message-ID: 18008.1060178787@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Arthur Ward" <award(at)dominionsciences(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message The Hermit Hacker 2003-08-06 14:10:29 Re: Postgresql slow on XEON 2.4ghz/1gb ram
Previous Message greg 2003-08-06 13:55:41 Re: counting rows