Subject: Re: kernel params
To: Arno Griffioen <griffioena@psi.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-vax
Date: 07/25/2000 11:39:25
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
--