如何在linux shell上关闭打开(删除)的文件描述符

时间:2022-09-08 02:50:35

If i use

如果我使用

lsof -n | grep deleted

I have along list of php5-fpm list values.

我有php5-fpm列表值的列表。

two sample output of a list value:

列表值的两个示例输出:

(deleted)/dev/zero (stat: No such file or directory)

(deleted)/tmp/.ZendSem.JQTejx

1) How can i close them within an openVZ container?

1)如何在openVZ容器中关闭它们?

2) Is this a result of forgetting to close a mysql handle within a php script?

2)这是忘记关闭php脚本中的mysql句柄的结果吗?

1 个解决方案

#1


0  

df -h

shows 41% /var/lib/vz/root/102/var/www/clients/client1/web1/log and within the log directory there are only a few MB

显示41%/ var / lib / vz / root / 102 / var / www / clients / client1 / web1 / log,并且在日志目录中只有几MB

so how to restore the lost webspace??

那么如何恢复丢失的网站空间?

#1


0  

df -h

shows 41% /var/lib/vz/root/102/var/www/clients/client1/web1/log and within the log directory there are only a few MB

显示41%/ var / lib / vz / root / 102 / var / www / clients / client1 / web1 / log,并且在日志目录中只有几MB

so how to restore the lost webspace??

那么如何恢复丢失的网站空间?