🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #9535

Re: [FreeBSD] ipf_nattable_max

#9535
From: Jakub Wartak
Date: Fri, 08 Jul 2005 07:25
33 lines
1872 bytes
Sied@r wrote:

> 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

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
Technical Details
Message-ID: <dala4j$h8q$4@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <dainvn$8m9$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Jakub Wartak <vnull@NOSPAMpcnet.com.pl>
Newsgroups: pl.comp.os.bsd
Subject: Re: [FreeBSD] ipf_nattable_max
Date: Fri, 08 Jul 2005 09:25:19 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 33
Message-ID: <dala4j$h8q$4@nemesis.news.tpi.pl>
References: <dainvn$8m9$1@inews.gazeta.pl>
NNTP-Posting-Host: pppoe166.p2.pcnet.com.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1120807891 17690 80.51.8.166 (8 Jul 2005 07:31:31 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 8 Jul 2005 07:31:31 +0000 (UTC)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit