Re: Solaris shared_buffers anomaly? - Mailing list pgsql-performance

From Michael Fuhr
Subject Re: Solaris shared_buffers anomaly?
Date
Msg-id 20060613223401.GA47540@winnie.fuhr.org
Whole thread Raw
In response to Re: Solaris shared_buffers anomaly?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Tue, Jun 13, 2006 at 06:22:07PM -0400, Tom Lane wrote:
> Mischa Sandberg <mischa@ca.sophos.com> writes:
> > vmstat showed that it was swapping like crazy.
> > Dropped shared_buffers back down again.
> > Swapping stopped.
>
> Does Solaris have any call that allows locking a shmem segment in RAM?

The Solaris 9 shmctl manpage mentions this token:

  SHM_LOCK
        Lock the shared memory segment specified by shmid in
        memory. This command can be executed only by a process
        that has an effective user ID equal to super-user.

--
Michael Fuhr

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Solaris shared_buffers anomaly?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Confirmation of bad query plan generated by 7.4