You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adrian Crum <ad...@yahoo.com> on 2010/06/12 19:32:57 UTC

ExecutionPoolPulseWorker Error

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



      

Re: ExecutionPoolPulseWorker Error

Posted by Jacques Le Roux <ja...@les7arts.com>.
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 <je...@b2b.com.my> 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 ?

Re: ExecutionPoolPulseWorker Error

Posted by twosolution <je...@b2b.com.my>.
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 ?



--
View this message in context: http://ofbiz.135035.n4.nabble.com/ExecutionPoolPulseWorker-Error-tp2252915p4645891.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Re: ExecutionPoolPulseWorker Error

Posted by Adam Heath <do...@brainfood.com>.
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 <ad...@yahoo.com> 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.

Re: ExecutionPoolPulseWorker Error

Posted by Adrian Crum <ad...@yahoo.com>.
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 <ad...@yahoo.com> 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
> 
> 
> 
>       
>