commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berlin Brown <berlin.br...@gmail.com>
Subject Re: FW: [VFS] Ftp copy hangs
Date Fri, 18 Nov 2005 13:03:29 GMT
I have seen this before too.  Can you describe more about the solution.

On 11/18/05, Lance Semmens <lance.semmens@swebtec.com> wrote:
> Ok... I've solved it... I thought I was using passive mode but was
> not... I'm now using passive mode and all is well.
> I was being a stupid head and not passing my FileSystemOptions to
> FileSystemManager.resolveFile()
>
> -----Original Message-----
> From: Lance Semmens [mailto:lance.semmens@swebtec.com]
> Sent: 17 November 2005 16:56
> To: Jakarta Commons Users List
> Subject: FW: [VFS] Ftp copy hangs
>
>
> I've been looking into this and can't seem to find a solution.
> I have run "netstat" during the copy and there thousands of ftp
> connections. Is there any way of setting a max number of connections??
> FYI I'm using the IIS FTP server
> There are incoming and outgoing firewalls It always hangs on the same
> file
>
> -----Original Message-----
> From: Lance Semmens [mailto:lance.semmens@swebtec.com]
> Sent: 17 November 2005 10:36
> To: Jakarta Commons Users List
> Subject: RE: [VFS] Ftp copy hangs
>
> Thanks for your help mario...
> I ran the FTP service on my local machine to eliminate any network
> issues and it works. I'm now looking into it.
>
> Cheers,
> Lance.
>
> -----Original Message-----
> From: Mario Ivankovits [mailto:mario@ops.co.at]
> Sent: 08 November 2005 22:22
> To: Jakarta Commons Users List
> Subject: Re: [VFS] Ftp copy hangs
>
> Lance Semmens wrote:
> > From the logging I can see that a whole lot of putFiles are successful
>
> > up until a certain point.
> >
> Did I ask you already which ftp server you use?
> How are you connected to the ftp server?
> Is there any firewall in between?
> Might this firewall take your heavy access to the ftp server as
> "denial-of-service" attack?
> If its a unix/linux ftp server, do you use the xinetd daemon?
> Maybe you can tweak the "cps" and "max_load" settings?
> Is it always at the same file when it hangs?
> For what I see, you use the ftp active mode, please try to switch to
> passive mode with
> FtpFileSystemConfigBuilder.getInstance().setPassiveMode(),
> maybe there is some problem with the reverse data connection and any
> firewall in between.
>
> At last, please try to capture the transfer using tcpdump -s 2048 -w
> ftp.log host <your ftp host ip>
>
> (or ethereal in windows)
>
> If you see a outgoing "LIST" command, but no connection back with any
> file-listing then its definitely a network setup problem.
>
>
> Hope something of this helps!
>
> ---
> Mario
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message