Logging violations of rules in limits.conf

Posted by PaulDaviesC on Server Fault See other posts from Server Fault or by PaulDaviesC
Published on 2013-10-25T14:09:22Z Indexed on 2013/10/25 15:56 UTC
Read the original article Hit count: 197

Filed under:
|
|
|
|

I am trying to log the details of the programs that where failed due to the limit cap defined in the limits.conf. My initial plan was to do it using the audit system. The idea was to track the system calls related to limits in the limits.conf that where failed. However the problem with this approach is that , it is not possible to track the violations of cpu time, since that violation do not involve failure of system calls. In the case of CPU time , one thing happens is that the program which violated the cpu time will be delivered a SIGXCPU. So my question is how should I go about logging the programs that violated CPU time? Also is there any limits.conf specific logs available?

© Server Fault or respective owner

Related posts about linux

Related posts about logging