From owner-cvs-all Thu Mar 8 6: 4:49 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 63D7537B71A; Thu, 8 Mar 2001 06:04:43 -0800 (PST) (envelope-from dec@FreeBSD.org) Received: (from dec@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f28E4h300414; Thu, 8 Mar 2001 06:04:43 -0800 (PST) (envelope-from dec) Message-Id: <200103081404.f28E4h300414@freefall.freebsd.org> From: "David E. Cross" Date: Thu, 8 Mar 2001 06:04:43 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/rpc svc_tcp.c svc_unix.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dec 2001/03/08 06:04:43 PST Modified files: (Branch: RELENG_4) lib/libc/rpc svc_tcp.c svc_unix.c Log: Submitted by: Ian Dowse , David Cross Reviewed by: David Cross , jkh Approved by: jkh Obtained from: Ian Dowse , David Cross We have been running this patch on a production NIS server for 2.5 weeks now. Normally we would have ypserv die at least once a week, and often many times a day. This patch treats and error from select as zeroing out the FD_SET to indicate that no fds are ready for reading. This is safe because the rpc code always re-inits the FDSET before calling select. Revision Changes Path 1.18.2.1 +2 -1 src/lib/libc/rpc/svc_tcp.c 1.7.2.1 +2 -1 src/lib/libc/rpc/svc_unix.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message