Environment: Bitnami WildFly 15 - Linux Ubuntu 16.04.5 LTS with Apache configured as reverse proxy.
My disk space is virtually occupied by deleted file descriptors, hundreds of thousands after a few days; this is the command for retrieving this files:
lsof -nP | grep "deleted" java 703 26846 wildfly 7037r REG 8,1 391018 1039461 /opt/bitnami/wildfly/standalone/tmp/legal-restapi.war/undertow4334305401660429764upload (deleted) java 703 26846 wildfly 7038r REG 8,1 43540 1039462 /opt/bitnami/wildfly/standalone/tmp/legal-restapi.war/undertow3137300962477792670upload (deleted) java 703 26846 wildfly 7039r REG 8,1 15318 1039463 /opt/bitnami/wildfly/standalone/tmp/legal-restapi.war/undertow2237556864044789539upload (deleted) (hundreds of thousands after a few days)...
Disk free at system startup:
df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 3.4G 26G 12% /
Disk free after some hours:
df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 5.9G 24G 12% /
No real files are occupying this space; I checked with du (disk usage) command.
Restarting WildFly service frees up space on disk.
Is this a WildFly bug or is my a wrong configuration? Bitnami WildFly 9 and 10 do not present these problems. I cannot restart my services every 5 days.