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

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


On 18.03.20 10:38, Javier Valencia wrote:
>
> it is not enabled Kamailio's FIFO.
>
> A few minutes ago, I restart kamailio to increase memory limits. But
> usually there are around 280 users.
>
> But;
>
> kamcmd> ws.dump
> {
>     connections: {
>         1: wss:212.81.134.66:47126 -> wss:212.81.134.66:2443 (state:
> OPEN,  last used 157s ago, sub-protocol: sip)
>         2: wss:212.81.134.66:47128 -> wss:212.81.134.66:2443 (state:
> OPEN,  last used 159s ago, sub-protocol: sip)
>         *... omit verbose ...*
>         69: wss:212.81.134.66:47268 -> wss:212.81.134.66:2443 (state:
> OPEN,  last used 64s ago, sub-protocol: sip)
>         71: wss:212.81.134.66:47276 -> wss:212.81.134.66:2443 (state:
> OPEN,  last used 36s ago, sub-protocol: sip)
>     }
>     info: {
>         wscounter: 50
>         truncated: yes
>     }
> }
> kamcmd> tls.info
> {
>     max_connections: 2048
>     opened_connections: 66
>     clear_text_write_queued_bytes: 0
> }
>
> Which it's equivalent command in kamcmd for "kamctl stats"?
>
What version of Kamailio do you run there?

Cheers,
Daniel


> 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)
> El 18/3/20 a las 10:24, Daniel-Constantin Mierla escribió:
>>
>> 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
>
> _______________________________________________
> 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/0f509182/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dgeaglpglnodipip.png
Type: image/png
Size: 7800 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/0f509182/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnbknmcglooeallm.png
Type: image/png
Size: 334 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/0f509182/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpbjellagbgobccg.png
Type: image/png
Size: 453 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/0f509182/attachment-0002.png>
-------------- 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/0f509182/attachment-0003.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/0f509182/attachment-0004.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/0f509182/attachment-0005.png>


More information about the sr-users mailing list