Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 21:20:07 +0300
From:      "Vitali Malicky" <life@zone3000.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: udp packets dropping
Message-ID:  <022401c352d9$60a82900$2401010a@zone3000.net>
References:  <3F216184.5080007@telcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello,
Hi.

try to assign sysctl vars like mine...

net.local.dgram.maxdgram=4096
net.local.dgram.recvspace=8192
net.inet.udp.maxdgram=9216
net.inet.udp.recvspace=41600
net.inet.raw.maxdgram=32767
net.inet.raw.recvspace=16384
net.inet.udp.log_in_vain=1

check if you netcard works in full duplex (though i think is's a stupid
remark of mine... ;)),
try to rebuild the kernel and add extra network buffering. with extra
buffering it all might work much better.

sorry if I was of no help...

--
Error Code=-1 Continue?
              Yes | No
--




>
> I have a DNS server with a lot of traffic. After just a couple of
> minutes of resetting the netstat -s counters, I get the following output:
>
>          130670 datagrams received
>          0 with incomplete header
>          0 with bad data length field
>          1 with bad checksum
>          30 with no checksum
>          0 dropped due to no socket
>          12 broadcast/multicast datagrams dropped due to no socket
>          4226 dropped due to full socket buffers
>          0 not for hashed pcb
>          126431 delivered
>          136753 datagrams output
>
> As time goes by, the "dropped due to full socket buffers" number goes up.
>
> I have increased the sysctl variable net.inet.udp.recvspace to 100000,

I don't think I might solve the problem...


> up from about 40000. This did not make any difference, the number goes
> up with time.
>
> The server is running FreeBSD 4.6 RELEASE with Bind 9.2.2.
>
> I went through the newsgroups and did not find any solutions to this
> problem.
>
> Any help will be greatly appreciated.
>
> Arie Kachler
> SysAdmin/Telcom.Net
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?022401c352d9$60a82900$2401010a>