[stunnel-users] Missing pid from log file since ~5.19

Michal Trojnara Michal.Trojnara at mirt.net
Thu Sep 17 19:51:18 CEST 2015


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJV+v2WAAoJEC78f/DUFuAUIJsP/0HCxXHOx6AqXgkhSM1j8uKa
X7ykCz5ovXL7WbzePqU+7s3HL3Yk+yiAz0muIPh7nRP5TMemgbVIFMTCRKtyAFCF
bBlJlLMr3325Cg73VXbXUm37yUedzC9rX9qWaWnKBZtsxLK6EAEZO6M+LwWkRtsx
YaPkWrVYKtdgxlDXHAHQZQ+T9EObdXpRHFZ29/zOKERbgctqItqXJdsqQz/4Yqde
vb4du+G3lqmbP8kZQKPn8X6nKdISMb0fp245zae4RxUpmVgR/GtaNpS9GAHjLimi
BTOSx+ZgLYqPvDyPUqWX/E1MeiADqAkoHBULAdqDyGOJrPg9dUneBPYNd+Kf7Jvx
3VfQg0Ll2R+IRT3tlPNEWnZSnvHVDrnAV4seaMzp+fYUkFbrVQ8fjGdLSpMPdRyd
DSUIN7AzuhF5eB5TyVp2blX3wxVk37JmNbWhXTfDe4ggzbY72VzN89LakIRmzdJZ
wknqNFzNkEGd/5C16vy1ra2Ky/ftHLLHfVhiDl8t27wLqazoMVa9h/7lHXJuuV4p
96UaY2b1e4y75SNce5zmbFyBFTYK8T8/W9RY5p8QQWDU5RduD81odO4ZmrFA4/7W
RAARSlC9bVTx4VJO6mBPde3N/feCng5tw29wHZVULLBD7I+XychKRgT4g6XaNz4j
n+VwdqD9ECirlzzrnyUh
=8LRi
-----END PGP SIGNATURE-----



More information about the stunnel-users mailing list