[SR-Users] tls: ssl bug #1491 workaround

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 18 10:24:48 CET 2020


Hello,

how many tls connections/active registrations and active calls do you
have at the time you get the error messages? Can you give the output for:

kamctl stats

The first step for a fix is to increase the shared memory size via -m,
like -m 256 if you want to double it for now.

Cheers,
Daniel

On 18.03.20 09:56, Javier Valencia wrote:
>
> Hi there
>
> I have a Kamailio with TLS/Websocket solution. I'm getting some errors
> on log and some users can't connect.
>
> My log:
>
> Mar 18 09:49:15 webrtc /usr/sbin/kamailio[11915]: ERROR: tls
> [tls_server.c:192]: tls_complete_init(): tls: ssl bug #1491
> workaround: not enough memory for safe operation: shm=8212904
> threshold1=8388608
> Mar 18 09:49:15 webrtc /usr/sbin/kamailio[11915]: ERROR: <core>
> [core/tcp_read.c:1485]: tcp_read_req(): ERROR: tcp_read_req: error
> reading - c: 0x7f6297bd62c0 r: 0x7f6297bd6340
>
> Kamailio is running like:
>
> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
> /etc/kamailio/kamailio.cfg -m 128 -M 16 -u kamailio -g kamailio
>
> Kind regards, Javier Valencia.
>
>
> -- 
> Logo <http://www.voiper.es/>
>
> 	
> Javier Valencia | CTO
> Centro de Negocios Martín Buendía
> Camino de las Cañadas, nº 1C, Portal 1, 2ºG
> 29649 Mijas (Málaga)
>
> # 	951562080 (T) <tel:951562080> | 687486759 (M) <tel:687486759>
> # 	www.voiper.es <http://www.voiper.es/>
>
> ------------------------------------------------------------------------
> AVISO LEGAL
> -----------
>
> Este mensaje contiene información confidencial destinada para ser leída
> exclusivamente por el destinatario. Queda prohibida la reproducción,
> publicación, divulgación, total o parcial del mensaje así como el uso no
> autorizados por el emisor. En caso de recibir el mensaje por error, se ruega
> su comunicación al remitente lo antes posible. Por favor, indique
> inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo
> por Internet.
>
> Las opiniones, conclusiones y demás información incluida en este mensaje que
> no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se
> entenderá que nunca se ha dado, ni está respaldado por el mismo.
>
> Responsable del Tratamiento de Datos
> ------------------------------------
> SMART RECARGAS , SL
> Camino de las Cañadas, 1C PORTAL 1 2º G
> 29651 MIJAS COSTA (MALAGA)
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/6b9949e7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hmdmeoolcmdnacda.png
Type: image/png
Size: 7800 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/6b9949e7/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flkoodjkjhogjpbe.png
Type: image/png
Size: 334 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/6b9949e7/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cemajoijablmmamn.png
Type: image/png
Size: 453 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/6b9949e7/attachment-0002.png>


More information about the sr-users mailing list