Subject: Re: "make" with pkgsrc
To: None <netbsd-help@netbsd.org>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-help
Date: 02/25/2003 10:26:46
hi!
>> ulimit -u unlimited
>
>
> What's the diference executing 'ulimit -u unlimited' command from 'sysctl -w kern.maxproc=value'?
>
i'm sorry that i have an off-topic question but it is connected to
this... few days ago i asked about setting memory limits for binaries. i
got few replies recommending setting up the login.conf...
1) well, is it possible to use "unlimited" as the value in the login.conf?
2) what are the corresponding "properties" in the sysctl for setting up
the amount of heap memory available to certain process (i.e. usable by
malloc)?
maybe
proc.curproc.rlimit.memoryuse.soft
proc.curproc.rlimit.memoryuse.hard
btw, what's the most "clean" way of doing this? "redefining" sysctl, or
creating login.conf?
regards,
lubos
--
-
#################################################
Lubos Vrbka
National Centre for Biomolecular Research
Masaryk university, Brno, Czech Republic
shnek@chemi.muni.cz
http://www.chemi.muni.cz/~shnek
tel. +420 541 129 508
#################################################