<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">All right.
I solved this problem after hours of googling.<br>
<br>
It is caused by the limit of enteries in IPv6 kernel routing
table, which is defined in /proc/sys/net/ipv6/route/max_size and
is 4096 by default. But we have more than 4096 IPv6 routes, so
it crashed when adding 4097th entry into kernel table. But it
also took down OSPF communication.<br>
<br>
Maybe bird should check this limit and tell more interesting
error message? Thanks.<br>
<br>
Petr<br>
</font></font><br>
Dne 10.12.2010 14:47, Petr ©»astný napsal(a):
<blockquote cite="mid:4D022F64.8050606@stastny.eu" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-2">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I have bird6 (1.2.5) running OSPF and BGP. Everything works
perfectly until I enable BGP protocol:<br>
<br>
bird> enable XXX<br>
<br>
10-12-2010 14:37:52 <INFO> Enabling protocol XXX<br>
10-12-2010 14:37:54 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:37:54 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:37:54 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:37:54 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:37:54 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:37:54 <WARN> ...<br>
10-12-2010 14:38:02 <ERR> OSPF: Socket error: Network is
unreachable<br>
10-12-2010 14:38:12 <ERR> OSPF: Socket error: Network is
unreachable<br>
10-12-2010 14:38:12 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:38:12 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:38:12 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:38:12 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:38:12 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:38:12 <WARN> ...<br>
10-12-2010 14:38:22 <ERR> OSPF: Socket error: Network is
unreachable<br>
10-12-2010 14:38:25 <WARN> Netlink: No such process<br>
10-12-2010 14:38:25 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:38:25 <WARN> Netlink: No such process<br>
10-12-2010 14:38:25 <WARN> Netlink: Cannot allocate
memory<br>
10-12-2010 14:38:25 <WARN> Netlink: No such process<br>
<br>
It is interesting that I also have another router with bird6
running OSPF (the same network) and BGP peer without any
problem.<br>
<br>
The router has 5 GB of free memory.<br>
<br>
bird> show memory<br>
BIRD memory usage<br>
Routing tables: 46 kB<br>
Route attributes: 4952 B<br>
Protocols: 72 kB<br>
Total: 151 kB<br>
<br>
Any idea?<br>
<br>
Thanks<br>
<br>
Petr Stastny<br>
</font></font> </blockquote>
</body>
</html>