When the instance is being shutdown, some threads are not stopped which prevents the JVM from exiting properly.
Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/signedAudit/ca_audit.flush-4] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/signedAudit/ca_audit.rollover-4] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/system.flush-5] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/system.rollover-6] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/transactions.flush-7] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/transactions.rollover-8] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [LDAPConnThread-2 ldap://ipa.rdodom.test:7389] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [LDAPConnThread-4 ldap://ipa.rdodom.test:7389] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [RetrieveModificationsThread] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [CertStatusUpdateThread] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/selftests.log.flush-15] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [/var/lib/pki-ca/logs/selftests.log.rollover-16] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [LDAPConnThread-8 ldap://ipa.rdodom.test:7389] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [LDAPConnThread-9 ldap://ipa.rdodom.test:7389] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: A web application appears to have started a thread named [LDAPConnThread-10 ldap://ipa.rdodom.test:7389] but has failed to stop it. This is very likely to create a memory leak. Mar 25, 2015 4:05:27 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [com.netscape.cmscore.util.Debug$1@76150f6f]) and a value of type [java.text.SimpleDateFormat] (value [java.text.SimpleDateFormat@d1b317c9]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Currently Dogtag relies on the Tomcat init script to eventually kill the instance on shutdown, but ideally the threads should be stopped nicely when the instance receives a shutdown signal.
Proposed milestone: 9.0.3-x
Per CS/DS Meeting of 03/30/2015: Dogtag 9.0.x
Related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1022061
Fixed in master:
Metadata Update from @edewata: - Issue set to the milestone: 10.2.5
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/1889
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Login to comment on this ticket.