* maximum data per process
@ 1998-07-20 4:00 Gunter von Hayn
1998-07-20 4:00 ` Mike Fagan
0 siblings, 1 reply; 3+ messages in thread
From: Gunter von Hayn @ 1998-07-20 4:00 UTC (permalink / raw)
Hi all,
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 run Digital Unix 4.0
Any help is welcome.
Thank You
Gunter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: maximum data per process
1998-07-20 4:00 maximum data per process Gunter von Hayn
@ 1998-07-20 4:00 ` Mike Fagan
1998-07-21 4:00 ` Vincent DELOYE
0 siblings, 1 reply; 3+ messages in thread
From: Mike Fagan @ 1998-07-20 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: maximum data per process
1998-07-20 4:00 ` Mike Fagan
@ 1998-07-21 4:00 ` Vincent DELOYE
0 siblings, 0 replies; 3+ messages in thread
From: Vincent DELOYE @ 1998-07-21 4:00 UTC (permalink / raw)
Hello,
I recently answer to Gunter that, for the same problem, I use the
"dxkerneltuner" utility.
When "dxkerneltuner" is started, choose "proc" and then you could modify
the "per-proc-data-size" field. After modification, you must reboot.
PS : I don't reply directly to the news group because I am not sure that
it is the only way to do this modification (and, also, I am not sure of
my english).
Regards.
--
-----------------------------------------------------------------------
| Vincent Deloye | Societe S.S.T.I |
| Analyste Programmeur | 31,Av. Champollion |
| mailto:vincent.deloye@ssti.fr | 31100 TOULOUSE |
| Tel: 05 61 43 65 73 | Tel: 05 61 43 65 65 |
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-07-21 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-20 4:00 maximum data per process Gunter von Hayn
1998-07-20 4:00 ` Mike Fagan
1998-07-21 4:00 ` Vincent DELOYE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox