Re: [stunnel-users] Problem in Stunnel with too many connections

This is a discussion on Re: [stunnel-users] Problem in Stunnel with too many connections within the Stunnel Users forums, part of the Networking and Network Related category; --===============1767771820== Content-Type: multipart/alternative; boundary=Apple-Mail-1--607198866 --Apple-Mail-1--607198866 Content-Transfer-Encoding: 7bit Content-Type: ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-26-2006
Dan Milne
 
Posts: n/a
Default Re: [stunnel-users] Problem in Stunnel with too many connections


--===============1767771820==
Content-Type: multipart/alternative; boundary=Apple-Mail-1--607198866


--Apple-Mail-1--607198866
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed

Hi there,
What's the maximum number of open file descriptors for your OS?
Limits of 1024 is normal - you might be hitting that.

Running ulimit -n should allow you to check and set that value.

Dan


On 26/11/2006, at 14:51 , ~ Kunal Sharma ~ wrote:

> Hi Friends,
>
> I've just joined this group. I would take this as an oppurtunity to
> discuss a problem I've
> been facing in using Stunnel.
>
> I've been using Stunnel for quite some time now. It has worked very
> well all this while.
> Recently, I had to shift our webserver onto the Internet and
> Stunnel accepts the https
> connections on the server's behalf.
>
> The problem is there are about 4.5 million clients out there in the
> field and there's a client
> coming up to the server atleast every second, if not less. Stunnel
> accepts the connections
> and after a while (like an hour) it just dies ! I see that at a
> point there are about 950 active
> connections and thats the maximum I could see before it dies.
>
> Could someone help me diagnose the problem (or better to fix it)
> - Is there any performance related issue thats a known problem and
> I don't know of ?
> - What I can look at to see what could be the possible cause ?
> - I haven't had a chance to look at the logs yet. Probably they
> might tell me something.
> - Any other pointers / inputs / suggestions would be heartily welcome.
>
> I've not been to my office so I won't be able to attach the
> necessary information like
> the version of stunnel, the logs, configuration options etc. But
> promise to send them as
> soon as I'm back on Monday after Thanksgiving.
>
> Thanks and Regards,
> Kunal
>
>
> _______________________________________________
> stunnel-users mailing list
> stunnel-users@mirt.net
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users


---
Dan Milne d@nmilne.com
http://politiwiki.kicks-ass.net/



--Apple-Mail-1--607198866
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">Hi there,<DIV>=A0 =A0What's the =
maximum number of open file descriptors for your OS? Limits of 1024 is =
normal=A0 - you might be hitting that.=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>=A0=A0 Running=A0ulimit -n =
should allow you to check and set that value.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Dan</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><BR><DIV><DIV>On 26/11/2006, at =
14:51 , ~ Kunal Sharma ~ wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><SPAN =
class=3D"gmail_quote"></SPAN> <DIV>Hi Friends,</DIV> <DIV>=A0</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>=A0</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>=A0</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>=A0</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>=A0</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>=A0</DIV> =
<DIV>Thanks and Regards,</DIV><SPAN class=3D"sg"> <DIV>Kunal</DIV> =
<DIV>=A0</DIV> <DIV>=A0</DIV></SPAN><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">____________________________________________ ___</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">stunnel-users mailing list</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><A =
href=3D"mailto:stunnel-users@mirt.net">stunnel-users@mirt.net</A></DIV><DI=
V style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><A =
href=3D"http://stunnel.mirt.net/mailman/listinfo/stunnel-users">http://stu=
nnel.mirt.net/mailman/listinfo/stunnel-users</A></DIV> =
</BLOCKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"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=3D"mailto:d@nmilne.com">d@nmilne.com</A></DIV><DIV><A =
href=3D"http://politiwiki.kicks-ass.net">http://politiwiki.kicks-ass.net</=
A>/=A0<SPAN class=3D"Apple-converted-space">=A0</SPAN></DIV><BR =
class=3D"Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>=

--Apple-Mail-1--607198866--

--===============1767771820==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users

--===============1767771820==--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0