Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: marc@cs.csubak.edu (Marc Thomas)
To: nodump@voltaire.iet.unipi.it (Massimo Macucci)
Subject: Re: Problem with ulimit and accessible memory
Date: 1999/01/15	[thread overview]
Message-ID: <77o5gp$f7p$1@hades.csu.net> (raw)
In-Reply-To: 77fpst$rkj$1@pisanino.unipi.it

In article <77fpst$rkj$1@pisanino.unipi.it>, nodump@voltaire.iet.unipi.it (Massimo Macucci) writes:
|> Some time ago, I made a posting about a problem we were having 
|> with Digital Unix V4.0 (both B and D): by default the memory
|> accessible to a process is limited down to a rather small value
|> even though the machine may have a very large RAM. 
|> 
|> Somebody posted the solution, which consisted in using the 
|> following two commands:
|> 
|> limit datasize 1048576 kbytes
|> 
|> ulimit -d 1048576
|> 
|> Now we have new Personal Workstations 500au, with 1.5 GBytes of RAM.
|> We would like to run programs that use more than a Gygabyte of memory,
|> but the above-mentioned commands fail whenever the argument is larger than
|> 1048576.
|> [snip]

check the configuration file /sys/conf/{MACHINE_NAME} for the lines

dfldsiz		{soft date size limit}
maxdsiz		{hard data size limit}

My guess is that you will find the maxdsiz set to 1048576 and ulimit
will not allow you to advance the soft limit past the hard limit.
The solution is to edit and change these lines (if you change the
soft limit you wont need to use ulimit) and rebuild the kernel,
and reboot (do "man doconfig" to review the procedure).

					Marc Thomas
					marc@zpam_hell.cs.csubak.edu

					(remove obvious for e-mail)
                           



      reply	other threads:[~1999-01-15  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-12  5:00 Problem with ulimit and accessible memory Massimo Macucci
1999-01-15  5:00 ` Marc Thomas [this message]
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