Is it possible to add this feature.
Is it posible to limit the amount of memory or CPU time per user?
Quoth hsdm:
Quoted 1 line
Is it posible to limit the amount of memory or CPU time per user?
ulimit -m
ulimit -t
Kurt
Signature · 1 line
As long as the answer is right, who cares if the question is wrong?
Quoted 3 lines · Kurt Wall
Quoth hsdm:
Quoted 1 line
Is it posible to limit the amount of memory or CPU time per user?
Basically, no.
Quoted 2 lines
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...
Quoted 10 lines · Mike Fedyk
Quoted 2 lines · Kurt Wall
Quoth hsdm:
Quoted 1 line
Is it posible to limit the amount of memory or CPU time per user?
Basically, no.
Quoted 2 lines
ulimit -m
ulimit -tThis 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.
Signature · 1 line
Martin
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Martin" == Martin Pool <[email protected]> writes:
Quoted 4 lines · Mike Fedyk
Quoted 4 lines · Kurt Wall
Quoted 2 lines
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
Quoted 21 lines · Martin Pool
Quoted 17 lines · Mike Fedyk
Quoted 6 lines · Kurt Wall
Quoth hsdm:
Quoted 3 lines
Is it posible to limit the amount of memory or CPU time per user?
Basically, no.
Quoted 4 lines
ulimit -m
ulimit -t
Quoted 10 lines
Quoted 4 lines
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.
Quoted 8 lines · Patrick McLean
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)