[Ilugc] Report Log When User Exceeds Limits Set in limits.conf

  • From: abhijit.foss@xxxxxxxxx (Abhijit Navale)
  • Date: Thu, 24 Oct 2013 19:15:29 +0530

Hi.
I am looking help for this question here
http://serverfault.com/questions/536587/logging-when-limit-exceeds

We are having a website hosted on linux server where user can create
account and learn programming language.
For new user we create new linux user account and assign limits on his
cpu, memory usage and max number of processes.

Whenever user exceeds this limit the system gives error "to customer" on
his terminal.

What we want is that, system should give error "to us", the "web site
operator" or "admin" telling us that, the user called XYZ has exceeded
limit of cpu or memory or max number of processes.

How can we achieve this logging?

Also what is the best approach to assign and limit server resources for
users in case of online learning platform. Where user creates separate
linux account for himself?

Thanks in advance.

-- 
Abhijit S. Navale
http://about.me/abhijitnavale
----------------------------------------------------------------------------------------------------


Other related posts:

  • » [Ilugc] Report Log When User Exceeds Limits Set in limits.conf - Abhijit Navale