tepavac05 Posted December 5, 2022 Posted December 5, 2022 Hello, I have 2 Jasper 8.0.0 servers on production installed on Oracle Linux 8.5. They both work excelent, but when any of them receives more requests than usual, they are frosen for a couple minutes. I must solve it using another server (one is always active, and another one is waiting for that situation..), because our call center has too many calls.. In attachemnt are another files, those are searches in localhost access and catalina.out from /opt/tomcat/logs folder. In one minute, server loged 463 requests, and almost everyone finished. But for these couple minutes, we were unable to use applications as usually. When there is up to 150 requests in a minute, everything is ok. Do anybode know what should I do? I installed them using war file (jasper pp .txt in attachment, 1 - 4 pages). Versions of software I used. Java: [root@jasper-pp ~]# java -version java version "1.8.0_321" Java SE Runtime Environment (build 1.8.0_321-b07) Java HotSpot 64-Bit Server VM (build 25.321-b07, mixed mode) Tomcat: Apache Tomcat Version 9.0.58 PostgreSQL: version 12
Michael Bielkiewicz Posted February 22, 2023 Posted February 22, 2023 I would look into your memory settings and ensure you're allocating enough. I would also make sure you are using G1GC for garbage collection. And with that many requests, I would look at your connection pools - you are likely hitting the limits which causes subsequent threads to "wait" for an open connection. These are all JVM settings - the latter is usually set in Tomcat.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now