Why grow GC pauses and have JBoss'?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
9 views
Welcome!
The situation is this:
There are 2 servers, each one spinning on JBoss'at 4.2. Each JBoss'e revolves on the app (let them be A and B). Annex a goes to B on the EJB. Everything works as it should.
However, there is a problem:
The first JBoss'and gradually increasing the run time GC for young generation. Shortly after this time is 0.1 seconds, and in three days already 1.1 seconds. Thereby increasing the load on the server and decreases the application throughput.
About the settings:
Use -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewSize=1024M -XX:MaxNewSize=1024M
While JBoss'e Appendix B all is well.

There is a suspicion that this increase is caused by the fact that A is connected to B, because a similar situation was repeated on the other JBoss'Oh and apps.
Tell me, please, what can grow these pauses?
by | 9 views

2 Answers

0 like 0 dislike
E-m-m... why such a big size of YoungGen? That is what is needed generational GC, so that the young generation was small and fast. What is the total size of the Java Heap?
To maximize throughput ParallelGC better.
Looks like a memory leak in the application. Have the opportunity to run with -Xloggc:gc.log -XX:+PrintGC [-XX:+PrintGCDetails -XX:+Verbose]?
by
0 like 0 dislike
In the end, everything was solved by adding JAVA OPTS settings -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled.
by

Related questions

0 like 0 dislike
2 answers
asked Mar 20, 2019 by chernser
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
27,923 users