As of May 31, 2023, we have updated our Code of Conduct.
2 of 3
added 100 characters in body
mai danh
  • 843
  • 8
  • 14

Lsof increase every request in wildfly 10

I have a small test with hello world application in JavaEE. I used wildfly 10 for deploy that app and use postman to execute api hello world. And then I use lsof command for check list open file of wildfly I saw the number increase in every request see the following picture. enter image description here Then I try with the newer wildfly verion 12 or above it's doesn't happen enter image description here

my api code enter image description here

I think this bug is fixed in newer version, but is there any work around to fix this problem in wildfly 10 or 11. Currently I cannot upgrade to new version for some reason.

I use docker in window for testing this and two images openshift/wildfly-100-centos7, openshift/wildfly-120-centos7

mai danh
  • 843
  • 8
  • 14