Howdy!

        
        I have a dedicated router/firewall running FreeBSD 4.5-RELEASE-p6 and
ipfilter 3.4.20. IPFilter has been dropping connections because it can't
allocate memory for more entries in the state/nat tables. 

I have traced the condition to an error from kern_malloc() (or one of its
siblings) when it is not able to allocate the memory required. Top shows that
there is lots of free memory.

The documentation in LINT suggest modifying these parameters ..


options         VM_KMEM_SIZE="(10*1024*1024)"
options         VM_KMEM_SIZE_MAX="(100*1024*1024)"
options         VM_KMEM_SIZE_SCALE="4"

        I tried various strategies including setting 

options         VM_KMEM_SIZE_SCALE="2"

        which *should* double the malloc area (according to LINT), but could
not get more memory allocated for the state tables, and the machine started
to load race and became unusable.

        How can I tune the kernel malloc area so that I can take advantage
of the "free RAM".

        thanx - steve




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to