From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a5e0220dfd858372 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-12-03 13:14:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hearst.acc.Virginia.EDU!inn.jlab.org!kant.larc.nasa.gov!reznor.larc.nasa.gov!not-for-mail From: "Doug Boyd" Newsgroups: comp.unix.tru64 Subject: malloc and 4.0E & F... (was: where is maxdsiz in 5.1?) Date: Mon, 3 Dec 2001 15:48:02 -0500 Organization: NASA Langley Research Center, Hampton, VA, USA Message-ID: <9ugnsr$4m1$1@reznor.larc.nasa.gov> References: NNTP-Posting-Host: dqp2201.larc.nasa.gov X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.unix.tru64:6052 "Joel Gallun" wrote in message news:ygabshkvxto.fsf@severn.office.aol.com... > andy thomas writes: > > > So how do I change the maximum memory available for user programs? > > vi /etc/sysconfigtab and add something like this to it: > > proc: > max-per-proc-address-space = 3221225472 > max-per-proc-data-size = 3221225472 > per-proc-data-size = 3221225472 > > then reboot. In a related question.... I have two XP1000 machines here. One is running Digital Unix 4.0E, the other is running 4.0F... I am trying to run a program that is requesting about 1.4Gb memory (using a call to malloc). On both machines, I have increased maxdsiz, maxssiz, maxvas in the /usr/sys/conf/HOSTNAME file, rebuilt the kernel, moved it to /vunix, and rebooted. I have also changed the variables listed in the above message in the /etc/sysconfigtab file. This procedure works on the machine running 4.0E. But, the one running 4.0F always dies on the call to malloc, regardless of the values in the /usr/sys/conf/HOSTNAME or /etc/sysconfigtab files... A colleage of mine wrote a small C program to test this further. The program cycles through larger and larger memory requests with malloc until the request fails. The memory request works right up to the hard limits set in the kernel build on the machine running 4.0E. The memory request on the one running 4.0F dies around 1 Gb, seemingly regardless of the hard limit settings... This is a problem because the machine running 4.0F has 2Gb of RAM and the 4.0E machine only has 512Mb RAM... Any suggestions on what to try next to raise the limits on the 4.0F machine? Or, could this be an OS bug? Thanks, Doug d.d.boyd@larc.nasa.gov