Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 1D7A49FB2F4 for ; Tue, 10 Oct 2006 15:05:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 01076-07 for ; Tue, 10 Oct 2006 18:04:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 4E59B9FB2EF for ; Tue, 10 Oct 2006 15:04:57 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9AI4tl7000529; Tue, 10 Oct 2006 14:04:55 -0400 (EDT) To: Tobias Brox cc: pgsql-performance@postgresql.org Subject: Re: long running transactions In-reply-to: <20061010174955.GA284@oppetid.no> References: <20061010161027.GA18908@oppetid.no> <25404.1160497420@sss.pgh.pa.us> <20061010163913.GA8097@oppetid.no> <20061010164142.GA5360@oppetid.no> <25631.1160498572@sss.pgh.pa.us> <20061010170639.GB5360@oppetid.no> <25953.1160500192@sss.pgh.pa.us> <20061010171304.GC5360@oppetid.no> <26123.1160500707@sss.pgh.pa.us> <20061010174955.GA284@oppetid.no> Comments: In-reply-to Tobias Brox message dated "Tue, 10 Oct 2006 19:49:55 +0200" Date: Tue, 10 Oct 2006 14:04:55 -0400 Message-ID: <528.1160503495@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/203 X-Sequence-Number: 21332 Tobias Brox writes: > (gdb) bt > #0 0xb7c599f8 in select () from /lib/tls/libc.so.6 > #1 0x08253c53 in pg_usleep () > #2 0x0812ee93 in vacuum_delay_point () > #3 0x0812f2a5 in lazy_vacuum_rel () > #4 0x0812ef7b in lazy_vacuum_rel () > #5 0x0812b4b6 in vac_update_relstats () That doesn't look particularly blocked, and if you are seeing reads/writes too, then it's doing something. > It seems stuck, has had the same transid for a long while, and the > number of undeletable dead rows in our tables are increasing. Perhaps you have overly aggressive vacuum cost delay settings? regards, tom lane