Is it normal for the lsof output to show many files held open by mysql and java processes with (deleted) indicator in the output?
- Views:
- 8
- Visibility:
- Public
- Votes:
- 0
- Category:
- active-iq-unified-manager
- Specialty:
- om
- Last Updated:
- 5/27/2025, 8:39:28 PM
Applies to
- Active IQ Unified Manager (AIQUM) 9.x (RHEL/CentOS)
- Active IQ Unified Manager (AIQUM) 9.x (OVA/vApp)
Answer
Yes, it is typical to see a large list of transient/temporary files in the lsof
output.
- The
(deleted)
indicator means it has been deleted from the filesystem but the space has not been reclaimed due to the processes not having released the file handles. - These handles will eventually be released, but they will be replaced by new ones. Thus, there will always be
(deleted)
entries present in thelsof
output.
Examples:
java 7654 15076 async-per jboss 181r REG 254,0 596322 131076 /data/tmp/jar_cache17945771367604846061.tmp (deleted)
java 7654 15136 Keep-Aliv jboss 588r REG 8,1 647 3415643 /var/log/ocie/recording/cloudagent/foundation/cluster1.mydomain.com/2025-05-27T151800-0500/api_cluster_metrocluster_interconnects.json (deleted)
Additional Information
N/A