[7.0.5.1] Slow response time

50 views
Skip to first unread message

spfma...@e.mail.fr

unread,
Jul 5, 2024, 12:18:18 PMJul 5
to cas-...@apereo.org
Hi,
 
I have just deployed CAS 7.0.5.1 using the configuration files from the 6.6.13 instance (home-made Docker image) we were successfully running until now.
 
After some minor changes due to the deprecation of some configuration attributes, everyting is running fine.
 
But I have a strange performance problem with OIDC (it's the first service I have experienced some problems with).
 
Right after CAS has been started, things need some time to wake up, I am used to that.
So when I try to authenticate using OIDC after startup, I have to wait around 15 seconds until I get the CAS login page. Then around the same delay until I get the claim release page.
After that, everything is fine and all subsequent OIDC calls are fast.
 
But if I leave CAS running for "some time" (I have not measured it yet, but the problem occurs if I leave it alone overnight for sure), I experience those delays again.
Of course, the application has not been restarted in between.
 
Nothing has changed, the LDAP datasource, the applications, the server, everything is still the same.
 
So far I have not been able to find anything useful or relevant in the logs, be it on CAS server or apps side.
 
Any idea about why this is occuring ? Maybe I missed some new parameter with a new default value or ...
 
Regards


FreeMail powered by mail.fr

Matthew Gordon

unread,
Jul 18, 2024, 4:23:28 AM (7 days ago) Jul 18
to CAS Community, spfma...@e.mail.fr
Assume you are using embedded tomcat? if so:

server.tomcat.background-processor-delay=0s

spfma...@e.mail.fr

unread,
Jul 18, 2024, 7:01:23 AM (7 days ago) Jul 18
to cas-...@apereo.org
Hi,
 
I had already found "spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.EmbeddedWebServerFactoryCustomizerAutoconfiguration", which seemed to solve the slow response after a long idle period.
But with this specific Tomcat setting, it's blazing fast right from startup.
 
Thank you very much !
--
- Website: https://apereo.github.io/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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/35acdf0a-6579-4584-b6a2-a143c64162f6n%40apereo.org.
Reply all
Reply to author
Forward
0 new messages