Jeremy,
Great work - no sign of the winbind memory leak now in the latest CVS. I
have been pounding it since Friday and despite a thrashing today from the
users it looks solid and hasn't blinked.
I think you have been doing some work on the problem with the
winbindd_idmap.tdb file and an old domain ? When I just upgraded my 2.2.3a
server to the latest CVS it had this in the logs:
[2002/04/15 21:07:29, 1] nsswitch/winbindd_util.c:init_domain_list(152)
getting trusted domain list
[2002/04/15 21:07:29, 0] nsswitch/winbindd_idmap.c:convert_fn(265)
winbindd: convert_fn : Unable to find domain NTMIXED
[2002/04/15 21:07:29, 0] nsswitch/winbindd_idmap.c:convert_fn(266)
winbindd: convert_fn : deleting record NTMIXED/512
[2002/04/15 21:07:29, 0] nsswitch/winbindd_idmap.c:convert_fn(265)
winbindd: convert_fn : Unable to find domain NTMIXED
[2002/04/15 21:07:29, 0] nsswitch/winbindd_idmap.c:convert_fn(266)
winbindd: convert_fn : deleting record NTMIXED/513
...ETC
Nice one - although I am a little confused as I thought I was being devious
by manually deleting the NTMIXED stuff (pairs) out of my idmap file this
morning. Obviously I didn't write it back or something ? Not sure where
they all came from ?
The other thing I find a little odd is that now 'tdbdump
winbindd_idmap.tdb'
just gives me this but there are over 100 users in the system:
[root@belly tdb]# ./tdbdump /samba/var/locks/winbindd_idmap.tdb
{
key = "GID 10048\00"
data = "S-1-5-21-2025429265-764733703-725345543-1643\00"
}
{
key = "UID 10027\00"
data = "S-1-5-21-2025429265-764733703-725345543-1165\00"
}
[root@belly tdb]#
A little disconcerting but winbindd seems to work OK. Doing the same on my
other server ('liver') it gives me 2000+ lines of output - all the
pairings
you would expect.
If I do a 'dump' from inside tdbtool then I get all the expected pairs
on
both servers. Is this a problem with tdbdump ? Can't see why it chooses to
dump these two records alone on 'belly'.
The idmap file size has also changed a lot. Despite the erasure of the
NTMIXED records it has more than doubled in size:
-rw------- 1 root root 65536 Apr 15 21:41 winbindd_idmap.tdb
-rw------- 1 root root 24576 Apr 15 17:37
winbindd_idmap.tdb.orig
Let me know if you want anything from me,
Cheers,
Noel
-----Original Message-----
From: jra@samba.org [mailto:jra@samba.org]
Sent: 12 April 2002 18:10
To: Noel Kelly
Cc: 'Grietens, Marc'; 'samba@lists.samba.org'
Subject: Re: [Samba] winbind stops ? hangs ?
On Fri, Apr 12, 2002 at 05:49:26PM +0100, Noel Kelly
wrote:> This winbind dying thing has been fixed in 2.2.4 but you'll have to use
the> CVS until it is offically released (next week ?). As far as I know there
is> a still a moderate memory leak in it so I just stop and start it each
> morning.
Are you saying there's a moderate mem leak in the CVS version ?
If so I need to track this down...
How are you reproducing it ?
Jeremy.