udp packets dropping

Vitali Malicky life at zone3000.net
Fri Jul 25 11:14:27 PDT 2003


> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list