Open files leakage
Andrey Panov
pav at metib.ru
Tue May 7 18:45:41 UTC 2002
Hello!
There is a files, that left opened after closing them in viewer.
For example, press F3 on any file, that has association in mc.ext, then quit
viewer.
File will left opened, as lsof shows it.
[root at plutonia /]# lsof | grep 8150
.....
mc 8150 apx 0u CHR 136,9 11 /dev/pts/9
mc 8150 apx 1u CHR 136,9 11 /dev/pts/9
mc 8150 apx 2u CHR 136,9 11 /dev/pts/9
mc 8150 apx 3u CHR 5,0 26531 /dev/tty
mc 8150 apx 4u CHR 5,2 23880 /dev/ptmx
mc 8150 apx 5r REG 33,8 234021 949806
/home/src/manpages-ru-0.7.tar.gz
mc 8150 apx 6r FIFO 0,6 88038 pipe
mc 8150 apx 7w FIFO 0,6 88038 pipe
mc 8150 apx 8r REG 33,8 234021 949806
/home/src/manpages-ru-0.7.tar.gz
mc 8150 apx 9r REG 33,8 234021 949806
/home/src/manpages-ru-0.7.tar.gz
mc 8150 apx 10r REG 33,8 234021 949806
/home/src/manpages-ru-0.7.tar.gz
Here i pressed F3 four times on manpages-ru-0.7.tar.gz
As you can see, it opens and never closes.
--
Andrey
More information about the mc-devel
mailing list