mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
5a6a4838f0
This patch cancels the retry policy of the winbind client. When winbindd fails to respond to a request within 30 seconds, the winbind client closes the connection and retries up to 10 times. In some cases, delayed response is a result of multiple requests from multiple clients piling up on the winbind domain child process. Retrying just piles more and more requests, creating a vicious cycle. Even in the case of a single request taking long to complete, there's no point in retrying because the retry request would just wait for the current request to complete. Better to wait patiently. There's one possible benefit in the retry, namely that winbindd typically caches the results, and therefore a retry might take a cached result, so the net effect of the retry may be to increase the timeout to 300 seconds. But a more straightforward way to have a 300 second timeout is to modify the timeout. Therefore the timeout is modified from 30 seconds to 300 seconds (IMHO 300 seconds is too much, but we have "winbind rquest timeout" with a default of 60 to make sure the request completes or fails within 60 seconds) BUG: https://bugzilla.samba.org/show_bug.cgi?id=11397 Signed-off-by: Uri Simchoni <urisimchoni@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> |
||
---|---|---|
.. | ||
libwbclient | ||
tests | ||
nsstest.c | ||
nsstest.h | ||
pam_winbind.c | ||
pam_winbind.h | ||
wb_common.c | ||
wb_reqtrans.c | ||
wb_reqtrans.h | ||
wbinfo.c | ||
winbind_client.h | ||
winbind_krb5_locator.c | ||
winbind_nss_aix.c | ||
winbind_nss_config.h | ||
winbind_nss_freebsd.c | ||
winbind_nss_hpux.h | ||
winbind_nss_irix.c | ||
winbind_nss_irix.h | ||
winbind_nss_linux.c | ||
winbind_nss_linux.h | ||
winbind_nss_netbsd.c | ||
winbind_nss_netbsd.h | ||
winbind_nss_solaris.c | ||
winbind_nss_solaris.h | ||
winbind_nss.h | ||
winbind_struct_protocol.h | ||
wins.c | ||
wscript_build | ||
wscript_configure |