1

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!

1 Answer 1

3

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.

1
  • Awesome, thanks for the help! I'll take a look at that project.
    – cat pants
    Mar 29, 2014 at 18:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .