"User limit of inotify instances reached or too many open files" with cas.authn.attribute-repository.groovy

3 views
Skip to first unread message

Pascal Rigaux

unread,
Dec 5, 2025, 6:04:02 PM (2 days ago) Dec 5
to CAS Community
Hi,

On CAS 7.2.7 with

> cas.authn.attribute-repository.groovy[0].location=file:xxx/config/attr-resolution.groovy

we have a new inotify on the xxx/config directory at each login,
which sooner or later triggers "User limit of inotify instances reached or too many open files"
and logins are still possible... but the groovy script is simply ignored :'-(

Workaround (available since 7.0.x):

-Dorg.apereo.cas.util.io.PathWatcherService=false

(as explained here: https://apereo.github.io/cas/7.2.x/integration/Attribute-Resolution-Groovy.html )

cu

Reply all
Reply to author
Forward
0 new messages