[Samba] Samba daemons hang trying to lock locking.tdb

Jeremy Allison jra at samba.org
Thu Jan 26 20:23:51 GMT 2006


On Wed, Jan 25, 2006 at 04:11:33PM +0100, Fermin Molina wrote:
> Hi,
> 
> A day or so after starting samba, some daemons (diferent forks) begin to
> hang. Then, the WinXP clients hang too completely.
> 
> When I try to figure out what is happen, I see that smbd daemons hangs
> always in a fcntl64() call:
> 
> # strace -p 6414
> Process 6414 attached - interrupt to quit
> fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=3684, len=1}  <unfinished ...>
> Process 6414 detached
> # 
> 
> The file descriptor 14 corresponds to /var/lib/samba/locking.tdb file.
> A backtrace using gdb from one stalled daemon:

Known bug we fixed with 3.0.21a (in fact this was the *reason*
for 3.0.21a... :-).

Jeremy.


More information about the samba mailing list