CAS 6.1.2 inotify issues

41 views
Skip to first unread message

Windham, Gary D - (windhamg)

unread,
Dec 21, 2019, 12:34:13 AM12/21/19
to cas-...@apereo.org
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: wind...@email.arizona.edu

Office: +1 520 626 5981

Josh

unread,
Feb 25, 2020, 1:40:39 PM2/25/20
to CAS Community
Were you able to find a solution to this? We're running into this on our sub-production instance of CAS but have not experienced it on any production instances yet.
Reply all
Reply to author
Forward
0 new messages