samba_dnsupdate timeouts (was Re: [PATCH] python indent bugfix in

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Feb 7 13:29:08 UTC 2019

On Thu, Feb 07, 2019 at 10:37:25AM +0100, Stefan Metzmacher wrote:
> Currently samba_dnsupdate (on the RODC) constantly recreates its irpc
> handle (and the messaging context and the dgram socket). This causes
> problems when winbindd tries to send back the result to samba_dnsupdate,
> as winbindd's messaging context caches connected dgram sockets per
> target pid for 1 second. As the target (samba_dnsupdate) constantly
> recreates its socket, winbindd very likely hits ECONNREFUSED when
> the socket is recreated multiple times within 1 second.
> As a result samba_dnsupdate hits a 10 second irpc timeout, so the
> whole samba_dnsupdate hits the 20 second timeout on the RODC.

Without having looked at the code: Can you explain that in a bit more
detail? My assumption was that a messaging context has to live longer
than the RPC requests issued via it. Or am I messing up things really
badly here?


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 -

More information about the samba-technical mailing list