[Bug 209475] pf didn't check if enough free RAM for net.pf.states_hashsize

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 13 20:52:47 UTC 2016


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

--- Comment #2 from Olivier Cochard <olivier at freebsd.org> ---
If I configure net.pf.states_hashsize to 134,217,728, this mean using 10GB of
RAM on my 8GB only server, it will directly panic:
KDB: stack backtrace:
#0 0xffffffff807ecbb0 at kdb_backtrace+0x60
#1 0xffffffff807b4086 at vpanic+0x126
#2 0xffffffff807b3f53 at panic+0x43
#3 0xffffffff809b9b7b at vm_fault_hold+0x1bbb
#4 0xffffffff80b3d10c at trap_pfault+0x19c
#5 0xffffffff80b3c8fa at trap+0x47a
#6 0xffffffff80b22de2 at calltrap+0x8
#7 0xffffffff81811509 at pf_initialize+0x1c9
#8 0xffffffff81826775 at pf_modevent+0x125
#9 0xffffffff8079e0db at module_register_init+0xfb
#10 0xffffffff80793887 at linker_load_module+0xc07
#11 0xffffffff80794cd3 at kern_kldload+0xc3
#12 0xffffffff80794dab at sys_kldload+0x5b
#13 0xffffffff80b3d817 at amd64_syscall+0x2f7
#14 0xffffffff80b230cb at Xfast_syscall+0xfb
Uptime: 19s

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list