<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi all,</p>
<p>We are running a distributed system with one server node and
hundreds of client nodes(the systems are distributed over the
intra-net). We have a requirement that all the client nodes will
connect to the server node and try to download some file(mostly
the same file will be accessed by all client nodes) <b>simultaneously</b>
by using <b>sftp. </b>The steps we follow for downloading the
file is:</p>
<p>1. Establish ssh sftp connection between the server node and
client node using ssh_sftp:start_channel/2 function call.</p>
<p>2. Then reads the file by doing ssh_sftp:read_file/2 function
call.</p>
<p>The problem what we are facing is that when the number of clients
are more then it is observed that few client nodes are failing to
establish connection between server node. i.e. the
ssh_sftp:start_channel/2 function call is failing.</p>
<p>Can somebody please explain me; <br>
</p>
<p>1. Is there any limitation for the number of sftp session what
we can establish in a single system ?</p>
<p>2. What are the possible reason because of which the connection
request fails ?</p>
<p>3. Is there anything wrong we are doing in this approach ?</p>
<p>4. Is there any better solution by which we can guarantee that
all client nodes will be able to connect to server and will be
able to download the file.</p>
<p><b>Observation:</b> We tried to connect 25 client nodes to the
server; during the first try only 2 nodes failed to connect and on
the second try 5 nodes failed to connect. Why this random behavior
?.</p>
Thanks in advance,<br>
Arun P.<br>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>