Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 11:51:27 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        stable@FreeBSD.org
Subject:   Re: syslogd and inetd problems
Message-ID:  <20020517115127.B65921@blossom.cjclark.org>
In-Reply-To: <20020517024345.A75815@iguana.icir.org>; from rizzo@icir.org on Fri, May 17, 2002 at 02:43:45AM -0700
References:  <20020517024345.A75815@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 17, 2002 at 02:43:45AM -0700, Luigi Rizzo wrote:
> Hi,
> recently I have seen the following problems with inetd and syslogd,
> so was wondering if my diagnose is correct, other have seen them,
> and how urgent is a fix.
> 
> syslogd:
> 
>  + i am using syslogd to log to a remote system. From time to time,
>    the syslog daemon stops sending to the remote system, and I need
>    to restart it. Haven't traced the problem in detail, but it usually
>    happens across some network outage between the two.
> 
>    A high level inspection of the code in syslogd.c suggests that
>    the daemon closes the connection on a sendto failure, which is
>    probably not the smartest thing to do. At the very least, the
>    code should implement some recovery mechanism.

Yes. I have patches someone sent me for this. IIRC, there is a PR
attached. Before you start writing code, I'll try to forward the
patches today or tomorrow.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020517115127.B65921>