<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2013-06-12 19:53, William Kwan
wrote:<br>
</div>
<blockquote
cite="mid:cb178084f66d44bcbb5289fb576d50f9@BN1PR06MB037.namprd06.prod.outlook.com"
type="cite">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">I would like to find out if there’s anyway to
tune stunnel or what’s the best practice you would recommend.<o:p></o:p></p>
<p class="MsoNormal">I have a bit more than 100 sessions defined
in stunnel.conf. It appears that clients started to see latency
increase.</p>
</blockquote>
I'm pretty sure latency increase has nothing to do with the number
of service sections in your stunnel.conf.<br>
<br>
You should investigate:<br>
- The number of concurrent sessions (with netstat);<br>
- The number of new sessions negotiated per second (from stunnel
logs);<br>
- Network bandwidth utilization (with your favorite network
monitoring tool), and<br>
- Your platform (some operating systems are weak server platforms).<br>
<br>
Feel free to share your stunnel.conf. I may have some performance
hints for you.<br>
<br>
BTW: Are you sure that stunnel is the bottleneck here and not the
application server?<br>
<br>
Best regards,<br>
Michal Trojnara<br>
</body>
</html>