From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c65172038769268e X-Google-Attributes: gid1164f8,public From: marc@cs.csubak.edu (Marc Thomas) Subject: Re: Problem with ulimit and accessible memory Date: 1999/01/15 Message-ID: <77o5gp$f7p$1@hades.csu.net>#1/1 X-Deja-AN: 433070347 Distribution: world References: <77fpst$rkj$1@pisanino.unipi.it> To: nodump@voltaire.iet.unipi.it (Massimo Macucci) Organization: Cal. State Univ. Bakersfield Newsgroups: comp.sys.dec 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)