From owner-freebsd-net@FreeBSD.ORG Thu Oct 14 17:44:53 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BBCA106567A for ; Thu, 14 Oct 2010 17:44:53 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward6.mail.yandex.net (forward6.mail.yandex.net [77.88.60.125]) by mx1.freebsd.org (Postfix) with ESMTP id 8F96D8FC1D for ; Thu, 14 Oct 2010 17:44:52 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward6.mail.yandex.net (Yandex) with ESMTP id 77FFDBB026D for ; Thu, 14 Oct 2010 21:44:50 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1287078290; bh=1+ZBmD4c7MWigeOifqWoMtx16P5l7xfwPIC4R73qDvw=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; b=WJ8ImPi3U4BTUwf0A0lgWI7yoA9O3dpRinmSPlDyKiMC/OXeWxxAlG67OEqcdeWo4 5zrMI+IGot9A09T0rUS+bT3AL32ca3STEaW0gmJ8sjbN70ZliVc0t2Vgl3Rr/YqAfd 3MxIVdBduM+HrpDIpfzVKH3mGQ5ewrGfRgfiL07A= Received: from HOMEUSER (unknown [77.93.36.205]) by smtp8.mail.yandex.net (Yandex) with ESMTPA id 0964B202809C for ; Thu, 14 Oct 2010 21:44:49 +0400 (MSD) Date: Thu, 14 Oct 2010 20:44:50 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <801172760.20101014204450@yandex.ru> To: freebsd-net@freebsd.org In-Reply-To: <1861551856.20101014120300@gmail.com> References: <8710276544.20101014084846@yandex.ru> <1861551856.20101014120300@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1287078290 X-Yandex-Spam: 1 X-Yandex-Front: smtp8.mail.yandex.net Subject: problem with net subsystem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 17:44:53 -0000 Hi #top -SI last pid: 67653; load averages: 1.23, 1.12, 1.24 up 1+09:46:14 20:22:34 94 processes: 3 running, 76 sleeping, 15 waiting CPU: 0.0% user, 0.0% nice, 33.3% system, 66.7% interrupt, 0.0% idle Mem: 54M Active, 226M Inact, 103M Wired, 59M Buf, 103M Free Swap: 2048M Total, 2048M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 13 root 1 106 - 0K 8K RUN 251:36 49.02% ng_queue 11 root 1 171 ki31 0K 8K RUN 21.5H 35.60% idle 12 root 15 -44 - 0K 120K WAIT 31:04 12.06% intr 0 root 9 -68 0 0K 64K - 18:13 0.49% kernel 67618 root 1 44 0 10020K 2312K ttyin 0:00 0.34% systat 18710 root 2 44 0 84660K 62868K select 16:11 0.29% mpd5 67653 root 1 44 0 9944K 2020K RUN 0:00 0.15% top there are no queues nor pipes in ipfw. #systat -v users Load Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act count All pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt cow total zfod ozfod . %Sys . %Intr . %User . %Nice . %Idle %ozfod | | | | | | | | | | | daefr prcfr dtbuf totfr Namei Name-cache Dir-cache desvn react Calls hits % hits % numvn pdwak frevn pdpgs intrn Disks ad0 wire KB/t act tps inact MB/s cache %busy free # vmstat -i interrupt total rate irq1: atkbd0 1203 0 irq14: ata0 139502 1 irq15: ata1 35 0 irq19: sis0 0 0 cpu0:timer 258485585 2124 Total 783059828 6436 # ifconfig sis0 sis0: flags=8843 metric 0 mtu 1500 options=82048 ether 00:0b:6a:a6:0c:f0 inet 10.11.8.18 netmask 0xffffff00 broadcast 10.11.8.255 inet6 fe80::20b:6aff:fea6:cf0%sis0 prefixlen 64 scopeid 0x1 inet R.E.A.L netmask 0xfffffffc broadcast X.X.X.X nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active #netstat -s tcp: 205416 packets sent 124715 data packets (8022081 bytes) 1425 data packets (99472 bytes) retransmitted 38 data packets unnecessarily retransmitted 0 resends initiated by MTU discovery 75509 ack-only packets (64514 delayed) 0 URG only packets 0 window probe packets 0 window update packets 3824 control packets 1653273 packets received 115656 acks (for 8017539 bytes) 1967 duplicate acks 0 acks for unsent data 104386 packets (4886466 bytes) received in-sequence 62 completely duplicate packets (1512 bytes) 0 old duplicate packets 0 packets with some dup. data (0 bytes duped) 4 out-of-order packets (112 bytes) 0 packets (0 bytes) of data after window 0 window probes 3 window update packets 1 packet received after close 4 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 0 discarded due to memory problems 1441 connection requests 1091 connection accepts 0 bad connection attempts 6726 listen queue overflows 25 ignored RSTs in the windows 2530 connections established (including accepts) 111289 connections closed (including 214 drops) 2185 connections updated cached RTT on close 2267 connections updated cached RTT variance on close 1516 connections updated cached ssthresh on close 2 embryonic connections dropped 107299 segments updated rtt (of 107034 attempts) 1434 retransmit timeouts 68 connections dropped by rexmit timeout 0 persist timeouts 0 connections dropped by persist timeout 0 Connections (fin_wait_2) dropped because of timeout 0 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 554 correct ACK header predictions 19107 correct data packet header predictions 6278 syncache entries added 4 retransmitted 0 dupsyn 5 dropped 1091 completed 0 bucket overflow 0 cache overflow 1 reset 0 stale 6726 aborted 0 badack 0 unreach 0 zone failures 6283 cookies sent 1540 cookies received 19 SACK recovery episodes 40 segment rexmits in SACK recovery episodes 18640 byte rexmits in SACK recovery episodes 298 SACK options (SACK blocks) received 2 SACK options (SACK blocks) sent 0 SACK scoreboard overflow 0 packets with ECN CE bit set 0 packets with ECN ECT(0) bit set 0 packets with ECN ECT(1) bit set 0 successful ECN handshakes 0 times ECN reduced the congestion window udp: 2633751 datagrams received 0 with incomplete header 1 with bad data length field 79 with bad checksum 31975 with no checksum 2172028 dropped due to no socket 158299 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 303344 delivered 316572 datagrams output 0 times multicast source filter matched sctp: ....... ip: 617221119 total packets received 99 bad header checksums 0 with size smaller than minimum 0 with data size < data length 0 with ip length > max ip packet size 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 66 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 33 packets reassembled ok 188676089 packets for this host 46175 packets for unknown/unsupported protocol 428113078 packets forwarded (0 packets fast forwarded) 366167 packets not forwardable 0 packets received for unknown multicast group 0 redirects sent 356645899 packets sent from this host 10295 packets sent with fabricated ip header 514772 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 88839756 output datagrams fragmented 177696236 fragments created 304600 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header icmp: 2347631 calls to icmp_error 31 errors not generated in response to an icmp message Output histogram: echo reply: 2129 destination unreachable: 2346451 time exceeded: 49 0 messages with bad code fields 0 messages less than the minimum length 0 messages with bad checksum 0 messages with bad length 0 multicast echo requests ignored 0 multicast timestamp requests ignored Input histogram: echo reply: 8242 destination unreachable: 4417 routing redirect: 37388 echo: 2129 time exceeded: 7414 2129 message responses generated 0 invalid return addresses 0 no return routes ICMP address mask responses are disabled igmp: ..... arp: 825 ARP requests sent 26292 ARP replies sent 246041 ARP requests received 761 ARP replies received 246802 ARP packets received 29 total packets dropped due to no ARP entry 373 ARP entrys timed out 0 Duplicate IPs seen *6: .... all values are zero (no ipv6) pings from client machine to inet (tunnel over pptp): Ответ от 93.158.134.3: число байт=32 время=64мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=64мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=90мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=60мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=55мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=56мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=64мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=98мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=187мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=137мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=249мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=73мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=159мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=106мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=75мс TTL=55 Ответ от 93.158.134.3: число байт=32 время=58мс TTL=55 # netstat -w 1 -h -d -I sis0 9.8K 0 0 7.7M 12K 0 7.9M 0 0 9.3K 0 0 7.4M 12K 0 7.6M 0 0 7.2K 0 0 5.5M 9.1K 0 5.7M 0 0 7.5K 0 0 5.7M 8.9K 0 5.8M 0 0 8.4K 0 0 6.6M 11K 0 6.8M 0 0 8.9K 0 0 7.1M 11K 0 7.3M 0 0 8.4K 0 0 6.8M 11K 0 7.0M 0 0 input (sis0) output packets errs idrops bytes packets errs bytes colls drops 8.5K 0 0 6.8M 11K 0 7.0M 0 0 9.3K 0 0 7.4M 12K 0 7.6M 0 0 8.0K 0 0 6.4M 10K 0 6.5M 0 0 7.2K 0 0 5.6M 9.3K 0 5.8M 0 187 8.4K 0 0 6.8M 11K 0 6.9M 0 0 7.9K 0 0 6.0M 9.6K 0 6.1M 0 0 8.2K 0 0 6.4M 9.9K 0 6.5M 0 0 8.5K 0 0 6.7M 10K 0 6.8M 0 0 8.0K 0 0 6.5M 9.9K 0 6.7M 0 0 as you notice there are somitimes drops Uplink is 75Mbit/s wide. Where can be a trouble? -- Eugen Konkov mailto:kes-kes@yandex.ru