delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/29/09:55:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <481728A0.7020604@cwilson.fastmail.fm>
Date: Tue, 29 Apr 2008 09:54:40 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.
References: <3ee066b40804282136v140bdf31v4b21082663c55021 AT mail DOT gmail DOT com>
In-Reply-To: <3ee066b40804282136v140bdf31v4b21082663c55021@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

antony baxter wrote:
> Better, in the sense that I can now retrieve the file; however
> ftpd.exe's memory usage (monitored via Task Manager) now grows
> continously during the transfer until eventually the server machine
> grinds to a halt, paging furiously. Once the transfer does finally
> finish ftpd.exe's memory usage drops back to normal (2,400K).

Hmm. A little more research shows winsock's internal behavior -- 
transfers, waitiong for ack, allocating internal buffers -- is very 
sensitive to the size of so_sndbuf (winsock default 8192) and the packet 
size (ethernet default 1560). See if one of these options gives better 
performance:

http://cygwin.cwilson.fastmail.fm/ITP/ftpd-1k.exe.bz2
http://cygwin.cwilson.fastmail.fm/ITP/ftpd-4k.exe.bz2
http://cygwin.cwilson.fastmail.fm/ITP/ftpd-8k.exe.bz2
http://cygwin.cwilson.fastmail.fm/ITP/ftpd-32k.exe.bz2 (same as prev)

Also, what is the value of
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TcpWindowSize

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019