From owner-cvs-src@FreeBSD.ORG Sun Mar 11 09:59:53 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 468B816A402; Sun, 11 Mar 2007 09:59:53 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F256E13C478; Sun, 11 Mar 2007 09:59:52 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l2B9xqLT023523; Sun, 11 Mar 2007 09:59:52 GMT (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l2B9xqrT023522; Sun, 11 Mar 2007 09:59:52 GMT (envelope-from simon) Message-Id: <200703110959.l2B9xqrT023522@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Sun, 11 Mar 2007 09:59:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libc/yp yplib.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2007 09:59:53 -0000 simon 2007-03-11 09:59:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/yp yplib.c Log: MFC 1.50: - Bump _yplib_timeout limit from 10 to 20 seconds to better handle packet loss when talking to a NIS server. - Set 1 second retry timeout to further realistically handle UDP packet loss for yp_next packet bursts. If the packet hasn't come back within 1 second its rather unlikely to come back at all. There is still back-off mechanism in RPC so if there is another reason than packet loss for the lack of response within 1 second, the NIS server will not be totally bombarded with requests. This reduces the risk of NIS failing with: yp_next: clnt_call: RPC: Timed out considerably. This is mainly a problem if you have larger NIS maps (like at FreeBSD.org) since enumerations of the lists will cause a UDP packet bursts where a few packets being lost once in a while do happen. Discussed with: peter Problem mainly diagnosed by: peter Revision Changes Path 1.49.2.1 +9 -1 src/lib/libc/yp/yplib.c