Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-05-07 Thread Corinna Vinschen
On May 7 20:28, antony baxter wrote: > Corinna, > > > IIUC, the testcase should exhibit the problem OOTB. HAVE_MMAP is > > defined and LARGE_TRANSFER_BLOCKSIZE is set to 32K. I did what you > > wrote above, I built server and client, added the example port to > > /etc/services, created the Real

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-05-07 Thread antony baxter
Corinna, > IIUC, the testcase should exhibit the problem OOTB. HAVE_MMAP is > defined and LARGE_TRANSFER_BLOCKSIZE is set to 32K. I did what you > wrote above, I built server and client, added the example port to > /etc/services, created the ReallyBigFile from /dev/urandom as above... > > Howeve

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-05-07 Thread Corinna Vinschen
On May 1 01:57, Charles Wilson wrote: > Corinna Vinschen wrote: >> On Apr 30 01:58, Charles Wilson wrote: >>> If [disabling mmap] *does* fix the problem, it may point to an issue with >>> cygwin-1.5's mmap implementation, or with XP's handling of the underlying >>> NtCreateSection()...mmap is no

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-05-01 Thread Corinna Vinschen
On May 1 01:57, Charles Wilson wrote: > Corinna Vinschen wrote: >> On Apr 30 01:58, Charles Wilson wrote: >>> If [disabling mmap] *does* fix the problem, it may point to an issue with >>> cygwin-1.5's mmap implementation, or with XP's handling of the underlying >>> NtCreateSection()...mmap is no

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-30 Thread Charles Wilson
Corinna Vinschen wrote: On Apr 30 01:58, Charles Wilson wrote: Well, one of the differences between ftpd-1.3.2 and ftpd-1.5 is that the newer version uses mmap on the (local) file. ftpd.c is the /only/ source file in inetutils that uses mmap. Ok, so the ftpd using mmap is faster, one way or

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-30 Thread Corinna Vinschen
On Apr 30 01:58, Charles Wilson wrote: > antony baxter wrote: >>> 1. In all cases, the ftpd process' memory usage increases to ~350mb, >>> 2. As the buffer value decreases, the process' cpu usage increases >>> (ftpd-1k.exe used about 75% of the cpu vs. about 10% for ftpd-8k.exe), >>> 3. Performance

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-30 Thread antony baxter
Charles, > Well, one of the differences between ftpd-1.3.2 and ftpd-1.5 is that > the newer version uses mmap on the (local) file. ftpd.c is the /only/ > source file in inetutils that uses mmap. > > So, I recompiled with HAVE_MMAP turned off (but still using 4k > chunks). Give this a try: > > htt

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-29 Thread Charles Wilson
antony baxter wrote: Unfortunately, with XP SP2, Cygwin 1.5 as the server machine, I get pretty much the same symptoms with each of the above ftpds serving up a 350mb file: 1. In all cases, the ftpd process' memory usage increases to ~350mb, 2. As the buffer value decreases, the process' cpu us

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-29 Thread antony baxter
> Charles, > >> Unless somebody squawks loudly and soon, I'm going to release >> inetutils-1.5-4 using 4k buffers for ftpd send_data(). >> Charles, > >> Unless somebody squawks loudly and soon, I'm going to release >> inetutils-1.5-4 using 4k buffers for ftpd send_data(). > > Squawk! > > Unfortunat

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-29 Thread antony baxter
Charles, > Unless somebody squawks loudly and soon, I'm going to release inetutils-1.5-4 > using 4k buffers for ftpd send_data(). Squawk! Unfortunately, with XP SP2, Cygwin 1.5 as the server machine, I get pretty much the same symptoms with each of the above ftpds serving up a 350mb file: 1. I

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-29 Thread Charles Wilson
Charles Wilson wrote: 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) For ex, with the 32k buffers, here's wh

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-29 Thread Charles Wilson
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

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-29 Thread Corinna Vinschen
On Apr 28 19:44, Charles Wilson wrote: > Charles Wilson wrote: > >> Yeah, I'll code that up for 1.5-4. Should I stick with BUFSIZ == 1024, or >> when MMAP use something a little bigger, say 32k? > > Also, uploads to the server seem to be sane (e.g. read() from the server > side). So it's just do

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-28 Thread antony baxter
Charles, > antony, please test the following: > http://cygwin.cwilson.fastmail.fm/ITP/ftpd.exe.bz2 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 grin

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-28 Thread Charles Wilson
Charles Wilson wrote: Yeah, I'll code that up for 1.5-4. Should I stick with BUFSIZ == 1024, or when MMAP use something a little bigger, say 32k? Also, uploads to the server seem to be sane (e.g. read() from the server side). So it's just downloads to the client when HAVE_MMAP. The fix was

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-28 Thread Charles Wilson
Corinna Vinschen wrote: This code only exists in 1.7. The only way to get ENOBUFS in 1.5.x is when Winsock emits it. I see two possible reasons. One is a third-party firewall software which interacts badly with ftpd on the machine with the ENOBUFS problem, the other is ftpd itself. Does ftpd

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-28 Thread Corinna Vinschen
e data connection for 'BCUpdateXP.exe' (226020663 >> bytes). >> 0% | >> | 0 0.00 KB/s--:-- ETA >> 426 Data connection: No buffer space available. > > This means that very first call to the cygwin1.dll function 'wr

Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-28 Thread Charles Wilson
| 0 0.00 KB/s--:-- ETA 426 Data connection: No buffer space available. This means that very first call to the cygwin1.dll function 'write(int networkSocketFd, const void *buf, size_t nbyte)' failed for some reason: ENOBUFS is not one of the valid error codes for

inetutils 1.5 / ftpd problem: 426 Data connection: No buffer space available.

2008-04-27 Thread antony baxter
ng BINARY mode data connection for 'BCUpdateXP.exe' (226020663 bytes). 0% | | 0 0.00 KB/s--:-- ETA 426 Data connection: No buffer space available. I copied the file over to the other PC running inetutils 1.3.2, and then ftp-ing in from my Mac and getting it

1.5.13: rsync 2.6.3: No buffer space available

2005-03-09 Thread Diego Essaya
Hi, I have just installed rsync 2.6.3 and I get this error: [ diego ][ ~ ] $ touch foo touch: setting times of `foo': Permission denied [ diego ][ ~ ] $ rsync foo foo2 error pipe failed in do_recv rsync error: error in socket IO (code 10) at /home/lapo/packaging/tmp/rsync-2.6.3/main.c(481) rsync:

sshd and "No buffer space available"

2005-02-07 Thread di dit
the network. When trying to connect to another host, putty and ssh from cygwin on this same machine return: Network error: No buffer space available ping from cygwin on the same machine works, but trying to ping this machine from another host does not work. It is sshd's fault, because if I kil

No buffer space available

2002-10-18 Thread Vince Hoffman
EMAIL PROTECTED] ssh: connect to address 213.86.99.44 port 22: No buffer space available the same happened for telnet and the same for ftp, and the same for any network connections at all, (yes that includes email, i'll send this once I have rebooted,) cygwin or otherwise. cygcheck -svh att