IMHO: if I want something in Linux I just write the app I want
if I cannot find it. .. 

....you have all of the kernel source code and it may be
possible to implement this in the kernel. The kernel currenly
has how much memory a process is using, it may be possible to
have the scheduler (?not the best place?) check the memory that
a task is using and if it has exceded a defined limit then do
something like kill the process, this could be done something
like

#ifdef __MEMORY_LIMIT__
    if (tsk-> what is that memory parameter > set_limit) {
       do what ever
    }
#endif

set_limit could also be a parameter that is changed in the /proc
file system. if the value in the /proc is null it has no
limits.. 

this may be a topic for discussion on the kernel mailing list,
as this is not necessarily SMP specific....

the only problems here is that if a process does not excede the
limit and the scheduler schedules it, then as the process starts
its run it could excede sys limits 

(hehehe.. use the source Luke....)

--- Jesse Pollard <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >   I beleive that i read somewhere that you do not have to
> use
> >the /etc/passwd files for users that you can use a user
> database
> >..in fact there was something abotu that at slashdot.org a
> while
> >ago.. where someone had a system that they were going to
> >potentially have 1000 users or something like that and it was
> >suggested that they use a user database.. I do not remeber
> all
> >the details.. however this Linux ~= UNIX and I do believe
> that a
> >user database is do able in any UNIX. There should be lots of
> >documentation on how to implement a system like that....
> 
> Yes. The major limit (until PAM becomes fully supported) is
> the applications
> that continue to depend on password files (NIS/NFS, ps, ls,
> id, login,
> xdm, telnetd,....). There is also a need to be able to enforce
> some
> resource limits. Currently this is not (yet) supported in the
> kernel, other
> than disk quotas.
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to