Record a JVM configuration optimized case

Last week, the company has an application, when the RT in the evening peak period (response time) is very long. Later on the server looked under the JVM configuration, operation and maintenance found in the startup parameters where the -Xss to become established 10M. Results in each thread consumes too much memory, leading to excessive memory consumption, other threads waiting queue situation. Later, after the -Xss into 1M, system performance significantly improved.

 

 to sum up:

1.-Xss parameters can not be set too high, especially in some high-concurrency system scenarios. (Concurrent low, then it does not matter)

2.JVM parameters do not let go with operation and maintenance. Operation and maintenance parameters using may not meet the business scenario of the current system. Developers also need to optimize

Guess you like

Origin www.cnblogs.com/xujanus/p/11551013.html