Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Problem with ulimit and accessible memory
@ 1999-01-12  5:00 Massimo Macucci
  1999-01-15  5:00 ` Marc Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Massimo Macucci @ 1999-01-12  5:00 UTC (permalink / raw)


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.

Does anybody know a solution for this problem?

Thank you in advance for your kind attention,

                                            Massimo Macucci

  In order to send me e-mail, replace "nodump" with "massimo" in the 
  return address. This is done to prevent automated collection of
  e-mail addresses by spammers. No junk-commercial mail will be tolerated.

  nodump@mercurio.iet.unipi.it                   Tel. +39 050 568537 
  Dipartimento di Ingegneria dell'Informazione   FAX  +39 050 568522
  Universita` di Pisa,  Via Diotisalvi, 2        I-56126 PISA  ITALY                            



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with ulimit and accessible memory
  1999-01-12  5:00 Problem with ulimit and accessible memory Massimo Macucci
@ 1999-01-15  5:00 ` Marc Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Thomas @ 1999-01-15  5:00 UTC (permalink / raw)
  To: Massimo Macucci

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)
                           



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-01-15  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-12  5:00 Problem with ulimit and accessible memory Massimo Macucci
1999-01-15  5:00 ` Marc Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox