Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-18 Thread Henning Westerholt
Kamailio crashed after 5 minutes, version kamailio-5.4.0-dev1 ``` [logs every 2s the following error] Nov 18 21:26:28 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR: statsc [statsc_mod.c:151]: statsc_svalue(): statistic free_size not found Nov 18 21:26:28

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-18 Thread Henning Westerholt
Thanks, I have configured it on one of my tests servers. Lets see tomorrow. :-) -- 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] statsc module - server crashes every 10 hours (#2101)

2019-11-18 Thread ekke56
used configuration: debug=2 log_stderror=no log_facility=LOG_LOCAL3 children=8 disable_tcp=yes listen=udp:XXX.XXX.XXX.XX:5060 #!ifdef WITH_SRCPATH mpath="modules/" #!else mpath="/usr/local/lib64/kamailio/modules/" #!endif loadmodule "statsc.so" modparam("statsc", "interval", 2)

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-15 Thread Henning Westerholt
Thanks for the feedback, this looks certainly like an overflow or something similar. You mentioned that you can reproduce this with a small cfg, could you provide it also in the issue? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-13 Thread ekke56
Hi! I now have two new servers with kamailio 5.2.4 and centos 8 which have exactly the same symptoms, crash every 9 hours and 41 minutes. Traceback: 0 0x0046b7d6 in get_hash1_raw (s=0x5dcbf2d2 , len=9) at core/hashes.h:109 #1 0x0046bab6 in str_hash_get (ht=0xa61680 ,

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-08 Thread Henning Westerholt
This is interesting. So you are saying that it happens only on one server, even if the others also use stats. Do you see e.g. any memory errors in the dmesg or system logging? Do you have a chance to e.g. to a memory test on this particular server? -- You are receiving this because you are

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-08 Thread ekke56
Hi! We have total 5 kamailio servers all running as virtual servers. So far it seems that the problem occurs on only one server. The crash happens every modparam("statsc", "interval", 300) * 2 minutes If I set this to 2 it crashes every four minutes. ekke From: Henning Westerholt Sent: 08

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-08 Thread Henning Westerholt
Hello Ekke thanks for the feedback. About the question regarding reproducing - maybe could sort out eventual other causes. Do you see this only on this server, or also on another machine? Is the server a actual hardware or a virtual server? Maybe you can move it to another host to see if its

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-11-08 Thread ekke56
I have essentially deleted whole configuration and loaded minimum modules but the issue still occurs. Should we pursue it further or (sigh) declare it unreproducable? ekke PS I have another question regarding TM module and t_replicate, do you know who could help? From: Daniel-Constantin

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-10-24 Thread ekke56
I will try to isolate the issue next week, when im back in the office. From: Daniel-Constantin Mierla Sent: 24 October 2019 13:57:55 To: kamailio/kamailio Cc: Ekke Einberg ; Author Subject: Re: [kamailio/kamailio] statsc module - server crashes every 10 hours

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-10-24 Thread Daniel-Constantin Mierla
I loaded statsc in a test system and runs for almost 1 week without any issue. Do you fetch the statsc data via RPC periodically? How often? Can you give the list of loaded modules and modparams (replace sensitive data like ip addresses, passwords ...) ? -- You are receiving this because you

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-10-24 Thread ekke56
There are no custom modules or patches. No changes to downloaded code. From: Daniel-Constantin Mierla Sent: 24 October 2019 13:34:33 To: kamailio/kamailio Cc: Ekke Einberg ; Author Subject: Re: [kamailio/kamailio] statsc module - server crashes every 10 hours

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-10-24 Thread Daniel-Constantin Mierla
Do you have custom modules or custom patches in that kamailio instance? Or is just stock kamailio? It looks like some addresses are overwritten... -- 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] statsc module - server crashes every 10 hours (#2101)

2019-10-17 Thread ekke56
I am out of country, hence the delay: (gdb) frame 6 #6 0x7eff7d65db79 in statsc_timer (ticks=113205942, param=0x0) at statsc_mod.c:274 274 statsc_svalue(>rname, sm->vals + n); (gdb) p *sm $1 = {sname = {s = 0x5da5103e , len = 1571098986}, rname = {s = 0x5da51296 , len =

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-10-17 Thread Daniel-Constantin Mierla
Are you able to provide the output for last commands? -- 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/2101#issuecomment-543073786___

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-10-15 Thread Daniel-Constantin Mierla
Now I need also the output for gdb commands: ``` frame 6 p *sm ``` -- 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] statsc module - server crashes every 10 hours (#2101)

2019-10-15 Thread ekke56
Sure: (gdb) frame 5 #5 0x7eff7d65c113 in statsc_svalue (name=0x7eff79693b80, res=0x7eff79693f4b) at statsc_mod.c:149 149 stat = get_stat(name); (gdb) p name $1 = (str *) 0x7eff79693b80 (gdb) p *name $2 = {s = 0x5da51296 , len = 9} (gdb) $3 = {s = 0x5da51296 , len = 9} loadmodule

Re: [sr-dev] [kamailio/kamailio] statsc module - server crashes every 10 hours (#2101)

2019-10-15 Thread Daniel-Constantin Mierla
It seems to originate in statsc module, I updated the title to reflect that. Can give the output from gdb for following commands: ``` frame 5 p name p *name ``` Also, can you provide the modparams you set for statsc module? -- You are receiving this because you are subscribed to this thread.