<div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">
Hi There -</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">
I'd like to use stunnel as the SSL termination point for a bunch of persistent TCP connections.</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)"><br></div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">I'm running it on an EC2 instance and it's only allowing me about 1000 concurrent connections. It doesn't matter if the connections come from one client IP or two.</div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">
How can I raise this limit?</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">
I've already raised the OS tcp connection limit with ulimit and it doesn't improve things.</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)"><br></div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">Thanks,</div></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">
<br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">T</div>