Winbindd using 100% of CPU. Any solution?

Richard Sharpe realrichardsharpe at gmail.com
Tue Dec 17 16:24:15 MST 2013


On Mon, Dec 16, 2013 at 1:56 PM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> On Mon, Dec 16, 2013 at 11:10 AM, Richard Sharpe
> <realrichardsharpe at gmail.com> wrote:
>
> More info ... because I see this in the log:
>
>    adding 0x80334c940 to list at 0xeac360
>
> but do not see this:
>
>    removing %p from list %p
>
> and because I see that the PID has been initialized, it looks like
> child->sock has been set to -1 without removing the child from the
> winbindd_children list!

OK, I think I have the smoking gun.

Here is what I see in the log:

[2013/12/17 16:34:08.459496, 10]
winbindd/winbindd_dual.c:1385(fork_domain_child)
  fork_domain_child called for domain 'EXCHANGE'
[2013/12/17 16:34:08.460496, 10]
winbindd/winbindd_dual.c:1438(fork_domain_child)
  Child process 15002
[2013/12/17 16:34:08.460496,  0]
winbindd/winbindd_dual.c:1430(fork_domain_child)
  adding 0x803358760 to list at 0x80330b100

then a little while later:

[2013/12/17 16:39:07.843301, 10]
winbindd/winbindd_dual.c:1385(fork_domain_child)
  fork_domain_child called for domain 'XCHANGE'
[2013/12/17 16:39:07.844302, 10]
winbindd/winbindd_dual.c:1438(fork_domain_child)
  Child process 18746
[2013/12/17 16:39:07.845302,  0]
winbindd/winbindd_dual.c:1430(fork_domain_child)
  adding 0x803358760 to list at 0x803358760
[2013/12/17 16:39:07.845302,  0]
winbindd/winbindd_dual.c:1430(fork_domain_child)
  adding 0x803358760 to list at 0x803358760
[2013/12/17 16:39:07.847307,  0] lib/util.c:1117(smb_panic)
  PANIC (pid 14996): duplicate!

It seems that there are two domains with similar names and winbindd is
treating them the same:

Here is what wbinfo -m shows me:

...
EXCHANGE
XCHANGE

And here is what happens if I try to get info on those domains ...

[xxxxx]# wbinfo -D EXCHANGE
failed to call wbcDomainInfo: WBC_ERR_DOMAIN_NOT_FOUND
Could not get domain info
[xxxxx]# wbinfo -D XCHANGE
Name              : XCHANGE
Alt_Name          : xchange.some.dom
SID               : S-1-5-21-782252399-1160315966-1364796038
Active Directory  : Yes
Native            : Yes
Primary           : No

How can I find out more about that similarly named domain?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list