I remember asking Michael Trojnara a similar question -- what version are you running and how much memory is in your EC2 instance?

I think he said you would need about 4g to properly allow for 1000 connections, and I could have sworn that in a version of 4.4 the connection limit went up to 64k



Date: Thu, 28 Jun 2012 17:50:09 -0400
From: tashburn@gmail.com
To: stunnel-users@stunnel.org
Subject: [stunnel-users] more than 1000 concurrent connections?


Hi There -

I'd like to use stunnel as the SSL termination point for a bunch of persistent TCP connections.

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.

How can I raise this limit?

I've already raised the OS tcp connection limit with ulimit and it doesn't improve things.

Thanks,

T

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