Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Contiguous shared memory limit?
@ 1995-08-03  4:00 Mike Zeleznik
  1995-08-12  4:00 ` Stewart Forster
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Zeleznik @ 1995-08-03  4:00 UTC (permalink / raw)


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.

I am running IBM's Data Explorer.  It wants to allocate "contiguous shared"
memory, and complains that it can not get more than 128MB.

Thanks,
Mike



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Contiguous shared memory limit?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Stewart Forster @ 1995-08-12  4:00 UTC (permalink / raw)



Hi,

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.
> 
> I am running IBM's Data Explorer.  It wants to allocate "contiguous shared"
> memory, and complains that it can not get more than 128MB.
> 
> Thanks,
> Mike

	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.

	Cheers,

		Stewart.
-- 
+--------------------------------------------------------------------------+
|Stewart Forster          Snr Systems Programmer - Dept of Computer Science|
|Phone : +61 3 2879108    SEECS Bldng, 221 Bouverie St, Uni. Of Melbourne  |
|Email : slf@cs.mu.OZ.AU  Carlton, 3052, Victoria, Australia.              |



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Contiguous shared memory limit?
  1995-08-12  4:00 ` Stewart Forster
@ 1995-08-18  4:00   ` Chris Pudney
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Pudney @ 1995-08-18  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-08-18  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox