[SR-Users] memory allocation failure while reading ca_list

Jan Janak jan at ryngle.com
Mon Mar 19 15:49:34 CET 2012


On Mon, Mar 19, 2012 at 05:31, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> Hello,
>
>
> On 3/19/12 10:03 AM, Juha Heinanen wrote:
>>
>> Daniel-Constantin Mierla writes:
>>
>>> is this with default mem size?
>>
>> i would just like to add that once i increased shared memory from
>> 32m to 64m, sip proxy started, but only about 10M was left as free:
>
> afaik, the ca_list is loaded by libssl internally. Kamailio just sets custom
> memory manager and gives the path to ca_list.

That may be the reason why it consumes so much memory. The custom
memory manager is not exactly memory efficient, it trades speed for
efficiency.

-Jan

>> Shared Memory
>>
>>        free_size       8510256
>>        max_used_size   58623504
>>        real_used_size  58598608
>>        total_size      67108864
>>
>> it means that debian's ca_list consumes more than 20M of shared memory,
>> which seems like a lot for 139 entries.
>
> Is this by one ca_list only, or do you have many tls domains, each with own
> profile?
>
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
> http://www.asipto.com/index.php/kamailio-advanced-training/
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list