All of lore.kernel.org
 help / color / mirror / Atom feed
* Is it possible to add this feature.
@ 2003-08-06  0:20 hsdm
  2003-08-06  0:30 ` Kurt Wall
  0 siblings, 1 reply; 7+ messages in thread
From: hsdm @ 2003-08-06  0:20 UTC (permalink / raw)
  To: linux-kernel

Is it posible to limit the amount of memory or CPU time per user?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is it possible to add this feature.
  2003-08-06  0:20 Is it possible to add this feature hsdm
@ 2003-08-06  0:30 ` Kurt Wall
  2003-08-06  0:53   ` Mike Fedyk
  0 siblings, 1 reply; 7+ messages in thread
From: Kurt Wall @ 2003-08-06  0:30 UTC (permalink / raw)
  To: hsdm; +Cc: linux-kernel

Quoth hsdm:
> Is it posible to limit the amount of memory or CPU time per user?

ulimit -m
ulimit -t

Kurt
-- 
As long as the answer is right, who cares if the question is wrong?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is it possible to add this feature.
  2003-08-06  0:30 ` Kurt Wall
@ 2003-08-06  0:53   ` Mike Fedyk
  2003-08-06  7:47     ` Martin Pool
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Fedyk @ 2003-08-06  0:53 UTC (permalink / raw)
  To: Kurt Wall; +Cc: hsdm, linux-kernel

On Tue, Aug 05, 2003 at 08:30:54PM -0400, Kurt Wall wrote:
> Quoth hsdm:
> > Is it posible to limit the amount of memory or CPU time per user?
> 

Basically, no.

> ulimit -m
> ulimit -t

This is per session, and the user can have many sessions.  Unless you limit
the number of sessions a user can have...

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is it possible to add this feature.
  2003-08-06  0:53   ` Mike Fedyk
@ 2003-08-06  7:47     ` Martin Pool
  2003-08-06  9:03       ` Peter Chubb
  2003-08-07  6:44       ` Patrick McLean
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Pool @ 2003-08-06  7:47 UTC (permalink / raw)
  To: hsdm, linux-kernel

On Tue, 05 Aug 2003 17:53:48 -0700, Mike Fedyk wrote:

> On Tue, Aug 05, 2003 at 08:30:54PM -0400, Kurt Wall wrote:
>> Quoth hsdm:
>> > Is it posible to limit the amount of memory or CPU time per user?
> Basically, no.
> 
>> ulimit -m
>> ulimit -t
> 
> This is per session, and the user can have many sessions.  Unless you
> limit the number of sessions a user can have...

Mike is correct that you cannot have system-wide per-user limits at the
moment, at least in the standard kernel.  However, it would be possible to
add it, if you find somebody to develop it for you.

-- 
Martin


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is it possible to add this feature.
  2003-08-06  7:47     ` Martin Pool
@ 2003-08-06  9:03       ` Peter Chubb
  2003-08-07  6:44       ` Patrick McLean
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Chubb @ 2003-08-06  9:03 UTC (permalink / raw)
  To: Martin Pool; +Cc: hsdm, linux-kernel

>>>>> "Martin" == Martin Pool <mbp@sourcefrog.net> writes:

Martin> On Tue, 05 Aug 2003 17:53:48 -0700, Mike Fedyk wrote:
>> On Tue, Aug 05, 2003 at 08:30:54PM -0400, Kurt Wall wrote:
>>> Quoth hsdm: > Is it posible to limit the amount of memory or CPU
>>> time per user?
>> Basically, no.

Martin> Mike is correct that you cannot have system-wide per-user
Martin> limits at the moment, at least in the standard kernel.
Martin> However, it would be possible to add it, if you find somebody
Martin> to develop it for you.

Aurema have already done something similar:  http://www.aurema.com/
however, I don't believe it's available for 2.6.0, and it is a
commercial product.

Peter C

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is it possible to add this feature.
  2003-08-06  7:47     ` Martin Pool
  2003-08-06  9:03       ` Peter Chubb
@ 2003-08-07  6:44       ` Patrick McLean
  2003-08-07 12:32         ` Alan Cox
  1 sibling, 1 reply; 7+ messages in thread
From: Patrick McLean @ 2003-08-07  6:44 UTC (permalink / raw)
  To: linux-kernel

Martin Pool wrote:

>On Tue, 05 Aug 2003 17:53:48 -0700, Mike Fedyk wrote:
>
>  
>
>>On Tue, Aug 05, 2003 at 08:30:54PM -0400, Kurt Wall wrote:
>>    
>>
>>>Quoth hsdm:
>>>      
>>>
>>>>Is it posible to limit the amount of memory or CPU time per user?
>>>>        
>>>>
>>Basically, no.
>>
>>    
>>
>>>ulimit -m
>>>ulimit -t
>>>      
>>>
>>This is per session, and the user can have many sessions.  Unless you
>>limit the number of sessions a user can have...
>>    
>>
>
>Mike is correct that you cannot have system-wide per-user limits at the
>moment, at least in the standard kernel.  However, it would be possible to
>add it, if you find somebody to develop it for you.
>  
>
I am going to be working on this feature with a friend starting in
September as a term project (we are both undergrads in computer
science), and a way to get into kernel hacking :) Send me a mail if
you want more info, or if you want us to keep you up to date on
our progress.

We will also be loking for ways to specify the limits in a fairly 
simple, but scalable way, and we will be happy for any suggestions.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is it possible to add this feature.
  2003-08-07  6:44       ` Patrick McLean
@ 2003-08-07 12:32         ` Alan Cox
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Cox @ 2003-08-07 12:32 UTC (permalink / raw)
  To: Patrick McLean; +Cc: Linux Kernel Mailing List

On Iau, 2003-08-07 at 07:44, Patrick McLean wrote:
> I am going to be working on this feature with a friend starting in
> September as a term project (we are both undergrads in computer
> science), and a way to get into kernel hacking :) Send me a mail if
> you want more info, or if you want us to keep you up to date on
> our progress.
> 
> We will also be loking for ways to specify the limits in a fairly 
> simple, but scalable way, and we will be happy for any suggestions.

Google for two things - firstly Rik van Riel's bits of work (I think it
was Rik anyway) on a fair share scheduler, also "beancounter" which was
a patch long ago that started to attack the limits issues)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-08-07 12:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-06  0:20 Is it possible to add this feature hsdm
2003-08-06  0:30 ` Kurt Wall
2003-08-06  0:53   ` Mike Fedyk
2003-08-06  7:47     ` Martin Pool
2003-08-06  9:03       ` Peter Chubb
2003-08-07  6:44       ` Patrick McLean
2003-08-07 12:32         ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.