Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 19:19:56 +1000 (EST)
From:      User Raymond <raymond@one.com.au>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD (V4.2) Shared memory
Message-ID:  <200012170919.TAA23290@gw.one.com.au>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012170919.TAA23290>