Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

xiaoyu1985ban

Posts

30

Joined

Wed Mar 18, 2009 1:31 am

ask for suggestions on Socket exhausted ?

by xiaoyu1985ban » Mon Apr 20, 2009 6:52 pm

Hi,I get the socket exhausted problem when I am uploading lots of small files,
and I know I shoule make the Thread sleep sometime while uploading.
I want to ask Hou much time should be fine ,e,g 2 seconds for 30 files ?
Thanks a lot !!
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: ask for suggestions on Socket exhausted ?

by support2 » Mon Apr 20, 2009 9:47 pm

It takes approx 2 minutes for the OS to reclaim sockets. Perhaps wait 5 sec in between downloads and see how that goes.

Who is online

Users browsing this forum: No registered users and 14 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign