Title: Memory leak in Apache/mod_ssl/OpenSSL

After tagging the OPENSSL_malloc/CRYPTO_malloc memory allocation calls and running tests over the weekend calls to OPENSSL_malloc in the following files failed to release memory by calling the corresponding OPENSSL_free:

bn_bind.c - 494,788 outstanding OPENSSL_malloc
bn_lib.c  - 123,673 outstanding OPENSSL_malloc

I am not sure how this relates to the Apache/mod_ssl/OpenSSL threaded MPMs.

Anyone have an ideas?

Note:
1. I am running Apache/mod_ssl/OpenSSL with no modifications under Windows XP and Linux (worker MPM).
2. If you run Apache/mod_ssl/OpenSSL using on of the threaded models and it looks like everything is ok, check the error_log for Apache restarts.

3. Having the application restart due to errors might be a good solution for some people it does cause a problem for others.

Reply via email to