<div>Hi Dan,</div>
<div> </div>
<div>Thanks for your input. Here's some more info - </div>
<div> </div>
<div>- I'm using Stunnel version 4.16 on Windows Server 2003 Standard. I downloaded the binaries.</div>
<div> </div>
<div>- I had logs at level 7 ON but they're HUGE so I can't attach them here. What I can tell is that</div>
<div>when the server exited, there was no message logged to suggest that there was a problem.</div>
<div>The server was just going through the negotiations with a client when it died.</div>
<div> </div>
<div>- Log at startup time says "No limit detected for number of clients" . </div>
<div> </div>
<div>- There are messages that say "<font size="2">Connection rejected: create_client failed</font>" and </div>
<div> "readsocket: Connection reset by peer (WSAECONNRESET) (10054)" but i don't think they're doing anything to shut the server down.</div>
<div> </div>
<div><br>I have not been able to locate where to increase the no. of max FDs on windows. Please let</div>
<div>me know if you do.</div>
<div><br>I'm going through the Stunnel source code. I came across the function where limits are set.</div>
<div>What I could derive is that for a windows based system there is no limit set to FDs and clients (function get-limits in stunnel.c). Does it mean that limits are governed by Windows settings</div>
<div>in this case ?</div>
<div> </div>
<div>Please respond back with whatever you can help !!</div>
<div> </div>
<div>Thanks n Regards,</div><span class="sg">
<div> </div>
<div>Kunal</div></span><br><br>
<div><span class="gmail_quote">On 11/26/06, <b class="gmail_sendername">Dan Milne</b> <<a href="mailto:d@nmilne.com">d@nmilne.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">Hi there,
<div> What's the maximum number of open file descriptors for your OS? Limits of 1024 is normal - you might be hitting that. </div>
<div><br> </div>
<div> Running ulimit -n should allow you to check and set that value.</div>
<div><br> </div>
<div>Dan</div>
<div><br> </div><br>
<div>
<div><span class="e" id="q_10f238e7eae84ad4_1">
<div>On 26/11/2006, at 14:51 , ~ Kunal Sharma ~ wrote:</div><br></span></div>
<blockquote type="cite">
<div><span class="e" id="q_10f238e7eae84ad4_3"><span class="gmail_quote"></span>
<div>Hi Friends,</div>
<div> </div>
<div>I've just joined this group. I would take this as an oppurtunity to discuss a problem I've </div>
<div>been facing in using Stunnel.</div>
<div> </div>
<div>I've been using Stunnel for quite some time now. It has worked very well all this while.</div>
<div>Recently, I had to shift our webserver onto the Internet and Stunnel accepts the https</div>
<div>connections on the server's behalf.</div>
<div> </div>
<div>The problem is there are about 4.5 million clients out there in the field and there's a client</div>
<div>coming up to the server atleast every second, if not less. Stunnel accepts the connections</div>
<div>and after a while (like an hour) it just dies ! I see that at a point there are about 950 active</div>
<div>connections and thats the maximum I could see before it dies.</div>
<div> </div>
<div>Could someone help me diagnose the problem (or better to fix it)</div>
<div>- Is there any performance related issue thats a known problem and I don't know of ?</div>
<div>- What I can look at to see what could be the possible cause ?</div>
<div>- I haven't had a chance to look at the logs yet. Probably they might tell me something.</div>
<div>- Any other pointers / inputs / suggestions would be heartily welcome.</div>
<div> </div>
<div>I've not been to my office so I won't be able to attach the necessary information like</div>
<div>the version of stunnel, the logs, configuration options etc. But promise to send them as</div>
<div>soon as I'm back on Monday after Thanksgiving.</div>
<div> </div>
<div>Thanks and Regards,</div><span>
<div>Kunal</div>
<div> </div>
<div> </div></span></span></div>
<div style="MARGIN: 0px">_______________________________________________</div>
<div style="MARGIN: 0px">stunnel-users mailing list</div>
<div style="MARGIN: 0px"><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:stunnel-users@mirt.net" target="_blank">stunnel-users@mirt.net</a></div>
<div style="MARGIN: 0px"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users" target="_blank">http://stunnel.mirt.net/mailman/listinfo/stunnel-users</a></div>
</blockquote></div><br>
<div><span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px">
<div>---</div>
<div>Dan Milne <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:d@nmilne.com" target="_blank">d@nmilne.com</a></div>
<div><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://politiwiki.kicks-ass.net/" target="_blank">http://politiwiki.kicks-ass.net</a>/ <span> </span></div><br></span></div><br> </div><br>_______________________________________________
<br>stunnel-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:stunnel-users@mirt.net">stunnel-users@mirt.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users" target="_blank">
http://stunnel.mirt.net/mailman/listinfo/stunnel-users</a><br><br><br></blockquote></div><br>