Hi All,
I've been googling for this issue but it seems like google is not my friend at the moment. I am running Linux with 4 cpus and top command shows stunnel at 99-100% cpu. Please help.
//stunnel configuration file
# PID is created inside chroot jail pid = /var/run/stunnel.pid
# debug debug = 7 output = /var/log/stunnel.log
# Authentication stuff verify = 2
cert = /etc/stunnel/cert.pem CAfile = /etc/stunnel/ca.pem
#Some performance tunings
socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1
# Use it for client mode client = yes
/////////// stunnel version stunnel 4.21 on i686-pc-linux-gnu with OpenSSL 0.9.7a Feb 19 2003 Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP
Global options debug = 5 pid = /var/run/stunnel.pid RNDbytes = 64 RNDfile = /dev/urandom RNDoverwrite = yes
Service-level options cert = /etc/stunnel/stunnel.pem ciphers = ALL:!ADH:+RC4:@STRENGTH key = /etc/stunnel/stunnel.pem session = 300 seconds sslVersion = SSLv3 for client, all for server TIMEOUTbusy = 300 seconds TIMEOUTclose = 60 seconds TIMEOUTconnect = 10 seconds TIMEOUTidle = 43200 seconds verify = none
//openssl version OpenSSL 0.9.7a Feb 19 2003
//Redhat version Red Hat Linux release 9 (Shrike)
root]#cat /proc/cpuinfo | grep processor | wc -l 4