From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bd237f4d64086c39 X-Google-Attributes: gidfee84,public From: George Chaltas Subject: Re: Memory! More and more memory ... please! Date: 1995/04/04 Message-ID: <3lrfh1$hig@mrnews.mro.dec.com>#1/1 X-Deja-AN: 100804627 references: <3lgv2s$s2f@nrcnet0.nrc.ca> organization: Digital Equipment Corporation - Marlboro, MA newsgroups: comp.unix.osf.osf1 johnston@nrc.ca (Daniel F. Johnston (Dan)) wrote: > > I have a user with an Alpha 3000/900, 256 meg. of memory, > 200 meg swap on system disk, 300 meg swap on user disk, and > a very LARGE array to model (FEA analysis). We have installed > the latest OSF/1 (3.2). > > The problem is that the OS seems to have been configured (by > default) for 128 meg per user. I need to allow him to use as > much of the above virtual space as possible, and we can add more > memory and an another swap disk if necessary. We need at least > 500 meg of virtual space for that user (to start). > > OK ... so how do I change that limit on OSF/1. I found 'ulimit' > but I cannot find any information on it except for the man page > on th eprogram call. I have all the documentation on CD, tell > me were to look. How do I balance the max physical memory and > max virtual memory parameters to give the user his 0.5-1 gig > virtual space? > > Thanks for any help. > Dan.Johnston@nrc.ca > > The right command to change this depends on what shell you are using. The default user limits look like this (displayed by the C-shell "limit" command. cputime unlimited filesize unlimited datasize 131072 kbytes stacksize 2048 kbytes coredumpsize unlimited memoryuse 507904 kbytes descriptors 4096 files addressspace 1048576 kbytes In C-shell, the "unlimit" command will set all these values to the maximum allowed by the system: cputime unlimited filesize unlimited datasize 1048576 kbytes stacksize 32768 kbytes coredumpsize unlimited memoryuse 507904 kbytes descriptors 4096 files addressspace 1048576 kbytes In the Bourne and Korn shells, use the "ulimit" command, with a specific number. To set the datasize to 1Gb, for example, do this: ulimit -d 1048576 It is possible to change both the initial default values and the maximum allowable values, but not on a per-user basis. The default and maximum values may be set by putting entries in /etc/sysconfigtab -- this is described in appendix A of the "System Tuning and Performance Management" manual, which is on your Operating System CD. Note that if you increase datasize above 1GB, you must also increase addressspace. George Chaltas