Stunnel too many clients

Posted by davidsmalley on Server Fault See other posts from Server Fault or by davidsmalley
Published on 2010-05-06T22:45:44Z Indexed on 2010/05/06 22:48 UTC
Read the original article Hit count: 367

Filed under:
|
|
|
|

I'm trying to hook up stunnel and haproxy to forward https connections through to some backend servers.

I've got haproxy setup right, and I seem to have stunnel set up right. Trouble is that when I hit the setup with a load test after a while I start to see these log entries:

2010.05.05 11:24:43 LOG7[3498:3086792368]: https accepted FD=512 from 10.195.158.225:52579 2010.05.05 11:24:43 LOG4[3498:3086792368]: Connection rejected: too many clients (>=500)

I guess I've hit a limit somewhere but I wasn't sure how to fix it, there doesn't seem to be a config file option for stunnel to change this.

Does anyone know how to configure stunnel for a potentially large number of connections?

© Server Fault or respective owner

Related posts about stunnel

Related posts about haproxy