-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 15.09.2015 23:08, Philippe Anctil wrote:
I am using fork mode. My syslog is defined as local6.debug and stunnel.conf contains debug=local6.info.
You are right. The default log id type (sequential) does not work with fork threads. Why do you use fork threads? Just don't do it.
Quite a while ago we tested the thread mode. We say memory leaks and went with fork for that reason.
I'll be glad to see the configuration that caused the per-thread memory leak. Are you sure it wasn't simply heap fragmentation?
stunnel is way faster with PTHREADS, because SSL/TLS session cache doesn't work in stunnel with FORK threading.
Thanks very much for the logId bit. logId=thread is exactly what I needed.
Great. I have fixed incrementing the sequential thread number in the FORK threading mode. The fix will be included in the next release of stunnel. Thank you for reporting the problem.
Mike