multicast group memberships exceeded in FreeBSD 6-Prerelease

Yar Tikhiy yar at comp.chem.msu.su
Mon Mar 6 23:05:32 UTC 2006


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


More information about the freebsd-current mailing list