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@netserver:~# ps axu | grep bird root 154 0.0 26.7 17788 16768 ? Ss Jul15 0:02 /usr/sbin/bird root@netserver:~# kill 154 root@netserver:~# root@netserver:~# bird root@netserver:~# ps axu | grep bird root 855 0.0 0.9 1608 584 ? Ss 08:54 0:00 bird root@netserver:~# root@netserver:~# ps axu | grep bird root 855 0.0 1.7 2140 1124 ? Ss 08:54 0:00 bird root@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; }
On Fri, 16 Jul 2004, Zharovtsev, Anton wrote:
Hi all.
Hi!
It seems, that bird 1.0.8 anf 1.0.9 has some memory leak.
Hmm, strange.
I use only RIP and I see something like this:
root@netserver:~# ps axu | grep bird root 154 0.0 26.7 17788 16768 ? Ss Jul15 0:02 /usr/sbin/bird root@netserver:~# kill 154 root@netserver:~# root@netserver:~# bird root@netserver:~# ps axu | grep bird root 855 0.0 0.9 1608 584 ? Ss 08:54 0:00 bird root@netserver:~# root@netserver:~# ps axu | grep bird root 855 0.0 1.7 2140 1124 ? Ss 08:54 0:00 bird root@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.
On my simulated network is everything fine, so I need your help. Could you please send me 'dump resource' from some 'fat' bird? Feela
Hello Everybody, Friday, July 16, 2004, Anton Zharovtsev wrote: ZA> Hi all. ZA> It seems, that bird 1.0.8 anf 1.0.9 has some memory leak. ZA> I use only RIP and I see something like this: ZA> root@netserver:~# ps axu | grep bird ZA> root 154 0.0 26.7 17788 16768 ? Ss Jul15 0:02 ZA> /usr/sbin/bird ZA> root@netserver:~# kill 154 ZA> root@netserver:~# ZA> root@netserver:~# bird ZA> root@netserver:~# ps axu | grep bird ZA> root 855 0.0 0.9 1608 584 ? Ss 08:54 0:00 bird ZA> root@netserver:~# ZA> root@netserver:~# ps axu | grep bird ZA> root 855 0.0 1.7 2140 1124 ? Ss 08:54 0:00 bird ZA> root@netserver:~# ZA> I've tried 3 version of bird on 3 differet machines, results was the ZA> same :-(. ZA> As You can see memory usage is growing ... On one my machine it was 114M ZA> today :-(. ZA> In my "old" and stable router I use bird-1.0.7 and it is not growing. So I`ve decide to check this. After making commands: service bird restart free I see that nearly 50 Mb of free memory appeared. Strange isn`t it. So I wait a couple of days to check one more time. Today I see following: ## my main router (rh9,p3-600,bird-1.0.7-1) [root@relay root]# ps aux |grep bird root 15263 0.0 3.1 19636 16416 ? S Jul18 0:31 bird [root@relay root]# birdc BIRD 1.0.6 ready. bird> show status BIRD 1.0.6 Current server time is 20-07-2004 09:42:59 Last reboot on 18-07-2004 04:02:52 Last reconfiguration on 18-07-2004 04:02:52 Daemon is up and running bird> q [root@relay root]# service bird restart Stopping BIRD: [ OK ] Starting BIRD: [ OK ] [root@relay root]# !ps ps aux |grep bird root 16437 0.3 0.1 1668 580 ? S 09:43 0:00 bird [root@relay root]# so in 2 days of uptime it grows up to 16 mb ## another router in the same network segment ## (AltLinux Master 2.2, celeron 1,1 Ghz,bird-1.0.9-1) [root@xp report]# ps -aux |grep bird root 18329 0.0 0.1 1676 820 ? S 04:02 0:01 bird [root@xp report]# birdc BIRD 1.0.9 ready. bird> show status BIRD 1.0.9 Current server time is 20-07-2004 09:50:02 Last reboot on 20-07-2004 04:02:32 Last reconfiguration on 20-07-2004 04:02:32 Daemon is up and running bird> q [root@xp report]# service bird restart Stopping BIRD for IPv4: [ OK ] Starting BIRD for IPv4: [ OK ] [root@xp report]# ps -aux |grep bird root 29814 0.3 0.1 1516 588 ? S 09:50 0:00 bird Here i see quite the contrary result. 1.0.9 version is stable and does not grown in memory. :\ Of course I`ve tried to see something in "dump resources" command, but it shows nothing. So I`m interesting about the reason of growing memory allocated for bird. Truly Yours Oleg Loschyov.
On Tue, 20 Jul 2004, Loschyov Oleg wrote:
Hello Everybody,
Friday, July 16, 2004, Anton Zharovtsev wrote:
So I`ve decide to check this. After making commands: service bird restart free I see that nearly 50 Mb of free memory appeared. Strange isn`t it. So I wait a couple of days to check one more time. Today I see following: ## my main router (rh9,p3-600,bird-1.0.7-1)
[root@relay root]# ps aux |grep bird root 15263 0.0 3.1 19636 16416 ? S Jul18 0:31 bird [root@relay root]# birdc BIRD 1.0.6 ready. bird> show status BIRD 1.0.6 Current server time is 20-07-2004 09:42:59 Last reboot on 18-07-2004 04:02:52 Last reconfiguration on 18-07-2004 04:02:52 Daemon is up and running bird> q [root@relay root]# service bird restart Stopping BIRD: [ OK ] Starting BIRD: [ OK ] [root@relay root]# !ps ps aux |grep bird root 16437 0.3 0.1 1668 580 ? S 09:43 0:00 bird [root@relay root]#
so in 2 days of uptime it grows up to 16 mb
OK, the BIRD versions before 1.0.8 have memory leak.
## another router in the same network segment ## (AltLinux Master 2.2, celeron 1,1 Ghz,bird-1.0.9-1) [root@xp report]# ps -aux |grep bird root 18329 0.0 0.1 1676 820 ? S 04:02 0:01 bird [root@xp report]# birdc BIRD 1.0.9 ready. bird> show status BIRD 1.0.9 Current server time is 20-07-2004 09:50:02 Last reboot on 20-07-2004 04:02:32 Last reconfiguration on 20-07-2004 04:02:32 Daemon is up and running bird> q [root@xp report]# service bird restart Stopping BIRD for IPv4: [ OK ] Starting BIRD for IPv4: [ OK ] [root@xp report]# ps -aux |grep bird root 29814 0.3 0.1 1516 588 ? S 09:50 0:00 bird
Here i see quite the contrary result. 1.0.9 version is stable and does not grown in memory. :\
1.0.9 has many bugfixes. So I think, this is a proof.
Of course I`ve tried to see something in "dump resources" command, but it shows nothing. So I`m interesting about the reason of growing memory allocated for bird.
OF
Truly Yours Oleg Loschyov.
participants (3)
-
Loschyov Oleg -
Ondrej Filip -
Zharovtsev, Anton