[SR-Users] TLS not enough memory issue with git master

Anthony Messina amessina at messinet.com
Tue Nov 24 16:49:36 CET 2015


After having re-enabled the close_expired_tcp modparam, Kamailio made  
it about 12hours before giving the following warning and blocking new  
TLS connections again:

ERROR: tls [tls_server.c:189]: tls_complete_init(): tls: ssl bug #1491
  workaround: not enough memory for safe operation: 8870536
  ERROR: <core> [tcp_read.c:1303]: tcp_read_req(): ERROR: tcp_read_req: error
  reading

When the close_expired_tcp modparam was disabled, Kamailio never  
displayed this warning and continued to process all TLS connections  
from 2015-11-19 through 2015-11-23, when I re-enabled the  
close_expired_tcp modparam for this test.

Thanks.  -A

Quoting Anthony Messina <amessina at messinet.com>:

> I have re-enabled the close_expired_tcp modparam and will report  
> back when I have results.  Thanks Camille. -A
> --
> Anthony - https://messinet.com/
>
> On November 23, 2015 3:46:55 AM CST, Camille Oudot  
> <camille.oudot at orange.com> wrote:
>> Le Sun, 22 Nov 2015 15:22:06 -0600,
>> Anthony Messina <amessina at messinet.com> a écrit :
>>
>>> I did tow things on 2015-11-19 which seem to have (at least
>>> temporarily) resolved this issue:
>>>
>>> 1. Upgraded to git master at b056aed
>>>
>>> 2. Commented out #modparam("usrloc", "close_expired_tcp", 1) based on
>>
>>>
>> http://lists.sip-router.org/pipermail/sr-users/2015-November/090733.html
>>
>> Hi Anthony,
>>
>> does this memory issue occur again if you re-enable close_expired_tcp
>> on this latest version you recompiled? This would help isolating the
>> issue.
>> Thanks

-- 
Anthony - https://messinet.com - https://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: PGP Digital Signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151124/65ef2806/attachment.sig>


More information about the sr-users mailing list