-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 14.06.2015 00:04, Dod wrote:
I use sTunnel for POP-SSL and SMTP-SSL for 12 accounts (gmail, yahoo ...) but I noticed that after a few connexions sTunnel may keep high CPU, 25% as reported by TaskManager (50% on core 1 and 3 on my Core-i5 quad-core).
After 1 minute of running stunnel running in server mode starts computing new DH parameters. This usually takes a few minutes depending on your hardware. The process is repeated every 24 hours.
If you don't want it, you can generate static DH parameters with: openssl dhparam 2048 and append them to your stunnel.conf
Sometime the 25% CPU usage disappear by its own, sometime it can stay forever.
...depending on how you define "forever"...
Never noticed such problem on previous versions.
Standard logs show nothing special.
You should see "DH parameters updated" message when the process completes.
Mike