Suse ftp-proxy v. 1.9.2.2 - Dropping unfinished connections
Hello, We have a problem with our FTP proxy. It is dropping unfinished connections exactly after 900 seconds (which is the set IDLE timeout). Any idea what is causing this, or how to this fix this issue? Thank you The data connection seems to be terminated exactly after 900s: ftp-child [12228] <08/08-09:58:07> TECH-DBG from Server-PI (3): '150 Opening BINARY mode data connection for ops-v6.9az_hpux11_oracle920.tar.gz (464103784 bytes).' ftp-child [12228] <08/08-10:13:07> USER-INF Transfer for 165.72.197.47 completed: RETR 'ops-v6.9az_hpux11_oracle920.tar.gz' read 154782312/900 byte/sec ftp-child [12228] <08/08-10:25:29> USER-INF closing connect from 165.72.197.47 after 1688 secs - read 154782384/902, sent 0/0 byte/sec Best Regards Karel
On Wed, Aug 09, 2006 at 03:42:12PM +0200, Karel Kohout (DHL CZ) wrote:
Hello,
Hi!
We have a problem with our FTP proxy. It is dropping unfinished connections exactly after 900 seconds (which is the set IDLE timeout). Any idea what is causing this, or how to this fix this issue? Thank you
Which system do you use? This usually happens on solaris...
(What happens sometimes is, select reports "data ready to
read", but FIONREAD ioctl reports 0 bytes).
You can try out the attached patch (...UseRecvBufSize.dif)
and set e.g. following in the config file:
UseRecvBufSize 4096
It will change to just use this receive buffer size and avoid
to ask via FIONREAD ioctl how many bytes are avaliable to read.
!!! Note, I just hacked it down - it is completelly untested !!!
Let us (this list) know if it works for you or not.
The another patch (...x86_64.dif) fixes some int types for
64bit platforms - just for completness.
Bye,
Marius.
--
° --- Marius Tomaschewski
participants (2)
-
Karel Kohout (DHL CZ)
-
Marius Tomaschewski