[SR-Users] TLS performance testing

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 21 20:56:37 CET 2011


Hello,

On 12/21/11 8:26 PM, Kristian Kielhofner wrote:
> On Wed, Dec 21, 2011 at 4:36 AM, Daniel-Constantin Mierla
> <miconda at gmail.com>  wrote:
>> Hello,
>>
>> can you send also the last log messages (especially the ones before the
>> crash, printed by the same pid that wrote the core, there should be a
>> 'BUG...' message)?
>>
>> Looks like a double free in the libssl, what is your libssl version?
>>
>> Cheers,
>> Daniel
> Hi Daniel,
>
>    I don't see relevant lines in the log (surprisingly).  The strange
> part is there is always at least one kamailio process running when
> this happens (or maybe not so strange).
>
>    This is an up to date CentOS 6 with openssl-1.0.0-20.el6.x86_64
> installed.  I do get this warning on startup (same on CentOS 5.x):
>
> WARNING: tls [tls_init.c:587]: tls: openssl bug #1491 (crash/mem leaks
> on low memory) workaround enabled (on low memory tls operations will
> fail preemptively) with free memory thresholds 271581184 and 135790592
> bytes
it has to be at least the message printed by:

         LOG(L_CRIT, "BUG: qm_free: freeing already freed pointer,"
                 " first free: %s: %s(%ld) - aborting\n",
                 f->file, f->func, f->line);

Can you grep for it in logs?

The abort in frame #1 of bracktrace is triggered on purpose, at 
mem/q_malloc.c line 458
Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list