my version:
springcloud:Greenwich.SR1
springboot:2.1.5.RELEASE
I think this is a common phenomenon;
When I add JSON to the gateway header, then I do stress testing, the thread cannot recovery;
I used the top - H command in Linux system to monitor the number of threads increasing, and found that the growing number of threads could not be recovery
Leaked threads are mainly held by subordinate services
Sample
I found that when there is only one header JSON information, the problem will not occur. If you add another common header information, the problem will appear
Complete code:
Describe the bug
my version: springcloud:Greenwich.SR1 springboot:2.1.5.RELEASE
I think this is a common phenomenon; When I add JSON to the gateway header, then I do stress testing, the thread cannot recovery; I used the top - H command in Linux system to monitor the number of threads increasing, and found that the growing number of threads could not be recovery
Leaked threads are mainly held by subordinate services
Sample
I found that when there is only one header JSON information, the problem will not occur. If you add another common header information, the problem will appear Complete code: