file locked by non-existant process?

From: Robert Joop (1014856075_at_rainbow.in-berlin.de)
Date: 08/28/03


Date: Thu, 28 Aug 2003 17:08:41 +0000 (UTC)

hi,

how is it possible that a non-existant process holds a lock on a file?
i've got almost 1000 sendmail processes piled up in the last 19 hours,
waiting for a read lock on /etc/mail/aliases.db (which has inode number
3679340), and the process holding the write lock seems long gone:

/proc/locks:
[...]
7: POSIX ADVISORY WRITE 32163 03:06:3679340 0 EOF c13bdd54 c09327f4 c13bdca0 00000000 c13bd96c
7: -> POSIX ADVISORY READ 8901 03:06:3679340 0 EOF c13bd960 c13bd9c0 c023ed78 c13bdd54 c13bd9c8
7: -> POSIX ADVISORY READ 8908 03:06:3679340 0 EOF c13bd9bc c13bda1c c13bd964 c13bdd54 c13bda24
7: -> POSIX ADVISORY READ 8917 03:06:3679340 0 EOF c13bda18 c13bdc44 c13bd9c0 c13bdd54 c13bdc4c
7: -> POSIX ADVISORY READ 10001 03:06:3679340 0 EOF c13bdc40 c13bd514 c13bda1c c13bdd54 c13bd51c
7: -> POSIX ADVISORY READ 10002 03:06:3679340 0 EOF c13bd510 c13bd7f4 c13bdc44 c13bdd54 c13bd7fc
7: -> POSIX ADVISORY READ 10789 03:06:3679340 0 EOF c13bd7f0 c13bd628 c13bd514 c13bdd54 c13bd630
7: -> POSIX ADVISORY READ 11409 03:06:3679340 0 EOF c13bd624 c13bde6c c13bd7f4 c13bdd54 c13bde74
7: -> POSIX ADVISORY READ 11650 03:06:3679340 0 EOF c13bde68 c13bdec8 c13bd628 c13bdd54 c13bded0
[...]

process 32163 doesn't show up in `ps aux`, `ls /proc |grep 32163` returns nothing.

any ideas?
do i need to reboot the machine? <yuck!>

rj



Relevant Pages

  • OS lock up Win XP
    ... Next lock up could be in one hour ... >Now and the during reboot she gets a checksum error... ... problem with my video driver Nvidia GeForce 440 MX,kept ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Windows XP w/Dual Processor
    ... > reboot without warning? ... >> My pc will lock up. ... I just bought/built a dual AMD Opteron workstation. ... Geforce4 MX440 64MB AGP Card ...
    (microsoft.public.windowsxp.general)
  • Re: sync, reboot, and corrupting data [was Re: 2.6.29 -mm merge plans]
    ... It means that you cannot reboot because reboot does sync. ... Well, ok, data loss is expected in such case. ... Ok I suppose with that Nick's lock is actually ok, ...
    (Linux-Kernel)
  • Re: panic while doing lots of IO on lpfc
    ... ext3 on FC SCSI disk, served by Sun T3, Emulex LP8000 HBA. ... but a reboot is needed ... It could be that someone actually tried to lock the page, ... Second hang was similar but dmesg was not saved, ...
    (Linux-Kernel)
  • Multiple Symbol 8846 Hard Reset/Cold Boot Failures
    ... other four lock up in a way I have not seen before. ... units will reboot cold/hard, as if right out of the box. ... been a power surge/lightning strike, but they're plugged into a surge ... more memory to programs and away from storage, ...
    (microsoft.public.dotnet.framework.compactframework)