You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rizwan Merchant <ri...@sysconet.ca> on 2006/09/29 04:14:33 UTC

Shutdown log - deallocating instances

Hi,
We have been running a couple of web application on a tomcat 5.5 server. 
The OS is Linux based FC4.
Off late, I have been noticing that during a shutdown of the server I 
see a message
"Waiting for xx instance(s) to be deallocated"

The xx number varies (today it was 154). Can someone tell me what this 
means and if I should worry about this at all? So far the server behaves 
well and we have not come across any hanging type situations. But we are 
slowly moving into full production mode and I want to make sure this 
will not cause a problem down the line...

Thanks for the help.

Here is the log from the last shutdown...

2006-09-28 21:45:06,722 [main] INFO  
org.apache.catalina.core.StandardWrapper - Waiting for 1 instance(s) to 
be deallocated
2006-09-28 21:45:07,742 [main] INFO  
org.apache.catalina.core.StandardWrapper - Waiting for 1 instance(s) to 
be deallocated
2006-09-28 21:45:08,762 [main] INFO  
org.apache.catalina.core.StandardWrapper - Waiting for 1 instance(s) to 
be deallocated
2006-09-28 21:45:08,866 [main] INFO  
org.apache.catalina.core.StandardWrapper - Waiting for 154 instance(s) 
to be deallocated
2006-09-28 21:45:09,885 [main] INFO  
org.apache.catalina.core.StandardWrapper - Waiting for 154 instance(s) 
to be deallocated
2006-09-28 21:45:10,905 [main] INFO  
org.apache.catalina.core.StandardWrapper - Waiting for 154 instance(s) 
to be deallocated
2006-09-28 21:45:11,820 [main] INFO  
org.apache.coyote.http11.Http11BaseProtocol - Stopping Coyote HTTP/1.1 
on http-8080




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Shutdown log - deallocating instances

Posted by Rizwan Merchant <ri...@sysconet.ca>.
Thanks Charles.
Is there any other way to know which servlets are casuing this issue??
So, i  I dont fix this problem, is there a potential of a break down in 
the near future?

Any one else encounter this problem? What are the typical causes?

-Riz.

Caldarale, Charles R wrote:
>> From: Rizwan Merchant [mailto:rizwan.merchant@sysconet.ca] 
>> Subject: Shutdown log - deallocating instances
>>
>> Off late, I have been noticing that during a shutdown of the server I 
>> see a message
>> "Waiting for xx instance(s) to be deallocated"
>>     
>
> This message is logged up to three times for each servlet that has a
> non-zero allocation count, waiting for it to decrement to zero.  After
> the third message, the ServletWrapper code just goes on and calls the
> servlet's destroy() method.  Looks like you have two servlets that
> aren't always terminating properly.  Unfortunately, the log message
> provides no information about which servlets those might be.  The code
> in question is in the unload() method of
>
> container/catalina/src/share/org/apache/catalina/core/StandardWrapper.ja
> va
>
> around line 1300 in 5.5.20 if you want to change it to display more
> information.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Shutdown log - deallocating instances

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Rizwan Merchant [mailto:rizwan.merchant@sysconet.ca] 
> Subject: Shutdown log - deallocating instances
> 
> Off late, I have been noticing that during a shutdown of the server I 
> see a message
> "Waiting for xx instance(s) to be deallocated"

This message is logged up to three times for each servlet that has a
non-zero allocation count, waiting for it to decrement to zero.  After
the third message, the ServletWrapper code just goes on and calls the
servlet's destroy() method.  Looks like you have two servlets that
aren't always terminating properly.  Unfortunately, the log message
provides no information about which servlets those might be.  The code
in question is in the unload() method of

container/catalina/src/share/org/apache/catalina/core/StandardWrapper.ja
va

around line 1300 in 5.5.20 if you want to change it to display more
information.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org