‎2018 Nov 14 3:38 PM - edited ‎2024 Feb 03 5:06 PM
Hi Experts,
I am getting below SEVERE errors while shutting down the datahub server 6.4.0.0,
SEVERE: The web application [/datahub-webapp] appears to have started a thread named [oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser] but has failed to stop it. This is very likely to create a memory leak.
Nov 14, 2018 8:57:32 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/datahub-webapp] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@169da8a1]) and a value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value [scala.concurrent.forkjoin.ForkJoinPool$Submitter@75b85468]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Anyone have any idea about this error?
Thanks, Niket
Request clarification before answering.
This error can be safely ignored for application [/datahub-webapp].
Un-deployment memory leaks only matters if the application [/datahub-webapp] would be re-deployed without restarting the tomcat. As the tomcat is shutdown, all those leaks are gone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Justin,
I was expecting this patch one ;), we have planned to do this as well on next week. Can you please share the commands which you are using to stnd stop the tomcat server?
Thanks, Niket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Can you please share the commands which you are using to stnd stop the tomcat server?"
You can just use the standard Tomcat commands. For details see the "Start Up Tomcat" and "Shut Down Tomcat" sections of the Tomcat docs.
Hi Niket,
Firstly, I highly suggest upgrading from 6.4.0.0 to at least the latest 6.4.0.x patch version. Many important issues have been fixed since the initial 6.4.0.0 release.
I do not think the SEVERE errors logged during shutdown are a concern. I expect that you will find that Tomcat has completely shut down and not left a running process.
Data Hub has been tested in long-running, high volume environments and we have not seen any true memory leaks reported.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.