跳转到主内容

lssof输出显示由myql和Java进程打开的许多文件并在输出中显示(已删除)指示符是正常的吗?

Views:
44
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

适用场景

  • Active IQ Unified Manager (AIQUM) 9.x (rrr/CentOS)
  • Active IQ Unified Manager (AIQUM) 9.x (OVA/vApp)

问题解答

是的、通常会在lsof 输出中看到大量瞬时/临时文件。

  • (deleted) 指示符表示该文件已从文件系统中删除、但由于进程未释放文件句柄、尚未回收空间。
  • 这些手柄最终将被释放、但它们将被新的手柄所取代。因此、lsof 输出中始终存在(deleted) 条目。

示例:
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)

追加信息

其他信息文本

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.