Linux???????????????δ????????
?????chenpingzhao ???????[ 2016/8/29 10:40:57 ] ????????Linux ??????
??????????????
??????Linux???У????rm??????????????????????????????(unlink)???????????????????????????????????????????????????????????????????????
????????????????????????????????????????δ?????
???????????????
????1??????????????????????????????ó???????????б?
root@instance-zo0fkfng:~# lsof|grep deleted
init 1 root 10w REG 253??1 283 155958 /var/log/upstart/network-manager.log.1 (deleted)
init 1 root 12w REG 253??1 314 155934 /var/log/upstart/mountall.log.1 (deleted)
init 1 root 13w REG 253??1 508 131203 /var/log/upstart/modemmanager.log.1 (deleted)
init 1 root 17w REG 253??1 881 155967 /var/log/upstart/mysql.log.1 (deleted)
init 1 root 24w REG 253??1 63 155949 /var/log/upstart/dbus.log.1 (deleted)
mysqld 1159 mysql 4u REG 253??1 0 374 /tmp/ibkjeh3Z (deleted)
mysqld 1159 mysql 5u REG 253??1 0 3458 /tmp/ibdbHetZ (deleted)
mysqld 1159 mysql 6u REG 253??1 0 29466 /tmp/ibQSxcTY (deleted)
mysqld 1159 mysql 7u REG 253??1 0 282 /tmp/ibxSgZNX (deleted)
mysqld 1159 mysql 11u REG 253??1 0 29469 /tmp/ibXTzqnX (deleted)
mysqld 1159 1185 mysql 4u REG 253??1 0 374 /tmp/ibkjeh3Z (deleted)
mysqld 1159 17965 mysql 4u REG 253??1 0 374 /tmp/ibkjeh3Z (deleted)
mysqld 1159 17965 mysql 5u REG 253??1 0 3458 /tmp/ibdbHetZ (deleted)
mysqld 1159 17965 mysql 6u REG 253??1 0 29466 /tmp/ibQSxcTY (deleted)
mysqld 1159 17965 mysql 7u REG 253??1 0 282 /tmp/ibxSgZNX (deleted)
mysqld 1159 17965 mysql 11u REG 253??1 0 29469 /tmp/ibXTzqnX (deleted)
php5-fpm 3724 www-data 3ur REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 3853 www-data 3ur REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 7741 root 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 9900 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 9901 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 9930 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 9961 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 9965 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 9966 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10126 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10127 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10128 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10174 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10196 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10248 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10316 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10375 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10396 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10400 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10401 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10438 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10479 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10511 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 10531 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 11150 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 11638 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 11670 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 12210 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 14974 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 17101 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 17161 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 17261 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
php5-fpm 17470 www-data 3u REG 253??1 0 29468 /tmp/.ZendSem.gfHFuR (deleted)
?????????????????????Щ???????????δ???????
????????
root@instance-zo0fkfng:~# find /proc/*/fd -ls | grep '(deleted)'
71253 0 lrwx------ 1 root root 64 Jun 10 22:09 /proc/1159/fd/4 -> /tmp/ibkjeh3Z (deleted)
71254 0 lrwx------ 1 root root 64 Jun 10 22:09 /proc/1159/fd/5 -> /tmp/ibdbHetZ (deleted)
71255 0 lrwx------ 1 root root 64 Jun 10 22:09 /proc/1159/fd/6 -> /tmp/ibQSxcTY (deleted)
71256 0 lrwx------ 1 root root 64 Jun 10 22:09 /proc/1159/fd/7 -> /tmp/ibxSgZNX (deleted)
71260 0 lrwx------ 1 root root 64 Jun 10 22:09 /proc/1159/fd/11 -> /tmp/ibXTzqnX (deleted)
221991074 0 lrwx------ 1 root root 64 Aug 27 19:43 /proc/18132/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991101 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18135/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991122 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18136/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991147 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18137/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991168 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18138/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991189 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18139/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991210 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18140/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991231 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18141/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991252 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18142/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991273 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18143/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991294 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18144/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
221991315 0 lrwx------ 1 www-data www-data 64 Aug 27 19:43 /proc/18147/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
222001888 0 lrwx------ 1 www-data www-data 64 Aug 27 19:44 /proc/18157/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
222001909 0 lrwx------ 1 www-data www-data 64 Aug 27 19:44 /proc/18161/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
222001938 0 lrwx------ 1 www-data www-data 64 Aug 27 19:44 /proc/18170/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
222001959 0 lrwx------ 1 www-data www-data 64 Aug 27 19:44 /proc/18178/fd/3 -> /tmp/.ZendSem.hIpOFr (deleted)
find: `/proc/18182/fd/5': No such file or directory
55130 0 l-wx------ 1 root root 64 Jun 10 22:09 /proc/1/fd/10 -> /var/log/upstart/network-manager.log.1 (deleted)
55132 0 l-wx------ 1 root root 64 Jun 10 22:09 /proc/1/fd/12 -> /var/log/upstart/mountall.log.1 (deleted)
55133 0 l-wx------ 1 root root 64 Jun 10 22:09 /proc/1/fd/13 -> /var/log/upstart/modemmanager.log.1 (deleted)
55137 0 l-wx------ 1 root root 64 Jun 10 22:09 /proc/1/fd/17 -> /var/log/upstart/mysql.log.1 (deleted)
55142 0 l-wx------ 1 root root 64 Jun 10 22:09 /proc/1/fd/24 -> /var/log/upstart/dbus.log.1 (deleted)
find: `/proc/self/fd/5': No such file or directory
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11