Open files leakage



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 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]