<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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 class="khtml-block-placeholder"></DIV><DIV> Running ulimit -n should allow you to check and set that value.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Dan</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><DIV>On 26/11/2006, at 14:51 , ~ Kunal Sharma ~ wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><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 class="sg"> <DIV>Kunal</DIV> <DIV> </DIV> <DIV> </DIV></SPAN><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">stunnel-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:stunnel-users@mirt.net">stunnel-users@mirt.net</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users">http://stunnel.mirt.net/mailman/listinfo/stunnel-users</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>---</DIV><DIV>Dan Milne <A href="mailto:d@nmilne.com">d@nmilne.com</A></DIV><DIV><A href="http://politiwiki.kicks-ass.net">http://politiwiki.kicks-ass.net</A>/ <SPAN class="Apple-converted-space"> </SPAN></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>