ExecutionPoolPulseWorker Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ExecutionPoolPulseWorker Error

Adrian Crum-2
Latest trunk, during shutdown...

2010-06-12 10:28:39,000 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ExecutionPoolPulseWorker(0)] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,000 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ExecutionPoolPulseWorker(1)] but has failed to stop it. This is very likely to create a memory leak.

-Adrian



     
Reply | Threaded
Open this post in threaded view
|

Re: ExecutionPoolPulseWorker Error

Adrian Crum-2
Oops, found more:

2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(0) pulse] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(1) pulse] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ReferenceCleaner] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-0] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-1] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-2] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-3] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-0] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-1] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-2] but has failed to stop it. This is very likely to create a memory leak.
2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-3] but has failed to stop it. This is very likely to create a memory leak.


--- On Sat, 6/12/10, Adrian Crum <[hidden email]> wrote:

> Latest trunk, during shutdown...
>
> 2010-06-12 10:28:39,000 (OFBiz_Shutdown_Hook) [ 
> WebappClassLoader.java:1998:ERROR] A web application appears
> to have started a thread named [ExecutionPoolPulseWorker(0)]
> but has failed to stop it. This is very likely to create a
> memory leak.
> 2010-06-12 10:28:39,000 (OFBiz_Shutdown_Hook) [ 
> WebappClassLoader.java:1998:ERROR] A web application appears
> to have started a thread named [ExecutionPoolPulseWorker(1)]
> but has failed to stop it. This is very likely to create a
> memory leak.
>
> -Adrian
>
>
>
>      
>



Reply | Threaded
Open this post in threaded view
|

Re: ExecutionPoolPulseWorker Error

Adam Heath-2
Adrian Crum wrote:

> Oops, found more:
>
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(0) pulse] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(1) pulse] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ReferenceCleaner] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-0] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-1] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-2] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [ThreadPool-3] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-0] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-1] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-2] but has failed to stop it. This is very likely to create a memory leak.
> 2010-06-12 10:28:39,093 (OFBiz_Shutdown_Hook) [  WebappClassLoader.java:1998:ERROR] A web application appears to have started a thread named [TTLObject(async-update)-3] but has failed to stop it. This is very likely to create a memory leak.
>
>
> --- On Sat, 6/12/10, Adrian Crum <[hidden email]> wrote:
>> Latest trunk, during shutdown...
>>
>> 2010-06-12 10:28:39,000 (OFBiz_Shutdown_Hook) [
>> WebappClassLoader.java:1998:ERROR] A web application appears
>> to have started a thread named [ExecutionPoolPulseWorker(0)]
>> but has failed to stop it. This is very likely to create a
>> memory leak.
>> 2010-06-12 10:28:39,000 (OFBiz_Shutdown_Hook) [
>> WebappClassLoader.java:1998:ERROR] A web application appears
>> to have started a thread named [ExecutionPoolPulseWorker(1)]
>> but has failed to stop it. This is very likely to create a
>> memory leak.

None of these are leaks; they are purely background threads, that are
used to support non-blocking updates of various things.  I believe
they have the daemon bit set; I'll check on that.  If they do,
however, then the above messages are the bug.
Reply | Threaded
Open this post in threaded view
|

Re: ExecutionPoolPulseWorker Error

twosolution
In reply to this post by Adrian Crum-2
hi,
sorry for reviving this thread.
i am to getting error of memory leak when i shutdown ofbiz application.

i googled and get this reference.
http://www.coderanch.com/t/498919/Tomcat/Memory-Leak-repeat-deploy-undeploy
look at replied #3

i have tried to run ant clean-catalina
after that, i start up ofbiz, login into the catalog manager, then logout.
and then stop ofbiz

the error about the memory leak still appear.

does anyone manage to resolve this memory leak error ?
Reply | Threaded
Open this post in threaded view
|

Re: ExecutionPoolPulseWorker Error

Jacques Le Roux
Administrator
I believe we have no longer these errors messages in trunk, which version are you using?
You might be interested by a recent improvements I committed, not sure it will help you much though.
http://svn.apache.org/viewvc?view=revision&revision=r1542795
Also not sure you are facing a real problem, did you profile?

Jacques

On Thursday, November 21, 2013 10:00 AM twosolution <[hidden email]> wrote:

> hi,
> sorry for reviving this thread.
> i am to getting error of memory leak when i shutdown ofbiz application.
>
> i googled and get this reference.
> http://www.coderanch.com/t/498919/Tomcat/Memory-Leak-repeat-deploy-undeploy
> look at replied #3
>
> i have tried to run ant clean-catalina
> after that, i start up ofbiz, login into the catalog manager, then logout.
> and then stop ofbiz
>
> the error about the memory leak still appear.
>
> does anyone manage to resolve this memory leak error ?