Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[FreeBSD] ipf_nattable_max

21 views
Skip to first unread message

Sied@r

unread,
Jul 7, 2005, 4:09:55 AM7/7/05
to
Spotkal sie ktos z takim wpisem ? na googlach raczej skapo.
A pierwszy raz w zyciu to widzialem. Czym moze byc spowodowany ponizszy
wpis? oczywiscie LARGE_NAT jest wkompilowany.

/kernel: ipf_nattable_max reduced to 33596

Pozdrawiam
Siedar

Jakub Wartak

unread,
Jul 8, 2005, 3:25:19 AM7/8/05
to
Sied@r wrote:

z /usr/src/sys/contrib/ipfilter/netinet/ip_nat.c:
[--tasakiem potraktowane--]

/* Give me a new nat */
KMALLOC(nat, nat_t *);
if (nat == NULL) {
nat_stats.ns_memfail++;
/*
* Try to automatically tune the max # of entries in the
* table allowed to be less than what will cause
kmem_alloc()
* to fail and try to eliminate panics due to out of memory
* conditions arising.
*/
if (ipf_nattable_max > ipf_nattable_sz) {
ipf_nattable_max = nat_stats.ns_inuse - 100;
printf("ipf_nattable_max reduced to %d\n",
ipf_nattable_max);
}
return NULL;
}

--
Jakub Wartak
vnull

0 new messages