Stunnel too many clients
- by davidsmalley
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?