Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.


lsof|grep delete

can find some process open fd, but system said that it has been deleted:

mingetty 2031 root txt REG 8,2 15256 49021039 /sbin/mingetty (deleted)

I look in the /proc filesystem:

ls -l /proc/[pid]

lrwxrwxrwx 1 root root 0 9月  17 16:12 exe -> /sbin/mingetty (deleted)

but actually, the executable(/sbin/mingetty) is normal at /sbin/mingetty path.

and some sockets show this situation:

ls -l /proc/[pid]/fd

82 -> socket:[23716953]

but, using the commands: netstat -ae|grep [socket id] can find it.

why does the OS display this information??

share|improve this question
os: centos 6.3, filesystem: ext4 –  liutaihua Sep 18 '12 at 3:25

1 Answer 1

Perhaps you ran yum update, mingetty got upgraded and the exe you are observing is the old, actually deleted version.

As you might or might not know, in Linux some file does not get deleted until all the file handles using the file are closed. The old mingetty is still running and keeping the file handles.

share|improve this answer
I don't think so. I run yum update, but the problem still. and how to resolve the socket dis "deleted"? –  liutaihua Sep 20 '12 at 2:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.