Re: Hot Standby remaining issues - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Hot Standby remaining issues
Date
Msg-id 4B164C94.4050600@enterprisedb.com
Whole thread Raw
In response to Re: Hot Standby remaining issues  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> On Wed, 2009-12-02 at 12:49 +0200, Heikki Linnakangas wrote:
> 
>> If a read-only transaction holds a lot of locks, consuming so much
>> lock space that there's none left for the startup process to hold the
>> lock it wants, it will abort and bring down postmaster. The patch
>> attempts to kill any conflicting lockers, but those are handled fine
>> already (if there's any conflicting locks, LockAcquire will return
>> LOCKACQUIRE_NOT_AVAIL anyway). The problem is with non-conflicting
>> locks using up the lock space.
> 
> Oh dear, another "nuke 'em all from orbit" scenario. Will do.

Yeah. This case is much like the OOM killer on Linux. Not really "nuke
'em all" but "nuke someone, don't care who"..

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Laurent Laborde
Date:
Subject: Re: Cost of sort/order by not estimated by the query planner
Next
From: Dimitri Fontaine
Date:
Subject: Re: Page-level version upgrade