I have created a typical SpringBoot application which is using Spring Framework's Restful library. As well as having some @RestController(s) and @Service(s) beans on it.
My question now is not more on the usage and implementation of Spring and Springboot components but rather this one:
My question is that, when I launch a single Springboot application it spawns a lot of Light Weight Processes (LWP). Which I think 1 LWP is one Java Thread.
In particular I would like to know if how can I get the LWP ID of a particular thread? So in this case I would like to know which Java Thread is associated to LWP ID 11791.
Because currently I have a problem where my Springboot application hangs up/crashes and one of its subprocess(es) has been running for hours.
When we killed that particular subprocess(es) the server will no longer hang up.