On 2/18/21 12:53 PM, Shawn Heisey wrote:
On 2/18/2021 12:11 PM, Niranjan Rao wrote:
Thank you the response. This is not a web application, but a standalone java program. Hence I said it's not a tomcat question, but a generic JVM question. I have been researching about this a lot and based on many mails on this list, lot of people here know about internal behavior of JVM and specs lot better than I do.

Apologies for getting that wrong.

Is it a custom app or something that you downloaded and installed?  Talk to whoever wrote it.  They will hopefully know what information is needed to troubleshoot further.

Is Java 15 required for the application to function?  If you can successfully use Java 11 or even Java 8, you'll be dealing with a far more stable platform.  Major show-stopper bugs in Java are rare, but they do happen.  I will warn you that although I do recommend downgrading Java for stability purposes, I do not hold out a lot of hope that it will solve this problem.

Which garbage collector are you using?  I would recommend one of the really stable collectors, like G1.  I wrote this wiki page a long time ago that includes garbage collection information for Solr ... I think it would apply well to any application where latency is important than throughput:

https://cwiki.apache.org/confluence/display/SOLR/ShawnHeisey

Thanks,
Shawn

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

I tried talking to the author, myself - but not much luck. Anyways talking with self does not help with new ideas much ;)

We added lot of logging and wrote a simple throw away tool to analyze the logs. Even though task counts are similar, there were some time out errors that could be causing the leaks. Currently a patch is deployed and we are waiting to see if it has made any impact.

Interesting point was why is one machine getting brunt of bad things. May be we will drop the box and spawn another VM with the assumption that host could be heavily loaded or something similar not easily visible things going on.

Your blog entry is very informative. Thank you.


Regards,


Niranjan


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

Reply via email to