Re: Signaling of waiting for a cleanup lock? - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Signaling of waiting for a cleanup lock?
Date
Msg-id 534C6386.5090200@nasby.net
Whole thread Raw
In response to Re: Signaling of waiting for a cleanup lock?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 4/14/14, 12:44 PM, Tom Lane wrote:
> Andres Freund<andres@2ndquadrant.com>  writes:
>> >On 2014-04-14 13:06:21 -0400, Tom Lane wrote:
>>> >>In particular I'm not sold on the use-case
>>> >>for being able to tell that a process is waiting without being able to
>>> >>tell what it's waiting for.  I can figure that much out already.

>> >You can? How? It could also be io or something else that's problematic.

> If the process is not consuming any CPU time at all, it's waiting on
> something.  (Now admittedly, that might be hard to tell remotely ---
> but Simon seems to be assuming you have access to "ps" output.)

Right... and then I always find myself wondering what it's actually waiting on. IO? lwlock? Something else?
-- 
Jim C. Nasby, Data Architect                       jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Signaling of waiting for a cleanup lock?
Next
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL in Windows console and Ctrl-C