Thanks Daniel. We have increase shm memory to 1024 from 64 and private memory to 64 from 8MB.

We will closely monitor and will update the thread if encounter any issue.

Regards

Varghese Paul 

On Tue, Oct 10, 2017 at 10:04 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

these errors do not indicate a crash, but unability to read due to low available memory. Did you get a crash (kamailio stopped)? If yes, any core file from where you can extract the backtrace?

Anyhow, as hint, if you use a lot of tls, increase the size for shared memory, it is needed a lot there.

Cheers,
Daniel


On 10.10.17 16:32, Andrew Paul wrote:
Hi all,

We were using kamailio 4.4.5 and we enabled only for webrtc.

We were observing two memory crashed in last two weeks. 

Oct 10 01:03:03 webrtc /usr/sbin/kamailio[18002]: ERROR: <core> [tcp_read.c:1321]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f21ea8f6198 r: 0x7f21ea8f6218
Oct 10 01:03:04 webrtc /usr/sbin/kamailio[18003]: ERROR: tls [tls_server.c:190]: tls_complete_init(): tls: ssl bug #1491 workaround: not enough memory for safe operation: shm=9926856 threshold1=9961472
Oct 10 01:03:04 webrtc /usr/sbin/kamailio[18003]: ERROR: <core> [tcp_read.c:1321]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f21ea8f6198 r: 0x7f21ea8f6218
Oct 10 01:03:05 webrtc /usr/sbin/kamailio[18004]: ERROR: tls [tls_server.c:190]: tls_complete_init(): tls: ssl bug #1491 workaround: not enough memory for safe operation: shm=9926856 threshold1=9961472
Oct 10 01:03:05 webrtc /usr/sbin/kamailio[18004]: ERROR: <core> [tcp_read.c:1321]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f21ea8f6198 r: 0x7f21ea8f6218


Is there any known issue for tls module in kamailio_4.4.5 ?. We are using default 64MB for shared memory and 8MB for private memory. Do we need to increase this ?.

Regards

Andrew


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com