https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283903

--- Comment #3 from Guillaume Outters <guillaume-free...@outters.eu> ---
Here it seems to happen only after memory has been exhausted at least once:
after a reboot there *always* (see (1)) have to happen a bunch of "kernel: pid
xxx (xxxxx), jid 0, uid 1001, was killed: failed to reclaim memory" (2) before
any "skb alloc failed" appears.

Could it be that the leaks only happen after some allocations have been
confined to the swap, and then even when mem gets freed the driver is unable to
regain its ability to allocate elsewhere than to swap? (please forgive my
FreeBSD and VM newbiness if my hypothesis is filled with inaccuracies and
nowhere near reality) 

(1)
{ bunzip2 < messages.0.bz2 ; cat messages ; } | egrep alloc\|memory | awk
'/real memory/{s="0 boot"}/failed to reclaim memory/{s="1 killed"}/skb alloc
failed/{s="2 skb"}old!=s{if(old)print n" x\t"old;n=0;old=s}{++n}'

(2)
Repetitively building a full LLVM for all its architectures + clang +
compiler-rt, with make -j4, on a 8 GB laptop.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to