ARTICLE AD BOX
I have a business layer which is on Java & Spring Boot.
There are around 10 instances of an application that are running on prod and each has same exact configuration on machines & applications.
There is one single instance of the application that goes berserk & the thread count of the application reaches 50% more to ~1100 thread count than the average thread count of 600-750.
Not sure why is this happening, i have added the logs to the threads states & noticed a trend.
When thread count is average that is 600-750, the waiting thread is around ~300 & the running are around ~200.
When the problematic instance has reached the count of ~1100, the trend is the same, ~600 waiting & ~350 running.
By the way, just simply restarting the application make the instance return to the normal & teh frequency of the issue is around once per month.
