incorrect memory usage reporting

Ondrej Zajicek santiago at crfreenet.org
Sun Jun 29 01:20:30 CEST 2014


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 at 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 at 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 at 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 at 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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_slab_memsize.patch
Type: text/x-diff
Size: 457 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20140629/96637c86/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20140629/96637c86/attachment-0001.asc>


More information about the Bird-users mailing list