From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,343621ddae6b5135 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-17 09:34:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!sunqbc.risq.qc.ca!news.uunet.ca!localhost!not-for-mail From: James Zhang Newsgroups: comp.unix.tru64 Subject: Re: memory limit on Tru64? References: <9DNE8.17$yt3.391282@cacnews.cac.cpqcorp.net> X-Newsreader: MicroPlanet Gravity v2.60 Message-ID: Date: Fri, 17 May 2002 12:34:35 -0400 NNTP-Posting-Host: 216.183.18.189 X-Trace: localhost 1021653284 216.183.18.189 (Fri, 17 May 2002 10:34:44 MDT) NNTP-Posting-Date: Fri, 17 May 2002 10:34:44 MDT Xref: archiver1.google.com comp.unix.tru64:7722 > proc: > max_proc_per_user = 256 > max_threads_per_user = 1024 > per_proc_stack_size = 8388608 > max_per_proc_stack_size = 33554432 > per_proc_data_size = 1342177280 > max_per_proc_data_size = 1073741824 > max_per_proc_address_space = 4294967296 > per_proc_address_space = 4294967296 max_per_proc_data_size is smaller than per_proc_data_size ? James In article <9DNE8.17$yt3.391282@cacnews.cac.cpqcorp.net>, duane@hunch.zk3.dec.com says... > In article "Ja" writes: > >I recently installed Tru64 5.1A on my DS20E, on testing some benchmark > >programs (and my own code) I found that the OS is limiting my programs to a > >128MB memory space, anything bigger will just get a core dump. My system has > >2GB RAM, and I had no such problem when running Linux. > > > >I think it's just a matter of setting something somewhere, but where? I'm > >new to Tru64, so any advice would be greatly appreciated. > > You don't say exactly what you mean by "12MB memory space".... > Data size? Malloc'able space? Program text size? > > Anyway, the place to start is: > > 8:20am > limit > cputime unlimited > filesize unlimited > datasize 1310720 kbytes > stacksize 8192 kbytes > coredumpsize unlimited > memoryuse 484264 kbytes > descriptors 4096 > > The datasize here is set to 1280MB, 10 times what you indicate. > > The other thing to look at is: > > 8:20am > sysconfig -q proc > proc: > max_proc_per_user = 256 > max_threads_per_user = 1024 > per_proc_stack_size = 8388608 > max_per_proc_stack_size = 33554432 > per_proc_data_size = 1342177280 > max_per_proc_data_size = 1073741824 > max_per_proc_address_space = 4294967296 > per_proc_address_space = 4294967296 > ... > > > These can be tuned pretty easily. Look at "man sys_attrs_proc" to > find out how and what they do. > > -- > > Andrew L. Duane (JOT-7) duane@zk3.dec.com > HP/Compaq Corporation Andrew.Duane@compaq.com > 110 Spit Brook Road Andrew.Duane@hp.com > M/S ZKO3-3/U14 > Nashua, NH 03062-2698 (603)-884-1294