[Samba] winbindd stays at 100% CPU having joined a domain

Thomas Adam thomas.adam at smoothwall.net
Tue May 5 13:47:13 GMT 2009


On Tue, May 05, 2009 at 03:40:15PM +0200, Volker Lendecke wrote:
> On Tue, May 05, 2009 at 09:43:36AM +0100, Thomas Adam wrote:
 > Attaching strace to this process shows nothing -- literally, it's making
> > no system calls whatsoever.  Attaching gdb to this running process and
> > using "next" reveals that it's doing the following:
> > 
> > memcpy() -> tdb_read() -> tdb_find()
> 
> Very likely that is a corrupted tdb file, probably the
> netsamlogon_cache.tdb. What kind of file system do you run
> this on?

This is in ext3.

I've just looked at the machine in question and there's the following
files:

./var/locks/gencache.tdb
./var/locks/idmap_cache.tdb
./var/locks/messages.tdb
./var/locks/winbindd_cache.tdb
./var/locks/netsamlogon_cache.tdb
./var/locks/connections.tdb
./var/locks/mutex.tdb

The particular file in question has an access time of Jan 23rd 2009.  Are
these files periodically removed by samba such as when it restarts, or are
they somehow persistent?  Certainly the timestamp on the
netsamlogon_cache.tdb file suggests it's persistent.  Are they meant to be
cleared, even?

Kindly,

-- 
Thomas Adam
Senior Developer
Smoothwall Ltd.

Email:  thomas.adam at smoothwall.net

SmoothWall Limited
1 John Charles Way
Leeds LS12 6QA
United Kingdom

Phone: 1 800 959 3760     (USA, Canada and North America)
       0870 1 999 500     (United Kingdom)
       +44 870 1 999 500  (all other countries)
Fax:   +44 870 1 991 399

Web: http://www.smoothwall.net/

SmoothWall Limited is registered in England, Company Number: 429824i7

This email and any attachments transmitted with it are confidential to
the intended recipient(s) and may not be communicated to any other
person or published by any means without the express permission of
SmoothWall Limited.  Any views expressed in this message are solely
those of the author.  See:  http://smoothwall.net/company/email.php 
for the full text of this notice.



More information about the samba mailing list