On Tue, 2004-01-13 at 16:57, Philip Schroth wrote:
> Hi out there,
> 
> I manage an ltsp environment mainly used by kids.. They like to surf the web 
> and play online flash games.. So far so good.. Only sometimes the flash games 
> put an heavy load on the system..
> 
> Is there an solution to set some maximum load level for the terminal users..
> 
> The system is an Pentium 2G, 1G Ram. Suse 9.0 and ltsp 3.. There are maximum 4 
> terminals online at the moment due the load..

Philip,
/etc/security/limits.conf will let you set limits on the number of
sessions per user and other limits. These limits are controlled by PAM
and are enforced at login time.  Look at /etc/pam.d/system_auth as well;
it should have a line that says
"session required /lib/security/$ISA/pam_limits.so"

To enforce usage limits, use ulimit in /etc/profile.  For example,
"ulimit -S -c 0" sets a soft limit on coredump sizes of zero, meaning
that programs cannot dump core when they crash.

For an explanation of ulimit, type
# man bash
/ulimit

(TRANSLATION: search for ulimit in bash's manual)

-David
-- 
David Johnston <[EMAIL PROTECTED]>
Little Bald Consulting, LLC


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to