Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 23:46:38 +0400 (MSD)
From:      Igor Sysoev <is@rambler-co.ru>
To:        Vivek Khera <khera@kcilink.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: [GENERAL] was there a change in FreeBSD SHM implementation from 4.4 to 4.6? (postgres trouble)
Message-ID:  <Pine.BSF.4.21.0207122342050.454-100000@is>
In-Reply-To: <bulk.18085.20020712095831@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Jul 2002, Vivek Khera wrote:

> >>>>> "IS" == Igor Sysoev <is@rambler-co.ru> writes:
> 
> >> The kernel config has SHMMAX and SHMMAXPGS.
> 
> IS> Sorry, I'd meant "SHMMAXPGS is sysctl kern.ipc.shmall".
> 
> Actually,  SHMMAXPGS * 4096 == kern.ipc.shmmax
> 
> so if you set SHMMAXPGS to some value, you need to multiply that by
> 4096 to set shmmax.
> 
> I think the kernel should warn you if you set SHMMAX > SHMALL.

Although kernel build can warn about it
I do not believe that sysctl mechanics allows warnings.

Igor Sysoev
http://sysoev.ru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0207122342050.454-100000>