[sr-dev] Build kamailio 5.3.1 db_mysql module with percona.

2021-07-06 Thread Andrey Deykunov
Hi, We have kamailio server v. 5.3.1 with db_mysql.so built with our old mysql library 5.1.41. Now I'm trying to build it with libperconaclient20. I've tried many variants of build configuration, but every time I got errors when kamailio stops or starts, such:

Re: [sr-dev] [kamailio/kamailio] Segmentation fault occured in rpc_mod_print function in runtime. (#2460)

2020-10-12 Thread Andrey Deykunov
Thanks, I will take into account your comments. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2460#issuecomment-70719___ Kamailio

Re: [sr-dev] [kamailio/kamailio] Segmentation fault occured in rpc_mod_print function in runtime. (#2460)

2020-10-12 Thread Andrey Deykunov
Hi Daniel, I've performed some load tests. The loading was about 400 calls per second on peak. In parallel, I started a script calling commands below with a frequency of 200 milliseconds: ``` /var/lib/ums/sbin/kamcmd -s udp:localhost:2048 stats.get_statistics websocket:

Re: [sr-dev] [kamailio/kamailio] Segmentation fault occured in rpc_mod_print function in runtime. (#2460)

2020-09-09 Thread Andrey Deykunov
Thanks Daniel, I'll be testing it as soon as I deal with my current tasks. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-09-01 Thread Andrey Deykunov
Created issue #2460 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2433#issuecomment-685018354___ Kamailio (SER) - Development Mailing

[sr-dev] [kamailio/kamailio] Segmentation fault occured in rpc_mod_print function in runtime. (#2460)

2020-09-01 Thread Andrey Deykunov
### Description We have segfault in Kamailio v5.3.1 installed on Debain 9.x 64 bit occured while kamailio was shutting down while our script tryed to get metrics using kamcmd utility at the same time. ### Troubleshooting No troubleshooting was done, since it happened on a production

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-09-01 Thread Andrey Deykunov
The problem is not reproducible on the hosts where we disabled metrics gathering on kamailio. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-09-01 Thread Andrey Deykunov
I understand, but we've got a lot of such crashes during normal kamailio operation, NOT during shutdown. This is the issue I'm concerned about. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-09-01 Thread Andrey Deykunov
Bump! Any updates? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2433#issuecomment-684758225___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-08-21 Thread Andrey Deykunov
This is a sequence of commands that python script runs every 10 seconds: /var/lib/ums/sbin/kamcmd -s tcp:localhost:2048 stats.get_statistics websocket: /var/lib/ums/sbin/kamcmd -s tcp:localhost:2048 stats.get_statistics tcp: /var/lib/ums/sbin/kamcmd -s tcp:localhost:2048 stats.get_statistics

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-08-20 Thread Andrey Deykunov
> Was this a case of running the rpc command many times at the same time? I'll ask our LSA about it tomorow. Do you think it could be a problem? I thought that RPC handlers have thread safe (interprocess, in this case) access to shared memory, is it? -- You are receiving this because you

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-08-20 Thread Andrey Deykunov
**Updates:** A few days ago we've got the same segfault on production server, but in this case it happened without shut down. I think there is a race when calling process_rpc_req function and it does not relate to server cooldown. **Core dump:** GNU gdb (Debian 7.12-6) 7.12.0.20161007-git

Re: [sr-dev] [kamailio/kamailio] core: keep a global flag in shm for shut down phase (6da946e)

2020-08-11 Thread Andrey Deykunov
if(_ksr_shutdown_phase) { instance of _ksr_shutdown_phase cannot be initialized here. it supposed to be: if(!_ksr_shutdown_phase) { -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-08-11 Thread Andrey Deykunov
Thanks Daniel. I'll add this fix as a patch to our kamailio build. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] Segmentation fault in rpc_mod_print function while shutting down server. (#2433)

2020-08-10 Thread Andrey Deykunov
### Description We have segfault in Kamailio v5.3.1 installed on Debain 9.x 64 bit occured while kamailio was shutting down while our script tryed to get metric using kamcmd utility at the same time. ### Troubleshooting No troubleshooting was done, since it happened on a production server.

Re: [sr-dev] Removing Record-Route header

2020-06-08 Thread Andrey Deykunov
er option could be not not use record_route() but this function > instead: > > > > > https://kamailio.org/docs/modules/devel/modules/rr.html#rr.f.record_route_adv_addr > > > > Cheers, > > > > Henning > > > > -- > > Henning Westerholt – https://skalatan.

[sr-dev] Removing Record-Route header

2020-06-05 Thread Andrey Deykunov
Hi guys, I'm using Kamailio 5.3.1 in the AWS cloud. For this purpose I'm setting up a 'nat_public_ipaddr' in the 'advertise' feature: listen=tls:<%= @ipaddr %>:5061 advertise <%= node['hpbx'][ 'nat_public_ipaddr'] %>:5061 listen=tcp:<%= @ipaddr %>:5060 advertise <%= node['hpbx'][

[sr-dev] Fwd: RPC command to close all WS connections.

2020-05-18 Thread Andrey Deykunov
-- Forwarded message - От: Andrey Deykunov Date: пн, 18 мая 2020 г. в 12:24 Subject: RPC command to close all WS connections. To: Daniel-Constantin Mierla Hi Daniel, We're using two nodes (active and passive) of our PBX server in production. When an active node becomes passive

[sr-dev] Kamailio stucks at __read_nocancel during stop.

2020-04-09 Thread Andrey Deykunov
Hi, We're getting periodically core dumps when stopping Kamailio: GNU gdb (Debian 7.12-6) 7.12.0.20161007-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and

Re: [sr-dev] High memory consumption during load tests

2020-04-09 Thread Andrey Deykunov
terholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > > > *From:* sr-dev *On Behalf Of *Andrey > Deykunov > *Sent:* Wednesday, April 8, 2020 12:19 PM > *To:* Kamailio (SER) - Development Mailing List > > *Subject:* [sr-dev]

Re: [sr-dev] Many CLOSE_WAIT connections

2020-01-21 Thread Andrey Deykunov
ing make condition. > > Cheers, > Daniel > On 20.01.20 12:07, Andrey Deykunov wrote: > > Hi guys, > > Got the issue on 5.3.1 with openssl1.1, debian9. > After 3 working days of tests (about ~30-50 WSS clients), suddenly we've > got > a lot of connections stucked in CLOSE_W

[sr-dev] Many CLOSE_WAIT connections

2020-01-20 Thread Andrey Deykunov
Hi guys, Got the issue on 5.3.1 with openssl1.1, debian9. After 3 working days of tests (about ~30-50 WSS clients), suddenly we've got a lot of connections stucked in CLOSE_WAIT state. Kamailio called sig_alarm_abort() when we try to reboot. Thanks, Andrey

Re: [sr-dev] [kamailio/kamailio] Memory leaks in websocket module on adding tcp connection check (#1892)

2019-05-20 Thread Andrey Deykunov
Hi Daniel! I was on PTO, will look into it asap. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1892#issuecomment-493991962___ Kamailio

[sr-dev] [kamailio/kamailio] Memory leaks in websocket module (#1892)

2019-03-15 Thread Andrey Deykunov
### Description We had Kamailio 5.1.4 with websocket module. Unfortunately, our clients don't support websocket keepalive mechanism at all, so I used TCP keepalive instead with the following parameters: ``` tcp_keepalive=yes tcp_keepcnt=6 tcp_keepidle=60 tcp_keepintvl=10 ``` and set up

[sr-dev] Memory leaks in websocket module

2019-03-15 Thread Andrey Deykunov
ps://github.com/kamailio/kamailio/commit/a975bca1702ea2f3db47f834f7e4da2786ced201#diff-59c50f19ab1ccf4afe10617cdc346bc2 did not solve problem with ref counter increasing. Thanks, Andrey Deykunov ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev