On 15/04/2020 10:39, Yves Berquin wrote: > Hello, > > Our typical platform for running our app is a dedicated server with 32GB of > RAM running Tomcat 8.50 under Debian9 and Java 8. We run +- 20 .war > programs on these platforms. It's running fine. The app is not very > demanding - it gets its data from a postgresql server. > > When we tried moving to the next versions: Debian10 , Tomcat 9 , Java 11 on > the same machines we observe some 3+ seconds 100% CPU on all cores every > other minute. > It doesn't seem to be very dependent on the load. > If we switch to a bigger server (128GB RAM) it's worse: > 7 seconds locks > on all 32 CPU cores. > > We tried all possible types of garbage collection, nothing makes a > difference. Switching to the Java 8 GC (-XX:+UseParallelGC) - also no > improvement. > Reducing the RAM allocated to Tomcat with -Xms8g -Xmx8g doesn't make a > difference. > > Is there anywhere a set of typical settings for this particular environment? > > Thanks for any help you can shine on this - feel free to contact me > directly if you think you can help
I'd recommend getting a profiler (I use YourKit because they give free licenses to OSS committers for OSS projects but other profilers are available) and seeing what is generating that garbage. I don't think it will be Tomcat related but if it is, we should be able to do something about it. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org