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: danpop@afsmail.cern.ch (Dan Pop) Subject: Re: Memory! More and more memory ... please! Date: 1995/04/01 Message-ID: #1/1 X-Deja-AN: 100639298 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: ues5.cern.ch references: <3lgv2s$s2f@nrcnet0.nrc.ca> organization: CERN European Lab for Particle Physics newsgroups: comp.unix.osf.osf1 In <3lgv2s$s2f@nrcnet0.nrc.ca> johnston@nrc.ca (Daniel F. Johnston (Dan)) writes: >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? In a csh compatible shell, you can fix the problem with a single command: ues5:~ 165> limit cputime unlimited filesize unlimited datasize 131072 kbytes ^^^^^^ stacksize 2048 kbytes coredumpsize unlimited memoryuse 58776 kbytes descriptors 4096 ues5:~ 166> limit datasize unlimited ues5:~ 167> limit cputime unlimited filesize unlimited datasize 1048576 kbytes ^^^^^^^ stacksize 2048 kbytes coredumpsize unlimited memoryuse 58776 kbytes descriptors 4096 If you want more than 1GB of virtual memory for a single process, you'll have to reconfigure your kernel. Other shells might have similar commands for dealing with the limits. Check the man page of your shell. Dan -- Dan Pop CERN, CN Division Email: danpop@afsmail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland