Hi,

I obtain the following error leak summary with Valgrind for a single SSL
connect with the server

==20626== 3,689 (200 direct, 3,489 indirect) bytes in 1 blocks are
definitely lost in loss record 134 of 147
==20626==    at 0x40046C1: malloc (vg_replace_malloc.c:149)
==20626==    by 0x4565E6A: default_malloc_ex (mem.c:79)
==20626==    by 0x45663EC: CRYPTO_malloc (mem.c:304)
==20626==    by 0x43A3691: SSL_SESSION_new (ssl_sess.c:110)
==20626==    by 0x43A3807: ssl_get_new_session (ssl_sess.c:177)
==20626==    by 0x438948C: ssl3_client_hello (s3_clnt.c:538)
==20626==    by 0x4388D35: ssl3_connect (s3_clnt.c:243)
==20626==    by 0x439F6AB: SSL_connect (ssl_lib.c:850)

Is this a memory leak. If I run the client application under stress, I run
into issues with available swap size reducing to zero( free -m command) ..I
have resolved significant application memory leak. Still I run into problem
in stress test.

Any suggestions?

Regards,
Prabhu. S

Reply via email to