Subject: Re: kernel params
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: rj45 <rj45@lart.xmission.com>
List: port-vax
Date: 07/25/2000 05:55:48
proc.curproc.rlimit.datasize.soft = 25165824
proc.curproc.rlimit.datasize.hard = 25165824

sysctl -w proc.curproc.rlimit.datasize.soft=64000000

proc.curproc.rlimit.datasize.soft: 25165824 -> 64000000

sysctl -a

proc.curproc.rlimit.datasize.soft = 25165824
proc.curproc.rlimit.datasize.hard = 25165824


nothing happens

rj45


On Tue, 25 Jul 2000, Manuel Bouyer wrote:

> On Tue, Jul 25, 2000 at 08:26:11AM +0200, Arno Griffioen wrote:
> > > > How I set the  proc.curproc.rlimit.datasize.soft paramater to more than
> > > > 24MB ??
> > > > it won;t allow me.
> > > 
> > > Strange, what does 'sysctl proc.curproc.rlimit.datasize' says ?
> > 
> > On my 3600:
> > 
> > # sysctl proc.curproc.rlimit.datasize
> > proc.curproc.rlimit.datasize.soft = 16777216
> > proc.curproc.rlimit.datasize.hard = 25165824
> 
> Ok, so the hard limit is set to 25MB, which may be a bit low for some vaxen.
> I don't know how to change it at compile time, but you should be able to bump
> it if you're root.
> I think you could bump it for all sessions by bumping init's one in the
> startup scripts (e.g set in /etc/rc.local:
> sysctl -w proc.curproc.rlimit.datasize.hard=67108864
> to have a 64M hard limit). Then regular users should be able to bump the soft
> limit up to 64M.
> 
> --
> Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
> --
>