[Gllug] ulimits

Jon Masters jonathan at jonmasters.org
Fri Aug 31 02:35:52 UTC 2001


Hi,

I have some fairly standard ulimits imposed via the PAM limits.conf file
on a largish fileserver/workhorse box which work fine except I want to
do something which is not listed in the manuals/other docs AFAICS.

I know you can restrict CPU /time/ and set /priority/ limits but I want
to be able to say "for user blah do not let them have more than 50% of
CPU at any one moment in time" - I know it's not nice...but I want to.

I have thought about monitoring scripts which keep an eye on users and
which run at a higher priority than the user's processes (coupled with
setting each user to lower priority levels than that of core stuff which
must be kept running on that box all the time) but these are all kludges
- what I want is something I do not seem to be able to find. Any ideas?

I don't need a lesson in user limits, just an answer to this question :)

Cheers,

--jcm



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list