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/