[PATCH] Cache messaging dgm connections
Andrew Bartlett
abartlet at samba.org
Thu Sep 15 08:08:38 UTC 2016
On Wed, 2016-09-14 at 22:32 -0700, Jeremy Allison wrote:
>
> Note how in all of the above the tevent_ctx == 0x2b6f77f28e00.
>
> At the crash site we have:
>
> #8 0x00002b6f74922a4b in tevent_debug (ev=0x2b6f813acd80,
> level=TEVENT_DEBUG_TRACE, fmt=0x2b6f7492d638 "Destroying timer event
> %p \"%s\"\n") at ../lib/tevent/tevent_debug.c:93
>
> Now ev==0x2b6f813acd80
>
> Something's not right here.
Just as background:
ldb makes a new event context every transaction (because nested event
loops and transactions are incompatible with consistent databases).
So the AD DC will make new event loops very often.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list