From owner-freebsd-net@FreeBSD.ORG Fri Dec 26 10:54:45 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5F41106564A for ; Fri, 26 Dec 2008 10:54:45 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.freebsd.org (Postfix) with ESMTP id 5D6D78FC2B for ; Fri, 26 Dec 2008 10:54:45 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from [192.168.2.100] ([172.21.151.2]) by smtp-1.dlr.de with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 Dec 2008 11:54:43 +0100 Message-ID: <4954B7DF.3030006@dlr.de> Date: Fri, 26 Dec 2008 11:54:23 +0100 From: Hartmut Brandt User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Eugene Grosbein References: <20081225193818.GA9210@svzserv.kemerovo.su> <4953E89B.1060102@dlr.de> <4954A459.37E85537@kuzbass.ru> In-Reply-To: <4954A459.37E85537@kuzbass.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Dec 2008 10:54:43.0180 (UTC) FILETIME=[5BC652C0:01C96748] Cc: Petri Helenius , net@freebsd.org Subject: Re: bsnmpd & BGP full view X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2008 10:54:45 -0000 Eugene Grosbein wrote: > Petri Helenius wrote: > > >>> In any case it should re-read the kernel table only every 10 minutes >>> and in the mean time monitor the routing socket to update its copy >>> of the table. If of course someone is doing a lot of updates on >>> >> Why does it have to re-read the table periodically if it gets the >> updates anyway? >> > > To protect from bugs that may lead to missed updates on rtsocket, I guess. > Yes. I was not sure how well this works. In any case if there is too many traffic from the kernel to the daemon the socket buffer may drop messages. Give me a day and I send you a patch so that you can tune the re-read interval and the routing socket monitoring. harti