From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 12:11:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 932FB16A417 for ; Wed, 5 Dec 2007 12:11:15 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id 4D12413C461 for ; Wed, 5 Dec 2007 12:11:13 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from localhost (marvin-mail [192.168.0.2]) by marvin.harmless.hu (Postfix) with ESMTP id C35717C1862 for ; Wed, 5 Dec 2007 12:46:20 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at harmless.hu Received: from marvin.harmless.hu ([192.168.0.2]) by localhost (marvin.harmless.hu [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id 3G-BjryG2q9j for ; Wed, 5 Dec 2007 12:46:20 +0100 (CET) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id 2B74F7C1842 for ; Wed, 5 Dec 2007 12:46:19 +0100 (CET) Date: Wed, 5 Dec 2007 12:46:19 +0100 From: Gergely CZUCZY To: freebsd-questions@freebsd.org Message-ID: <20071205114619.GA32423@harmless.hu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: more then 2G shm on RELENG_7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2007 12:11:15 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm to test PostgreSQL on a 7-BETA3. The box has 12GB of memory in it, I've adjusted the sysctls, but postgresql always fails to allocate the SHM if it's bigger then 2GB. How can I make it to allocate more SHM than 2G at once? sysctl.conf: kern.ipc.shmall=3D1572864 kern.ipc.shmmax=3D6442450944 kern.ipc.semmap=3D1024 kern.ipc.shm_use_phys=3D1 /boot/loader.conf: zfs_load=3D"YES" vm.kmem_size=3D"1073741824" vm.kmem_size_max=3D"1073741824" kern.ipc.semmni=3D1024 kern.ipc.semmns=3D2048 kern.ipc.semmnu=3D1024 I've also hit a similar issue with qemu, but that wasn't shared memory, I had just tried to make it allocate more than 2GBs for a single vm, but that also failed. Still haven't figured out why was that. Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) owFlVE1rHEcQlSV0SIMPIn+gEASBoxntzo6kzRohWx+sZGzisCJB5LD0ztbMdNTT Peru2dXqF5gQUBIffLDBEOxjIAf9gOCbLyKXQC7JHwiBxD7mkupdSWTt20y9qnpv +r2eb2/OzcwuXPx0/uXH33z/9MaPc3/1bhWVcyoLCm4GQgX1Wq0eNKI4agSNgGMS RSlfxV5Sa+Jq+/Ozr7e1cqhccDAqsQUOT9xKKblQtyHJubHoNiqXBk121bcjbKmt cEKrFgglhcJr7MBwZVM0wa5KdF+orAXHlXbYD0ojlOM9iYztoZR6mbH9pQKcJkbr 4KG2LjPY+ew+aAUc1oOt3YO7jRAOcoSePoGcW6hH7S3QKRRYaDMibhBumdYMEHj/ q8oSDzjqtyObOGmXoVc5KCeb7bEELod8ZCHlQlrPzElHwh36IdbZewAipY1LFnoi y9D4sgLiDEmzHkLCFexDwY+QuqbmSQ6CX+By7ieAO/qMBDcZm2gJE63SFjtCo0JR JqHNCxreaOzUV9ej5lo8hRT8h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