[Samba] Re: Stale file locks
gmane at tippingmar.com
Fri Dec 10 05:06:15 GMT 2004
Misty Stanley-Jones wrote:
> Hi all,
> I've had just a couple instances so far where a user has closed a file, but
> fuser still reports it open, and when I look at the pid it reports, it's a
> smbd process. If I kill the process, other users can open the file. Is
> there a way that I can debug why this is happening? Samba 3.0.9 with ext3
> filesystem underlying. Thanks for any ideas, as this is one of those things
> that just makes Samba look less robust than I know it actually is.
In my experience samba fails to release a file lock if the user crashes
a program that has a file open. The lock is released when the user logs
off, because that kills the pid as you mentioned. I don't think you
should kill the pid if the user is still active.
More information about the samba