incorrect memory usage reporting
Hi all, I use a BIRD instance for route collection from ~ 50 full bgp feeds [1]. The 'show mem' command reports very ambitious results: job@lg01:~$ sudo birdc show mem BIRD 1.4.2 ready. BIRD memory usage Routing tables: 4294967294 GB Route attributes: 1540 MB ROA tables: 192 B Protocols: 311 kB Total: 0 GB job@lg01:~$ free -m total used free shared buffers cached Mem: 8759 4944 3815 0 187 366 -/+ buffers/cache: 4390 4369 Swap: 486 0 486 job@lg01:~$ Might there be a counter that wraps around? How can I help debug this? Kind regards, Job [1]: http://lg.ring.nlnog.net/summary/lg01/ipv4
On Sat, Jun 28, 2014 at 12:54:41PM +0200, Job Snijders wrote:
Hi all,
I use a BIRD instance for route collection from ~ 50 full bgp feeds [1]. The 'show mem' command reports very ambitious results:
job@lg01:~$ sudo birdc show mem BIRD 1.4.2 ready. BIRD memory usage Routing tables: 4294967294 GB Route attributes: 1540 MB ROA tables: 192 B Protocols: 311 kB Total: 0 GB job@lg01:~$ free -m total used free shared buffers cached Mem: 8759 4944 3815 0 187 366 -/+ buffers/cache: 4390 4369 Swap: 486 0 486 job@lg01:~$
Might there be a counter that wraps around? How can I help debug this?
Hi Does attached patch help? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Sun, Jun 29, 2014 at 01:20:30AM +0200, Ondrej Zajicek wrote:
Does attached patch help?
Looks good: job@lg01:~$ sudo birdc show mem BIRD 1.4.2 ready. BIRD memory usage Routing tables: 2100 MB Route attributes: 1504 MB ROA tables: 192 B Protocols: 310 kB Total: 3604 MB Kind regards, Job
participants (2)
-
Job Snijders -
Ondrej Zajicek