From: Patrick O'Rourke USG <orourke@zk3.dec.com>
Subject: Re: Maximum size of a shared memory segement?
Date: 1996/10/17 [thread overview]
Message-ID: <326652E9.15FB@zk3.dec.com> (raw)
In-Reply-To: ygdramyoi80.fsf@bart.sed.stel.com
Ken Reed wrote:
>
> Anyone know what the maximum size of a shared memory segment is under
> DEC UNIX and the maximum number of system-wide segements you can have?
The maximum size is 2gb even though the size argument to shmget(2)
is 'size_t' - 64 bits. The reason for the 2gb restriction is
that the shm_segsz in the shmid_ds structure is only a signed
integer. I believe this field may be changing to a 'size_t' in
a newer standard.
The maximum number of system wide shared memory segments possible
is controlled by the shm-mni value. You may also want to take into
consideration shm-seg which is the maximum number of segments that
a process can attach at one time. Both of these values are within
the ipc subsystem of the /etc/sysconfigtab file.
> A pointer to where this information is documented would be a great
> help.
Look at the man page for the sysconfigtab(4) file, the sysconfig(8)
command and also the "System Tuning and Performance Management"
manual.
Pat
--
Patrick O'Rourke (603) 881-0124
orourke@zk3.dec.com Office: ZK3/3S05
next prev parent reply other threads:[~1996-10-17 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-16 4:00 Maximum size of a shared memory segement? Ken Reed
1996-10-17 4:00 ` Patrick O'Rourke USG [this message]
1996-10-17 4:00 ` Curt Smith
1996-10-18 4:00 ` Randy M. Hayman
1996-10-21 4:00 ` Ken Reed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox