pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgreSQL.org>
Subject: RE: [HACKERS] spinlock freeze again
Date: Thu, 8 Jul 1999 11:07:10 +0900
Message-ID: <000901bec8e6$967c14a0$2801007e@cadzone.tpf.co.jp> (raw)
In-Reply-To: <199907080109.VAA18621@candle.pha.pa.us>

> -----Original Message-----
> From: Bruce Momjian [mailto:maillist@candle.pha.pa.us]
> Sent: Thursday, July 08, 1999 10:09 AM
> To: Hiroshi Inoue
> Cc: pgsql-hackers
> Subject: Re: [HACKERS] spinlock freeze again
> 
> 
> > > Are their any locks acquired before InitProcess()?
> > >
> > 
> > OidGenLockId spinlock is acquired in InitTransactionLog().
> > 
> > Regards.
> > 
> 
> Well, seems we have a Proc queue that holds locks, but for these other
> cases, we don't.  We could use the on_shmexit queue to add an cleanup
> handler once we get the lock, and remove it from the queue once we
> release the lock.  We don't currently have the ability to remove
> specific queue entries, but we could easily do that.
> 
> Is the lock failure a problem that happens a lot?
>

It doesn't happen oridinarily.
I don't remember well how it happend.
Probably it was caused by other spinlock(io_in_progress_lock ?)
freeze while testing 6.5-beta.
 
Regards.

Hiroshi Inoue
Inoue@tpf.co.jp



view thread (6+ messages)  latest in thread

Message-ID: <000901bec8e6$967c14a0$2801007e@cadzone.tpf.co.jp>
Permalink:  ../000901bec8e6$967c14a0$2801007e@cadzone.tpf.co.jp/
Also on:    postgresql.org/message-id/000901bec8e6$967c14a0$2801007e@cadzone.tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: Inoue@tpf.co.jp, maillist@candle.pha.pa.us, pgsql-hackers@postgreSQL.org
  Subject: Re: [HACKERS] spinlock freeze again
  In-Reply-To: <000901bec8e6$967c14a0$2801007e@cadzone.tpf.co.jp>
  References: <199907080109.VAA18621@candle.pha.pa.us> <000901bec8e6$967c14a0$2801007e@cadzone.tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox