From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1ec9de9457730e21 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,1ec9de9457730e21 X-Google-Attributes: gidf678f,public From: chrisp@cs.uwa.edu.au (Chris Pudney) Subject: Re: Contiguous shared memory limit? Date: 1995/08/18 Message-ID: #1/1 X-Deja-AN: 108352643 references: <3vr2ct$2hu@magus.cs.utah.edu> <9522415.5523@mulga.cs.mu.OZ.AU> organization: The University of Western Australia, Department of Computer Science keywords: contiguous shared memory allocation limit newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc 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