[radvd-devel-l] can't join ipv6-allrouters on (Cannot allocate memory) on 285th interface

Norman Rasmussen norman at rasmussen.co.za
Tue Mar 31 14:03:35 EDT 2009


setsockopt doesn't return ENOMEM at any point, so it's either, sock_kmalloc
in ipv6_sock_mc_join failing or kzalloc in ipv6_dev_mc_inc failing. Either
way you're running out of kernel memory, which is very bad.
see:
http://www.google.com/codesearch/p?hl=en#CJH4YAGt3ds/net/ipv6/mcast.c&q=linux-2.6.25%20mcast.c%20ipv6_sock_mc_join%20ENOMEM

<http://www.google.com/codesearch/p?hl=en#CJH4YAGt3ds/net/ipv6/mcast.c&q=linux-2.6.25%20mcast.c%20ipv6_sock_mc_join%20ENOMEM>does
slabtop show anything interesting?

another thing to check is is errno zero _before_ the setsockopt call? (i.e.
is it the setsockopt that's failing, and not just the call immediately
before it)

also does it always fails on the same interface? i.e. if you remove the
first 10 interfaces, does it:
   get to 275 interfaces and die - i.e. it's always failing on the same
interface
   get to 285 interfaces and die - i.e. it's successfully configured the
285th interface (but we skipped the first 10)

On Tue, Mar 31, 2009 at 5:03 PM, Dan White <dwhite at olp.net> wrote:

>
> >
> > Any ideas?
>
> I forget to include:
>
> I'm running version 1.0 (debian version 1.0-1) of radvd.
>
> A snippet of my radvd.conf is:
>
> interface bond0.102.11 {
>        AdvSendAdvert on;
>        prefix 2610:b8:2:6::/64 {
>                AdvOnLink on;
>                AdvAutonomous on;
>                AdvRouterAddr on;
>        };
>        RDNSS 2610:b8::130 2610:b8::131 {
>        };
> };
>
> interface bond0.2000.2 {
>        AdvSendAdvert on;
>        prefix 2610:b8:2:0::/64 {
>                AdvOnLink on;
>                AdvAutonomous on;
>                AdvRouterAddr on;
>        };
>        RDNSS 2610:b8::130 2610:b8::131 {
>        };
> };
>
> interface bond0.2000.3 {
>        AdvSendAdvert on;
>        prefix 2610:b8:2:1::/64 {
>                AdvOnLink on;
>                AdvAutonomous on;
>                AdvRouterAddr on;
>        };
>        RDNSS 2610:b8::130 2610:b8::131 {
>        };
> };
>
> etc.
>
> Thanks Again,
> - Dan
>
> --
> radvd-devel-l mailing list  :  radvd-devel-l at litech.org
> http://lists.litech.org/listinfo/radvd-devel-l
>



-- 
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.litech.org/pipermail/radvd-devel-l/attachments/20090331/7343396a/attachment.htm 


More information about the radvd-devel-l mailing list