[openssl-users] Performance problems with OpenSSL and threading

Bryan Call bcall at apache.org
Wed May 6 23:12:54 UTC 2015


Do you know if there is a way from preventing a call to SSL_get_error() after getting a 0 byte read from SSL_read()?  This is the main issue I am facing with the OpenSSL error locking right now.

-Bryan




> On May 1, 2015, at 6:49 AM, Salz, Rich <rsalz at akamai.com> wrote:
> 
>> Lock #1 is CRYPTO_LOCK_ERR, which I believe is used for logging errors.  It appears your application is generating a lot of errors for some reason.  Never tried it myself, but you probably can't disable this lock with multiple threads running.  You should take a look at the error log to identify the cause of the errors.  Then resolve the issue, whatever it may be.  
> 
> I have a rewrite of the error-stack stuff that halves the number of locks.  If you want to try it, drop me a line.
> _______________________________________________
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150506/e6b28ff0/attachment-0001.html>


More information about the openssl-users mailing list