Jasper freezes when , i guess, too many requests come his way Help

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(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
 
Tomcat: Apache Tomcat Version 9.0.58
 
PostgreSQL: version 12
Attachments: 
tepavac05's picture
Joined: Jul 19 2021 - 5:03am
Last seen: 1 month 2 weeks ago

1 Answer:

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.

mbielkiewicz's picture
Joined: Feb 23 2014 - 9:22pm
Last seen: 22 hours 8 min ago
Feedback