From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 12:29:11 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D455D16A4BF for ; Wed, 10 Sep 2003 12:29:11 -0700 (PDT) Received: from goliath.cnchost.com (goliath.cnchost.com [207.155.252.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F54743FBD for ; Wed, 10 Sep 2003 12:29:11 -0700 (PDT) (envelope-from jetman@mycbc.com) Received: from EAGLE (216.66.58.184.cyberwarp.net [216.66.58.184]) by goliath.cnchost.com id PAA18619; Wed, 10 Sep 2003 15:29:07 -0400 (EDT) [ConcentricHost SMTP Relay 1.15] Errors-To: Message-ID: <00e401c377d2$7d13e840$3200a8c0@CBCOFFICE> From: "The Jetman" To: "FreeBSD Net" Date: Wed, 10 Sep 2003 15:33:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4922.1500 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 Subject: [4.5-R]FTP Uploading Is Massively Broken.... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 19:29:11 -0000 Folks: ...that is, on my system. This is driving me crazy. I built w/o much difficulty an NATing Internet gateway, using a fixed wireless connection. (The WiFi card is an Orinoco Silver PCMCIA NIC.) It's been working non-stop for over 18 mos. Download speeds are fine, but uploads (primarily FTP uloads) are massively broken. I disable the firewall and try uploads from the gateway, but the xfer stalls constantly. Here are my sysctl variables for the tcp subsystem: net.inet.tcp.sendspace: 1024 net.inet.tcp.recvspace: 65536 net.inet.tcp.keepinit: 75000 net.inet.tcp.delacktime: 100 net.inet.tcp.v6mssdflt: 1024 net.inet.tcp.log_in_vain: 0 net.inet.tcp.blackhole: 2 net.inet.tcp.delayed_ack: 1 net.inet.tcp.path_mtu_discovery: 0 net.inet.tcp.slowstart_flightsize: 1 net.inet.tcp.local_slowstart_flightsize: 4 net.inet.tcp.newreno: 0 I turned off newreno and path_mtu_discovery, per what little I could find on the 'net. I tweaked down the sendspace setting (to 1024) on my own, which seemed to improve uploads (~ 7KB/s) from the gateway itself, but no joy from my NATed workstations. Even tests uloading to my ISPs local FTP server yield poor results. I haven't done any other tweaking of system settings, since I don't want to wreck an otherwise operational system. I've posted dozens of queries on the popular search engines (Google, Lycos, AltaVista, et al.) but no joy. Seems like this difficulty is unique to my site. I'd like to upgrade the gateway to 4.8, but I need an available Sunday, so I can backup and completely rebuild the system, so that's out for the near-term. Besides, if I could get my workstations to upload at a decent speed (at least 10KB/s), I could live w/ that for at least a little while. I must emphasize I'm not a newbie. I've setup a couple Samba/FBSD file servers and a production bandwidth-limiting, Ethernet bridge that's throttling a very active T1 circuit. I don't consider myself an FBSD expert yet, but I've successfully deployed a number of FBSD systems in real-life environments. I just need a little help from a REAL FBSD expert. TIA....Jet =============== From the desk of Jethro Wright, III ================ + Nothing causes self-delusion quite so readily as power. = === jetman516@hotmail.com ========================= Liu Binyan ===