Hi all,

I'm testing CAS 6.1.2 in an external Jetty (9.4.24) container, and I've been 
running into an issue where CAS logs an error message like the following:

User limit of inotify instances reached or too many open files

Prior to a huge stack trace and the application shutting down.

I originally saw this issue when running the embedded Jetty container, then 
switched over to an external container to see if that would make any difference 
(it did not). I am running Jetty in a Docker container, and have increased the 
following sysctl parameters on the Docker host:

# sysctl -p
fs.inotify.max_user_watches = 560144
fs.inotify.max_user_instances = 512

I also have increased nofiles substantially, but that doesn't seem to have 
helped either.

Any ideas on where to begin looking to resolve this issue? I see CAS constantly 
logging messages like this: 2019-12-21 03:41:46,082 INFO 
[org.apereo.cas.util.io.PathWatcherService] - <Watching directory at 
[/etc/cas/config]>, which I assume to be related to the inotify issues.

Thanks!
--Gary

--

Gary Windham

Principal Enterprise Systems Architect

University Information Technology Services

The University of Arizona



Email: windh...@email.arizona.edu<mailto:windh...@email.arizona.edu>

Office: +1 520 626 5981

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABpeFHE6uayme1VKSmpVmt1La1woeU8pMLSqbT28txU3wWCzzg%40mail.gmail.com.

Reply via email to