On Tue, Jun 13, 2006 at 06:22:07PM -0400, Tom Lane wrote: > Mischa Sandberg <mischa@xxxxxxxxxxxxx> 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