Re: Tomcat is Automatically Getting Stopped Frequently

2022-08-03 Thread Christopher Schultz

Prasenjit,

On 8/3/22 11:43, Prasenjit Dey wrote:
Can you please tell us which OS logs in Ubuntu I need to check. I am new 
to this. Please help!


Look at CATALINA_BASE/logs/catalina.out and /var/log/messages. You may 
have to check other /var/log/* files, as each Linux distro tends to put 
certain things in other places. Might be /var/log/dmesg or 
/var/log/daemon or whatever.


-chris


*From: *Mark Thomas <mailto:ma...@apache.org>
*Sent: *Wednesday, August 3, 2022 4:55 PM
*To: *users@tomcat.apache.org <mailto:users@tomcat.apache.org>
*Subject: *Re: Tomcat is Automatically Getting Stopped Frequently

Tomcat won't be shutting itself down. Something external must be
stopping the process.

Check the OS logs. This sounds like the Linux OOM killer.

Note: Attachments rarely make it to the list. If you need to share
attachments, use a file sharing service.

Mark


On 03/08/2022 09:12, Prasenjit Dey wrote:
 > Tomcat Version: 8.5.81.0
 >
 > Operating System: Ubuntu 20.04 LTS
 >
 > RAM: 8gb
 >
 > Java Version: 1.8.0_312
 >
 > Architecture: 64Bit
 >
 > Hi,
 >
 > I am facing a problem regarding our application hosted in Tomcat. Our
 > infrastructure is on Azure Cloud. We have hosted our application in
 > Tomcat on a virtual machine deployed from Azure. After few hours of
 > usage, we are experiencing that the Tomcat is going down automatically
 > and we are not able to browse the application. From the memory point of
 > view we have seen that when the problem is occurring then Tomcat service
 > is using 1.4GB of memory. Attaching the Tomcat logs and server.xml for
 > your reference. Please feel free to connect with us if you need any
 > additional information.
 >
 > *Thanks & Regards,*
 >
 > *Prasenjit Dey | Team Leader - Testing | Kovair Software*
 >
 > *Ph: +91.33. 40657016 Ext. 240 | **prasanjit...@kovair.com*
 > <mailto:prasanjit...@kovair.com <mailto:prasanjit...@kovair.com>>
 >
 > *URL:**http://www.kovair.com*
 > 
<https://email.hostaccount.com/owa/redir.aspx?C=yvhK8bN7_0a9dD8N8GdR8o87R2xTydIIRFkpoq2gGkClt79gTYucHOHY8O70EkDD2NDk2d-1r5o.=http%3a%2f%2fwww.kovair.com <https://email.hostaccount.com/owa/redir.aspx?C=yvhK8bN7_0a9dD8N8GdR8o87R2xTydIIRFkpoq2gGkClt79gTYucHOHY8O70EkDD2NDk2d-1r5o.=http%3a%2f%2fwww.kovair.com>>

 >
 > PPlease consider the environment before printing this email
 >
 >
 >
 > -
 > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 > For additional commands, e-mail: users-h...@tomcat.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat is Automatically Getting Stopped Frequently

2022-08-03 Thread Christopher Schultz

Prasenjit,

On 8/3/22 03:19, Prasenjit Dey wrote:

Tomcat Version: 8.5.81.0
Operating System: Ubuntu 20.04 LTS
RAM: 8gb
Java Version: 1.8.0_312
Architecture: 64Bit

Hi,

I am facing a problem regarding our application hosted in Tomcat. Our 
infrastructure is on Azure Cloud. We have hosted our application in 
Tomcat on a virtual machine deployed from Azure. After few hours of 
usage, we are experiencing that the Tomcat is going down automatically 
and we are not able to browse the application. From the memory point of 
view we have seen that when the problem is occurring then Tomcat service 
is using 1.4GB of memory. Attaching the Tomcat logs and server.xml for 
your reference. Please feel free to connect with us if you need any 
additional information. We are awaiting for your reply.


Do you have anything in the Tomcat logs about the shutdown? Or does the 
process just disappear? Have you looked at /var/log/messages to see if 
the OOME killer is killing your application?


What are the parameters you use to launch Tomcat? (Specifically, your 
heap-related parameters)?


-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat is Automatically Getting Stopped Frequently

2022-08-03 Thread Prasenjit Dey
Hi Mark,

Thanks for your reply.

Can you please tell us which OS logs in Ubuntu I need to check. I am new to 
this. Please help!


Thanks & Regards,

Prasenjit Dey | Team Leader - Testing | Kovair Software

Ph: +91.33. 40657016 Ext. 240 | 
prasanjit...@kovair.com<mailto:prasanjit...@kovair.com>

URL: 
http://www.kovair.com<https://email.hostaccount.com/owa/redir.aspx?C=yvhK8bN7_0a9dD8N8GdR8o87R2xTydIIRFkpoq2gGkClt79gTYucHOHY8O70EkDD2NDk2d-1r5o.=http%3a%2f%2fwww.kovair.com>

[cid:image001.png@01D7F68F.3E0A5620]

P Please consider the environment before printing this email

From: Mark Thomas<mailto:ma...@apache.org>
Sent: Wednesday, August 3, 2022 4:55 PM
To: users@tomcat.apache.org<mailto:users@tomcat.apache.org>
Subject: Re: Tomcat is Automatically Getting Stopped Frequently

Tomcat won't be shutting itself down. Something external must be
stopping the process.

Check the OS logs. This sounds like the Linux OOM killer.

Note: Attachments rarely make it to the list. If you need to share
attachments, use a file sharing service.

Mark


On 03/08/2022 09:12, Prasenjit Dey wrote:
> Tomcat Version: 8.5.81.0
>
> Operating System: Ubuntu 20.04 LTS
>
> RAM: 8gb
>
> Java Version: 1.8.0_312
>
> Architecture: 64Bit
>
> Hi,
>
> I am facing a problem regarding our application hosted in Tomcat. Our
> infrastructure is on Azure Cloud. We have hosted our application in
> Tomcat on a virtual machine deployed from Azure. After few hours of
> usage, we are experiencing that the Tomcat is going down automatically
> and we are not able to browse the application. From the memory point of
> view we have seen that when the problem is occurring then Tomcat service
> is using 1.4GB of memory. Attaching the Tomcat logs and server.xml for
> your reference. Please feel free to connect with us if you need any
> additional information.
>
> *Thanks & Regards,*
>
> *Prasenjit Dey | Team Leader - Testing | Kovair Software*
>
> *Ph: +91.33. 40657016 Ext. 240 | **prasanjit...@kovair.com*
> <mailto:prasanjit...@kovair.com>
>
> *URL:**http://www.kovair.com*
> <https://email.hostaccount.com/owa/redir.aspx?C=yvhK8bN7_0a9dD8N8GdR8o87R2xTydIIRFkpoq2gGkClt79gTYucHOHY8O70EkDD2NDk2d-1r5o.=http%3a%2f%2fwww.kovair.com>
>
> PPlease consider the environment before printing this email
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat is Automatically Getting Stopped Frequently

2022-08-03 Thread Mark Thomas
Tomcat won't be shutting itself down. Something external must be 
stopping the process.


Check the OS logs. This sounds like the Linux OOM killer.

Note: Attachments rarely make it to the list. If you need to share 
attachments, use a file sharing service.


Mark


On 03/08/2022 09:12, Prasenjit Dey wrote:

Tomcat Version: 8.5.81.0

Operating System: Ubuntu 20.04 LTS

RAM: 8gb

Java Version: 1.8.0_312

Architecture: 64Bit

Hi,

I am facing a problem regarding our application hosted in Tomcat. Our 
infrastructure is on Azure Cloud. We have hosted our application in 
Tomcat on a virtual machine deployed from Azure. After few hours of 
usage, we are experiencing that the Tomcat is going down automatically 
and we are not able to browse the application. From the memory point of 
view we have seen that when the problem is occurring then Tomcat service 
is using 1.4GB of memory. Attaching the Tomcat logs and server.xml for 
your reference. Please feel free to connect with us if you need any 
additional information.


*Thanks & Regards,*

*Prasenjit Dey | Team Leader - Testing | Kovair Software*

*Ph: +91.33. 40657016 Ext. 240 | **prasanjit...@kovair.com* 



*URL:**http://www.kovair.com* 



PPlease consider the environment before printing this email



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat is Automatically Getting Stopped Frequently

2022-08-03 Thread Prasenjit Dey
Tomcat Version: 8.5.81.0
Operating System: Ubuntu 20.04 LTS
RAM: 8gb
Java Version: 1.8.0_312
Architecture: 64Bit

Hi,

I am facing a problem regarding our application hosted in Tomcat. Our 
infrastructure is on Azure Cloud. We have hosted our application in Tomcat on a 
virtual machine deployed from Azure. After few hours of usage, we are 
experiencing that the Tomcat is going down automatically and we are not able to 
browse the application. From the memory point of view we have seen that when 
the problem is occurring then Tomcat service is using 1.4GB of memory. 
Attaching the Tomcat logs and server.xml for your reference. Please feel free 
to connect with us if you need any additional information.




Thanks & Regards,

Prasenjit Dey | Team Leader - Testing | Kovair Software

Ph: +91.33. 40657016 Ext. 240 | 
prasanjit...@kovair.com

URL: 
http://www.kovair.com

[cid:image001.png@01D7F68F.3E0A5620]

P Please consider the environment before printing this email





  
  
  
  
  
  
  
  

  
  


  

  
  


























  
  

  
  


  

  







  

  


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Tomcat is Automatically Getting Stopped Frequently

2022-08-03 Thread Prasenjit Dey
Tomcat Version: 8.5.81.0
Operating System: Ubuntu 20.04 LTS
RAM: 8gb
Java Version: 1.8.0_312
Architecture: 64Bit

Hi,

I am facing a problem regarding our application hosted in Tomcat. Our 
infrastructure is on Azure Cloud. We have hosted our application in Tomcat on a 
virtual machine deployed from Azure. After few hours of usage, we are 
experiencing that the Tomcat is going down automatically and we are not able to 
browse the application. From the memory point of view we have seen that when 
the problem is occurring then Tomcat service is using 1.4GB of memory. 
Attaching the Tomcat logs and server.xml for your reference. Please feel free 
to connect with us if you need any additional information. We are awaiting for 
your reply.


Thanks & Regards,

Prasenjit Dey | Team Leader - Testing | Kovair Software

Ph: +91.33. 40657016 Ext. 240 | 
prasanjit...@kovair.com

URL: 
http://www.kovair.com

[cid:image001.png@01D7F68F.3E0A5620]

P Please consider the environment before printing this email





  
  
  
  
  
  
  
  

  
  


  

  
  


























  
  

  
  


  

  







  

  


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org