Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: chrisp@cs.uwa.edu.au (Chris Pudney)
Subject: Re: Contiguous shared memory limit?
Date: 1995/08/18	[thread overview]
Message-ID: <chrisp.808712110@cs.uwa.edu.au> (raw)
In-Reply-To: 9522415.5523@mulga.cs.mu.OZ.AU

G'day,

In <9522415.5523@mulga.cs.mu.OZ.AU> slf@mundook.cs.mu.OZ.AU (Stewart Forster) writes:

>In article <3vr2ct$2hu@magus.cs.utah.edu>, zeleznik@venus.cs.utah.edu (Mike Zeleznik) writes:
>> OSF seems to limit memory allocation to 128MB per chunk.  Is there any way
>> to increase this?  DEC Alpha, running OSF/3.2, 256MB w/1G swap.

>	You need to change the `shmmax' paramater in the kernel. This
>defaults to 128MB.  Edit the config file and set it to whatever value
>in bytes that you need it to be, and rebuild the kernel.

This doesn't appear to work for later versions of OSF/1 (e.g. 3.2a).  
I did it for 100M (104857600).

/sbin/sysconfig -r ipc shm-max=104857600

doesn't work because I guess shm-max is not reconfigurable.  However create a
file (in stanza format) called "ipc_file" containing the following lines

ipc:
  shm-max = 104857600
                                   
and then 

/sbin/sysconfigdb -a -f ipc_file ipc

This will add the lines in ipc_file to /etc/sysconfigtab (you can edit by hand
if you prefer though sysconfigdb is safer).  Then reboot.

See the sysconfig, sysconfigdb, sysconfigtab and stanza man pages. 

Regards,
________________________________________________________________________________
Chris Pudney                                 cpudney@alphapharm.pharm.uwa.edu.au
Department of Pharmacology                      http://www.cs.uwa.edu.au/~chrisp
The University of Western Australia                      PH:  ((+61) 9) 346 4571
Nedlands, Western AUSTRALIA, 6907.                       FAX: ((+61) 9) 346 3469



      reply	other threads:[~1995-08-18  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-03  4:00 Contiguous shared memory limit? Mike Zeleznik
1995-08-12  4:00 ` Stewart Forster
1995-08-18  4:00   ` Chris Pudney [this message]
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