Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: danpop@afsmail.cern.ch (Dan Pop)
Subject: Re: Memory! More and more memory ... please!
Date: 1995/04/01	[thread overview]
Message-ID: <danpop.796777424@rscernix> (raw)
In-Reply-To: 3lgv2s$s2f@nrcnet0.nrc.ca

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



  parent reply	other threads:[~1995-04-01  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-31  5:00 Memory! More and more memory ... please! Daniel F. Johnston (Dan)
1995-04-01  5:00 ` cherkus
1995-04-01  5:00 ` Dan Pop [this message]
1995-04-04  4:00 ` George Chaltas
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