commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Griffiths <dgriffi...@boats.com>
Subject Re: [NET] java.net.SocketException: Too many open files
Date Wed, 22 Feb 2006 23:48:15 GMT
I pass a comma-delimited list of servers (image servers) into the program; it's parsed, and
then the # of image servers is used to 
create an array of ftp connections.


I've also discovered that there are limits to the number of sockets that the user this runs
under can access (1024). I just bumped 
it up to 4096.

Wish I'd discovered that 15 minutes earlier. Please disregard my post.

David


Laurent Perez wrote:
>>                  FTPClient ftpClient = ftpConnections[iServerCount];
> 
> Out of curiosity, how is ftpConnections array populated ?
> 
> laurent
> 
> --
> <a href="http://in-pocket.blogspot.com">http://in-pocket.blogspot.com
> - Mobile world, technology and more</a>
> 
> ---------------------------------------------------------------------
> 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