Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Mike Fagan <mfagan@nospam.infoave.net>
Subject: Re: maximum data per process
Date: 1998/07/20	[thread overview]
Message-ID: <35B394D7.EC9B95B@nospam.infoave.net> (raw)
In-Reply-To: 35B34996.41C6@ww2.msi.rwth-aachen.de

Gunter von Hayn wrote:

> it seems that I can not get bigger blocks than 128MB for
> a process, e.g. with a single malloc(). If a use malloc during a
> process multiple times, I can get more memory.
>
> Does it depend on the kernel configuration?
> Do i need to change something?
>
> the config file says:
> dfldsiz         134217728
> maxdsiz         1073741824
> dflssiz         2097152
> maxssiz         33554432
> cpu             "DEC_KN20AA"
> maxusers        32

I've recently run into the same problem with my news server running INN
2.0 under DU 4.0D.  I kept trying to expire news and was getting a
malloc error saying it malloc that much.  To fix it I did a `ulimit -d
<BYTES>` where bytes is the max memory size you want available.  Now if
I could just figure out how to make this permenant, as the ulimit
command only makes it last for the current shell process.  I had to put
the ulimit command into a shell script that runs expire for INN, and it
fixed my problem.

If anyone can tell us how to change this value permanently, I, and I'm
sure Gunter, would love to know.

Mike Fagan, Sysadmin, Info Avenue Internet Services




  reply	other threads:[~1998-07-20  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-20  4:00 maximum data per process Gunter von Hayn
1998-07-20  4:00 ` Mike Fagan [this message]
1998-07-21  4:00   ` Vincent DELOYE
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