From: "Jeff Donsbach" <jeff.donsbach@nospam.compaq.com>
Subject: Re: Memory usage
Date: 2000/08/10 [thread overview]
Message-ID: <8mutdl$5jd3$1@lead.zk3.dec.com> (raw)
In-Reply-To: 8mc3ek$f1o@usenet.pa.dec.com
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 <jvlackx@earthlink.net> 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/
>
next prev parent reply other threads:[~2000-08-10 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-03 4:00 Memory usage Jay Vlack
2000-08-10 4:00 ` Jeff Donsbach [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-07-30 20:36 Memory Usage Brian Repsher
2001-07-30 23:02 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-08-02 4:00 Memory usage Brent Rice
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox