Re: show memory question

2021-01-25 Thread Alarig Le Lay
Thank you for your precisions :) On Mon 25 Jan 2021 10:15:00 GMT, Maria Matejka wrote: > Hello! > > My first thought would be that BIRD called free() on that memory, not > necessarily returning the memory back to the kernel. > > This may change in some new versions with changing at least some o

Re: show memory question

2021-01-25 Thread Maria Matejka
Hello! My first thought would be that BIRD called free() on that memory, not necessarily returning the memory back to the kernel. This may change in some new versions with changing at least some of the memory allocations to mmap/munmap. This should help a lot with this specific problem, anyw

show memory question

2021-01-24 Thread Alarig Le Lay
Hi, On one of my routers, I needed to free some RAM temporally, so I shut all my BGP sessions. With `birdc show memory` I saw that it should have worked, however htop was still seeing 1.2G used by bird. 5311 root 20 0 1296M 1220M 1724 S 0.0 61.1 59h01:29 ├─ /usr/sbin/bird -s /run/bird