From owner-freebsd-questions Sun Dec 17 1:16:37 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 01:16:35 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from gw.one.com.au (gw.one.com.au [203.18.85.1]) by hub.freebsd.org (Postfix) with ESMTP id 2A01637B400 for ; Sun, 17 Dec 2000 01:16:33 -0800 (PST) Received: from one.com.au (pmo.local [10.18.85.2]) by gw.one.com.au (8.9.2/8.9.2) with SMTP id TAA23290 for freebsd-questions@freebsd.org; Sun, 17 Dec 2000 19:19:56 +1000 (EST) (envelope-from raymond@one.com.au) Date: Sun, 17 Dec 2000 19:19:56 +1000 (EST) From: User Raymond Message-Id: <200012170919.TAA23290@gw.one.com.au> Subject: FreeBSD (V4.2) Shared memory To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Subj: FreeBSD (V4.2) Shared memory To: freebsd-questions@freebsd.org From: raymond@one.com.au On 4.2-RELEASE i386, I have attempted to build 268697600 bytes (65600 pages) of shared memory with the config options: options SHMALL=65600 options SHMMAXPGS=65600 After a build, ipcs reports as follows: %ipcs -TM shminfo: shmmax: 268697600 (max shared memory segment size) shmmin: 1 (min shared memory segment size) shmmni: 96 (max number of shared memory identifiers) shmseg: 64 (max shared memory segments per process) shmall: 65600 (max amount of shared memory in pages) Yet, I can't seem to get my code to connect to a shared memory segment greater than 64KB. Am I missing something (like a maximum size)? Ray Newman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message