Hey folks --<br><br>Can anyone tell me where the max number of clients is configured in 4.21? I'm running okay for a while, but then I end up with repeated messages as below in the logs:<br><br>2008.11.18 19:13:33 LOG7[26491:46912520933328]: https accepted FD=512 from xx.xx.xx.xx:xxxxx<br>
2008.11.18 19:13:33 LOG4[26491:46912520933328]: Connection rejected: too many clients (>=500)<br>2008.11.18 19:13:33 LOG7[26491:46912520933328]: https accepted FD=512 from xx.xx.xx.xx:xxxxx<br>2008.11.18 19:13:33 LOG4[26491:46912520933328]: Connection rejected: too many clients (>=500)<br>
2008.11.18 19:13:33 LOG7[26491:46912520933328]: https accepted FD=512 from xx.xx.xx.xx:xxxxx<br>2008.11.18 19:13:33 LOG4[26491:46912520933328]: Connection rejected: too many clients (>=500)<br>[...]<br><br>I've only seen reports of this problem, but no solution. Anyone out there who can help?<br>
<br>Thanks in advance!<br><br>-Chris<br><br><br>------------- Config below -----------------<br><br>ulimit<br>unlimited<br><br>stunnel -version<br>stunnel 4.21 on x86_64-pc-linux-gnu with OpenSSL 0.9.8g 19 Oct 2007<br>Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP<br>
<br>Global options<br>debug = 5<br>pid = /var/run/stunnel4.pid<br>RNDbytes = 64<br>RNDfile = /dev/urandom<br>RNDoverwrite = yes<br> <br>Service-level options<br>cert = /etc/stunnel/stunnel.pem<br>
ciphers = AES:ALL:!aNULL:!eNULL:+RC4:@STRENGTH<br>key = /etc/stunnel/stunnel.pem<br>session = 300 seconds<br>sslVersion = SSLv3 for client, all for server<br>TIMEOUTbusy = 300 seconds<br>
TIMEOUTclose = 60 seconds<br>TIMEOUTconnect = 10 seconds<br>TIMEOUTidle = 43200 seconds<br>verify = none<br><br>uname -a<br>Linux domU-12-31-39-01-61-B2 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 GNU/Linux<br>
<br>stunnel -sockets<br>Socket option defaults:<br> Option Accept Local Remote OS default<br> SO_DEBUG -- -- -- 0<br> SO_DONTROUTE -- -- -- 0<br>
SO_KEEPALIVE -- -- -- 0<br> SO_LINGER -- -- -- 0:0 <br> SO_OOBINLINE -- -- -- 0<br> SO_RCVBUF -- -- -- 87380<br>
SO_SNDBUF -- -- -- 16384<br> SO_RCVLOWAT -- -- -- 1<br> SO_SNDLOWAT -- -- -- 1<br> SO_RCVTIMEO -- -- -- 0:0 <br>
SO_SNDTIMEO -- -- -- 0:0 <br> SO_REUSEADDR 1 -- -- 0<br> SO_BINDTODEVICE -- -- -- -- <br> IP_TOS -- -- -- 0<br>
IP_TTL -- -- -- 64<br> TCP_NODELAY -- -- -- 0<br><br>gcc -v<br>Using built-in specs.<br>Target: x86_64-linux-gnu<br>Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
Thread model: posix<br>gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)<br><br>openssl version<br>OpenSSL 0.9.8g 19 Oct 2007<br><br>