Re: was there a change in FreeBSD SHM implementation from - Mailing list pgsql-general

From Vivek Khera
Subject Re: was there a change in FreeBSD SHM implementation from
Date
Msg-id 15661.42668.997886.567797@onceler.kciLink.com
Whole thread Raw
In response to Re: was there a change in FreeBSD SHM implementation from  (Vince Vielhaber <vev@michvhf.com>)
List pgsql-general
>>>>> "VV" == Vince Vielhaber <vev@michvhf.com> writes:

VV> Have you looked at the FreeBSD section here:

VV>    http://www.postgresql.org/idocs/index.php?kernel-resources.html

VV> Most notably, I had to increase SHMMAXPGS on one of my FreeBSD machines.
VV> There doesn't appear to be a sysctl variable for it.

Thanks for the tip.  Turns out my SHMALL was less than SHMMAX.  Seems
silly that the kernel lets you build it that way, but it does.  Upping
SHMALL to be commensurate with SHMMAX fixed my problem.  I assume I
did it manually via sysctl before (was nearly a year ago since this
machine was rebooted, so I never noticed it wasn't set in sysctl.conf
or the kernel).

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-general by date:

Previous
From: Jan Wieck
Date:
Subject: Re: I am being interviewed by OReilly
Next
From: Kaare Rasmussen
Date:
Subject: Re: I am being interviewed by OReilly