[Samba] File locks db (manually removing locks)

Jeremy Allison jra at samba.org
Tue Apr 12 20:47:30 GMT 2005

On Tue, Apr 12, 2005 at 08:11:59AM -0400, Nathan Vidican wrote:
> Okay, but then if the process signals back that is in fact not there, why
> then do the locks remain?

No, the smbd process that detected the problem should then remove that entry.

> I killed all smbd processes last night, and
> restarted samba alltogether before I went home. Upon running an smbstatus
> when I got in this morning, there are still a bunch of locks present for
> PIDs no longer running, some as old as April 1st still.

These must be for files that have not been used since the owning process
abended. You might be able to fix this be using smbclient to open the
files listed. That should cause the cleanup.


More information about the samba mailing list