Release 1.0.9

Zharovtsev, Anton warm at stack.ru
Fri Jul 16 04:48:03 CEST 2004


Hi all.

It seems, that bird 1.0.8 anf 1.0.9 has some memory leak.

I use only RIP and I see something like this:

root at netserver:~# ps axu | grep bird
root       154  0.0 26.7 17788 16768 ?       Ss   Jul15   0:02
/usr/sbin/bird
root at netserver:~# kill 154
root at netserver:~#
root at netserver:~# bird
root at netserver:~# ps axu | grep bird
root       855  0.0  0.9  1608  584 ?        Ss   08:54   0:00 bird
root at netserver:~#
root at netserver:~# ps axu | grep bird
root       855  0.0  1.7  2140 1124 ?        Ss   08:54   0:00 bird
root at netserver:~#

I've tried 3 version of bird on 3 differet machines, results was the
same :-(.
As You can see memory usage is growing ... On one my machine it was 114M
today :-(.
In my "old" and stable router I use bird-1.0.7 and it is not growing.

Here is one my config:

log "/var/log/bird.log" { fatal };
#log "/var/log/bird.log" { debug, trace, info, remote, warning, error,
auth, fatal, bug };

# Override router ID, backbone IP ...
router id 217.29.81.92;

filter drop_suckers {
        if net != 0.0.0.0/0 then {
            if from = 217.29.80.1 then accept;
            else reject;
        }
        else reject;
}

protocol direct {
#       interface "-eth*", "*"; # Restrict network interfaces it works
with
}
protocol kernel {
        learn;                  # Learn all alien routes from the kernel
#       persist;                # Don't remove routes on bird shutdown
        scan time 20;           # Scan kernel routing table every 20
seconds
#       import none;            # Default is import all
        import filter drop_suckers;
        export filter drop_suckers;
}

protocol device {
        scan time 10;           # Scan interfaces every 10 seconds
}

# RIP aka Rest In Pieces...
protocol rip TestRIP {  # You can also use an explicit name
        disabled off;
#       debug all;
        port 520;
        infinity 16;
        garbage time 60;
        interface "eth0" { mode quiet; };
        honor neighbor;         # To whom do we agree to send the
routing table
        honor always;
        honor never;
        authentication none;
#       export filter drop_suckers;
#       import filter drop_suckers;
#       export all;
}



More information about the Bird-users mailing list