java - weblogic thread monitoring shows incorrect number vs OS threads -


just doing debugging on application, noticed pretty big discrepency. weblogic reporting (servers > monitoring > threads) @ 6

but when query os:

ps -elf| grep user | grep -c java

linux shows 37+ threads... first question is, why discrepancy? second question how can more info why threads started os?

the reason why i'm asking running out of resources on os , i'm trying figure out clever ways optimize container without touching applications deployed on it...

try obtain thread dump jvm. there many management threads:

  • compiler threads (for generating machine code)
  • garbage collector threads (often 1 thread per core)
  • finalization queue processing threads
  • jmx management listener

weblogic might maintain thread pool , reported number not include number of dormant threads in pool.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -