Problem so zahadzovanim UDP

Petr Holub hopet at ics.muni.cz
Tue Oct 2 14:41:29 CEST 2001


No, ja bych si tipnul, ze  net.inet.udp.recvspace, ale to uz
mi prijde zas docela dos velky. U mne nastaveni vypada
takhle:

net.inet.udp.checksum: 1
net.inet.udp.maxdgram: 9216
net.inet.udp.recvspace: 42080
net.inet.udp.log_in_vain: 0
net.inet.udp.blackhole: 0

a ziji s tim bez problemu... BTW: jeste jsem nasel
jeden parametr, ale o tom predpokladam, ze se tyka je IPC:

kern.ipc.maxsockbuf: 262144

Petr

================================================================
                            Petr Holub
CESNET z.s.p.o.                       Supercomputing Center Brno
Zikova 2                             Institute of Compt. Science
10200 Praha, CZ                               Masaryk University
Czech Republic                     Botanicka 68a, 60200 Brno, CZ 
e-mail: Petr.Holub at cesnet.cz              phone: +420-5-41512278
                                       e-mail: hopet at ics.muni.cz  
 

> -----Original Message-----
> From: owner-users-l at freebsd.cz [mailto:owner-users-l at freebsd.cz]On
> Behalf Of Tomas TPS Ulej
> Sent: Tuesday, October 02, 2001 2:15 PM
> To: users-l at freebsd.cz
> Subject: Problem so zahadzovanim UDP
> 
> 
> netstat -s (FreeBSD r4.3)
> 
> udp:
>         13964 datagrams received
>         0 with incomplete header
>         0 with bad data length field
>         0 with bad checksum
>         0 with no checksum
>         86 dropped due to no socket
>         124 broadcast/multicast datagrams dropped due to no socket
>         7056 dropped due to full socket buffers
>         0 not for hashed pcb
>         6698 delivered
>         6698 datagrams output
> 
> Co mam nastavit pre zvacsenie socket buffrov?
> 
> root@[SCREEN1.newaaa /usr/src/sys/i386/conf] # sysctl -a | grep udp
> udpcb:           192,     8200,      5,     37,     3754
> net.inet.udp.checksum: 1
> net.inet.udp.maxdgram: 8192
> net.inet.udp.log_in_vain: 0
> net.inet.udp.blackhole: 0
> 
> --
> TPS
> 
> 



More information about the Users-l mailing list