lkml.org 
[lkml]   [2001]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.4.8 Resource leaks + limits
Date
Probably both -- he's thinking more about the userspace side of it, though.

Since you want these settings to vary by user and persist across reboots,
the default levels will need to be stored in some table/database and /etc
seems like the appropriate place. Of course, that's more PAM's domain
than a kernel issue, but the userspace connection is still important.

Will there be a utility for viewing/changing per-user limits? If so, what
should it be called? Will we just pile more values into ulimit? We're
running a little short on intuitive flags.

/proc entries are okay for tweaking kernel parameters, but it seems a
little weak as a primary interface. You might as well have ps say 'Go
grep it yourself!'

-- Brian

On Wednesday 15 August 2001 01:56 am, J Sloan wrote:
> dmaynor@iceland.oit.gatech.edu wrote:
> > > This is why you mainly find per-process stuff in all the limits.
> > >
> > > Linux has had (for a while now) a "struct user" that is actually
> > > quickly accessible through a direct pointer off every process that
> > > is associated with that user, and we could (and _will_) start adding
> > > these kinds of limits. However, part of the problem is that because
> > > the limits haven't historically existed, there is also no accepted
> > > and nice way of setting the limits.
> >
> > So when you do impose this, where will it be setable, will there be a
> > flat file in /etc like solaris, or compile time for the kernel?
>
> Eh?
>
> Why wouldn't it be like most parameters in Linux,
> e.g. dynamically adjustable via a sysctl or /proc?
>
> IMHO, of course...
>
> cu
>
> jjs
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> in the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.065 / U:2.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site