Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

For example, say I'm hitting nproc. I would expect a log message to appear /var/log/messages or similar, but it looks like that needs to be configured. How do I do that? I can't find anything relevant on google so far. OS is CentOS 6.4. Thanks!

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You aren't finding anything because it doesn't exist. It is up to the application hitting the limit to log that a syscall failed to allocate a resource.

Some quick googlefu led me to the Logging-limits.conf on github. It attempts to log when the syscalls fail with auditd. I have no experience with this package, it may destroy your system. Caveat emptor.

share|improve this answer
    
Awesome, thanks for the help! I'll take a look at that project. –  cat pants Mar 29 at 18:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.