<div dir="ltr"><div><div>Hi Mike<br></div>We are facing one issue in file exist check .<br><br>SmbFile file = new SmbFile("<repository-path>/test.txt");<br><br>if (!file.exists())   <--------- this call taking 4 MIN around time <br>{<br>}<br><br></div><div>If server is busy it should through timeout error ,but here it stuck for long time.<br></div><div>One thing to tell you that this operation is in thread.So every thread (10 thread per second)  checking same file .<br><br></div><div>Is this server response taking time  or threads block somewhere inbetween ?<br></div><div><br></div><div>set <span style="color:rgb(74,74,74);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">socket timeout=15000 (15 sec)<br></span></div><div><span style="color:rgb(74,74,74);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">response timeout=10000 (10 sec)<br></span></div><div><br></div><div>Thanks<br clear="all"></div><div><div><div><br>-- <br><div class="gmail_signature"><div>Regards,</div><div>Rina</div></div>
</div></div></div></div>