From owner-cvs-all Sat Aug 24 23: 5:30 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D15537B400; Sat, 24 Aug 2002 23:05:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A7743E42; Sat, 24 Aug 2002 23:05:26 -0700 (PDT) (envelope-from cjc@FreeBSD.org) Received: from freefall.freebsd.org (cjc@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7P65PJU095745; Sat, 24 Aug 2002 23:05:25 -0700 (PDT) (envelope-from cjc@freefall.freebsd.org) Received: (from cjc@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7P65PSE095742; Sat, 24 Aug 2002 23:05:25 -0700 (PDT) Message-Id: <200208250605.g7P65PSE095742@freefall.freebsd.org> From: "Crist J. Clark" Date: Sat, 24 Aug 2002 23:05:25 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/syslogd syslogd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG cjc 2002/08/24 23:05:25 PDT Modified files: usr.sbin/syslogd syslogd.c Log: Don't give up on a remote log host when we get a EHOSTUNREACH or EHOSTDOWN. These are often transient errors (when the remote host reboots, temporary network problems, etc.), and we'd rather err on the side of caution and keep trying send messages that never arrive than just give up. Note that this is not an implementation of the "back-off" methods given in the PR. Those just seem too complicated. Why not just keep trying each time? Trying and failing doesn't really consume significantly more resources than if we were successful for each message. PR: bin/31029 MFC after: 1 week Revision Changes Path 1.105 +20 -3 src/usr.sbin/syslogd/syslogd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message