You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Lance Semmens <la...@swebtec.com> on 2005/11/07 16:58:24 UTC
[VFS] Ftp copy hangs
VFS is hanging when I attempt to copy a large selection of files from an
ftp site to a local file.
I've debugged and found the code hanging on line 76 of
org.apache.commons.vfs.cache.SoftRefFilesCache
Reference ref = refqueue.remove(1000);
Has anyone found a work around for this??
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [VFS] Ftp copy hangs
Posted by Mario Ivankovits <ma...@ops.co.at>.
Lance Semmens wrote:
> VFS is hanging when I attempt to copy a large selection of files from an
> ftp site to a local file.
> I've debugged and found the code hanging on line 76 of
> org.apache.commons.vfs.cache.SoftRefFilesCache
> Reference ref = refqueue.remove(1000);
>
VFS uses a thread to check if there are some cached informations read to
be scrubbed.
Your line is the main "i'll wait for such objects" lookup and thus is
not the source of your hang.
Its intended to wait for 1000ms, but as I said, this is another thread,
not your main thread.
---
Mario
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org