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.

On Saturday, December 21, 2019 at 12:34:13 AM UTC-5, windhamg wrote:
>
> 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: [email protected] <javascript:>
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/25941bd1-0864-48e7-81df-0ee844d0229b%40apereo.org.

Reply via email to