Skip site navigation (1)Skip section navigation (2)
From:      Vivek Khera <khera@kcilink.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: [GENERAL] was there a change in FreeBSD SHM implementation from 4.4 to 4.6? (postgres trouble)
References:  <Pine.BSF.4.21.0207111440430.69242-100000@is>

| previous in thread | raw e-mail | index | archive | help
>>>>> "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.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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/

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?>