* need more SYSV shared memory
@ 1998-03-19 5:00 Jarek Nieplocha
1998-03-20 5:00 ` linnartz
1998-03-22 5:00 ` Eric D. Osborne
0 siblings, 2 replies; 3+ messages in thread
From: Jarek Nieplocha @ 1998-03-19 5:00 UTC (permalink / raw)
Hi,
Is there a way to increase the shared memory
limits (SHMMAX and SHMMID) as specified /sys/include/sys/param.h?
The default settings give only 128MB of shared memory (32x 4MB).
Thanks,
Jarek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need more SYSV shared memory
1998-03-19 5:00 need more SYSV shared memory Jarek Nieplocha
@ 1998-03-20 5:00 ` linnartz
1998-03-22 5:00 ` Eric D. Osborne
1 sibling, 0 replies; 3+ messages in thread
From: linnartz @ 1998-03-20 5:00 UTC (permalink / raw)
Y\x7fou have to add some entries in /etc/sysconfigtab
1)
ipc:
shm-max = 2139095040
you can verify via /sbin/sysconfig -q ipc teh current settings.
You mostly have to adjust some more sysconfigtab parameters if you
increase the datasize being in use,
vm:
vm-maxvas = 4294967296
vm-vpagemax = 65535
vm-mapentries = 16384
The latter two are not directly related, but I always suggest
to increase them befoer you ran into failures. If you're using
threads you definitly should use those.
proc:
per-proc-data-size = 4294967296
max-per-proc-data-size = 4294967296
max-per-proc-address-space = 4294967296
per-proc-address-space = 4294967296
If you want to have shared memory size larger than 2GB, you have to
obtain multiple segments. You have to take care that there are no
wholes in between. The 2 GB limitation will dissappear whith the Unix98
standard.
Pit
> Is there a way to increase the shared memory
> limits (SHMMAX and SHMMID) as specified /sys/include/sys/param.h?
> The default settings give only 128MB of shared memory (32x 4MB).
>
> Thanks,
>
> Jarek
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need more SYSV shared memory
1998-03-19 5:00 need more SYSV shared memory Jarek Nieplocha
1998-03-20 5:00 ` linnartz
@ 1998-03-22 5:00 ` Eric D. Osborne
1 sibling, 0 replies; 3+ messages in thread
From: Eric D. Osborne @ 1998-03-22 5:00 UTC (permalink / raw)
Jarek Nieplocha wrote:
>
> Hi,
>
> Is there a way to increase the shared memory
> limits (SHMMAX and SHMMID) as specified /sys/include/sys/param.h?
> The default settings give only 128MB of shared memory (32x 4MB).
>
> Thanks,
>
> Jarek
You can do it with the sysconfigdb command. Do a sysconfig -q ipc to
get the current values, and see the sysconfigdb man page for details.
All the IPC settings, including the max segment size, number of segments
etc can be configured this way.
Eric D. Osborne
Digital Equipment Corporation
------------------------------------------------------------------
Any comments or opinions expressed above are my own, and should not
be construed as any official statement on the part of Digital Equipment
Corporation.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-22 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-19 5:00 need more SYSV shared memory Jarek Nieplocha
1998-03-20 5:00 ` linnartz
1998-03-22 5:00 ` Eric D. Osborne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox