From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,399bb77d9e36fdec X-Google-Attributes: gid1164f8,public From: "Jeff Donsbach" Subject: Re: Memory usage Date: 2000/08/10 Message-ID: <8mutdl$5jd3$1@lead.zk3.dec.com>#1/1 X-Deja-AN: 656862839 Content-Transfer-Encoding: 7bit References: <8mc3ek$f1o@usenet.pa.dec.com> X-Priority: 3 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: iass@ajo.zk3.dec.com X-Trace: lead.zk3.dec.com 965933301 183715 16.129.22.75 (10 Aug 2000 18:48:21 GMT) Organization: Compaq Computer Corp X-MSMail-Priority: Normal Mime-Version: 1.0 NNTP-Posting-Date: 10 Aug 2000 18:48:21 GMT Newsgroups: comp.sys.dec Actually, the first step in fixing this is a little simpler than reconfiguring the kernel. The default limits are 128MB - per process data size (default for user processes) 1GB - kernel limit per process (kernel's "hard" limit) A user can increase his default limit up to the kernel's hard limit by using the C-Shell "limit" command or the "/bin/ulimit" command in other shells. I.e. % unlimit datasize (C-Shell syntax) increases your default data size for that shell and any child processes of that shell from then on. I usually put "unlimit datasize" in my .cshrc file. If you need to increase the kernel's "hard limit" beyond 1GB, you can edit the "sysconfigtab" file as outlined below. You can also use the "dxkerneltuner" CDE GUI tool. It will handle the formatting correctly in the "sysconfigtab" file. There are actually two parameters in the "proc" subsystem. "per-proc-data-size" is the user default datasize (aka the "soft" limit). The default value for this is 128MB. The parameter "max-per-proc-data-size" is the value for the kernel's "hard limit". It's default value is 1 GB. In Tru64 V5.0 and later, I beleive the defaults for these values have been changed to 1GB and 4GB respectively. Regards, Jeff Donsbach Compaq Computer Corp Partner Engineering Jay Vlack wrote in message news:8mc3ek$f1o@usenet.pa.dec.com... > Hi, > > I assume that you're running Tru64 UNIX. If so, read on... > > You need to increase the maximum per process data segment size. The default value is 134217728, or roughly 130MB as you noted. > > Create a stanza file and use sysconfigdb to update the proc subsystem in sysconfigtab. For example, the following will increase the value to 500MB: > > proc: > per-proc-data-size = 536870912 > > You must reboot the system before the changes will take effect. See the man pages for "sysconfigdb" and "stanza" for more details, and be careful not to take too much memory away from the OS. > > --> Jay > > -- > Spam note: remove the x from my email address to reply. > > Posted with Ink Spot for WinCE > http://www.dejavusoftware.com/ >