IDPv3 really slow startup
xvado00
xvado00 at vse.cz
Mon Mar 11 11:20:03 EDT 2019
Hi, I decided to resurrect this, as I might have a similar problem and this
was the only search result that seemed relevant as it mentions:
Gavin Jackson wrote
> 2015-10-20 10:14:50,683 - INFO
> [net.shibboleth.ext.spring.util.SchemaTypeAwareXMLBeanDefinitionReader:317]
> - Loading XML bean definitions from file
> [/opt/shibboleth-idp/conf/attribute-filter.xml]
> <
> <BIG DELAY HERE - 14 minutes>
>>
I do experience exactly that on one of our Shibboleth IdP servers. The
server in question is virtualized in VMWare, uses up-to-date Debian 9,
OpenJDK 8, Tomcat 8.5, and Shibboleth IdP 3.3.3. When rebooted Tomcat starts
about 13 minutes, large portion of that time the Shibboleth log hangs with:
2019-02-28 09:58:01,693 - INFO
[net.shibboleth.ext.spring.util.SchemaTypeAwareXMLBeanDefinitionReader:317]
- Loading XML bean definitions from file
[/opt/shibboleth-idp/conf/attribute-filter.xml]
2019-02-28 10:09:21,861 - INFO
[net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:583]
- Refreshing ApplicationContext:shibboleth.AttributeFilterService: startup
date [Thu Feb 28 10:09:21 CET 2019]; parent: Root WebApplicationContext
The things that I found out so far:
- The first strange thing is that on the other server that is run in the KVM
virtualization (and except from that should have the same configuration) the
Tomcat starts much faster (about 3,5 minutes) and also does not hang on
processing attribute-filter.xml.
I diffed the Shibboleth IdP configuration files and they are exactly the
same.
- The second strange thing is that just restarting tomcat without server
reboot is much faster (about 4 minutes), though also a large proportion of
this time Shibboleth log hangs on processing attribute-filter.xml
- I have tried setting unpackWARs=true on the server in question, and while
it did speed up the start somewhat, it was still noticeably slower than on
the other server. Moreover the other server still has unpackWARs=false.
Furthermore, the speed-up time was not consistent in between reboots.
Would you have any suggestions where to look at in order to debug this? I
can provide further configuration details/files if needed.
--
Sent from: http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html
More information about the users
mailing list