>Is there any way on your system of discovering which process is holding the lock on a file?
You could try using lsof (LiSt Open Files), a tool which can be found at vic.cc.purdue.edu in the pub/tools/unix/lsof directory. This program show all (or some) open files on a system, related to the processes (PID's) which own the file descriptors. It gives a lot of info, including file open mode (r, w, r/w, locks, etc).
Cheers, Frank
--
WWWWW ___________________________
## o o\ / Frank de Lange \
}# \| / +31-70-3712708 day \
##---# _/ +31-320-252965 night \
#### \frank.de.lange@???/
\ frank.de.lange@??? /
------------------------------
--
*** Exim information can be found at
http://www.exim.org/ ***