From owner-freebsd-current@FreeBSD.ORG Mon Mar 6 23:05:32 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 389FF16A420 for ; Mon, 6 Mar 2006 23:05:32 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 293EB43D45 for ; Mon, 6 Mar 2006 23:05:30 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k26N5T0o064921; Tue, 7 Mar 2006 02:05:29 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k26N5T4n064920; Tue, 7 Mar 2006 02:05:29 +0300 (MSK) (envelope-from yar) Date: Tue, 7 Mar 2006 02:05:28 +0300 From: Yar Tikhiy To: Nik Message-ID: <20060306230528.GC61210@comp.chem.msu.su> References: <60ffc71f0603060759r34f02878ha38a7a275dc0aa6c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60ffc71f0603060759r34f02878ha38a7a275dc0aa6c@mail.gmail.com> User-Agent: Mutt/1.5.9i Cc: current@freebsd.org Subject: Re: multicast group memberships exceeded in FreeBSD 6-Prerelease X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 23:05:32 -0000 On Mon, Mar 06, 2006 at 11:59:00PM +0800, Nik wrote: > OSPF: can't setsockopt IP_ADD_MEMBERSHIP (fd 6, addr 192.56.14.22 < > http://192.56.14.22>, ifindex 31, AllSPFRouters): > Address already in use;perhaps a kernel limit on # of multicast group > memberships has been exceeded? > > I'm having this problem in FreeBSD 6-Prerelease. I think this problem has > been solved since I'm having this problem in FreeBSD 5-stable. Can anyone > help me in solving this problem. If there is any patch, can you provid me > the way to patch cause I'm never do any of patching before. When the maximum number of multicast group memberships is exceeded, a different error will be returned by the system: ETOOMANYREFS A.K.A. "Too many references: can't splice". Indeed, a system file needs patching if that happens. However, it doesn't seem to be the case. I think that this time your routing software just tried to join the "all OSPF routers" multicast group on the same interface multiple times because there were IP aliases assigned to that interface or you used unnumbered p2p interfaces. In the first case it should be harmless while in the second case the error message in fact indicates that your routing software cannot specify an interface by its ifindex to the IP multicast API of FreeBSD. Was it Quagga? -- Yar