Re: [SR-Users] Kamailio systemd scripts

2015-09-08 Thread asterisk asterisk
Try this one. I use this in my debian 8 (jessie) CK On Tue, Sep 8, 2015 at 4:39 PM, Daniel-Constantin Mierla wrote: > Hello, > > anyone here familiar with systemd that can provide the scripts for kamailio? > > Systemd is default now on last debian, so would be good to have

Re: [SR-Users] Kamailio systemd scripts

2015-09-08 Thread Daniel-Constantin Mierla
Is that a pure systemd script? It looks like being the sysv init script, which still works on debian 8 and we already have it, but I was looking to get the native systemd alternative. Cheers, Daniel On 08/09/15 10:54, asterisk asterisk wrote: > Try this one. > > I use this in my debian 8

Re: [SR-Users] [Kamailio 4.2] Crash during burn-in test

2015-09-08 Thread Daniel-Constantin Mierla
Hello, the first frames of the backtrace don't have the symbol table, do have other core files from where you can extract the bt full? Also, 4.2.3 is old in its series, newer versions in branch 4.2 were released. Can you update the latest version in branch 4.2 and reproduce again? That will rule

Re: [SR-Users] Best practise for limiting concurrent calls across a cluster

2015-09-08 Thread Daniel-Constantin Mierla
On 07/09/15 19:36, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> This is one way to go, ans should work fine (maybe a bit more testing >> needed) for few nodes, but I am actually not using this one, because it >> is a matter of what kind of routing architecture you go for. Lately

[SR-Users] Kamailio systemd scripts

2015-09-08 Thread Daniel-Constantin Mierla
Hello, anyone here familiar with systemd that can provide the scripts for kamailio? Systemd is default now on last debian, so would be good to have them as well as I want to close the issue 294: - https://github.com/kamailio/kamailio/issues/294 Any help will be appreciated. Follow up on this

Re: [SR-Users] Best practise for limiting concurrent calls across a cluster

2015-09-08 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > However, even in this case, when the subscriber base is really huge, > single mysql system can become slow, so there needs to be some > partitioning of the users, relying on several mysql systems. In that case partitioning could be done also based on userid or

Re: [SR-Users] Best practise for limiting concurrent calls across a cluster

2015-09-08 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Are you referring to the hierarchical architecture I plugged in as > example for usrloc, or about the topic of limiting the concurrent calls > using a backend system? I'm referring to your hierarchical architecture idea. > The hierarchical model is not the

Re: [SR-Users] Kamailio systemd scripts

2015-09-08 Thread Asterisk
It is not pure systemd scripts but works well Sent from my iPhone > On 8 Sep, 2015, at 5:45 pm, Daniel-Constantin Mierla > wrote: > > Is that a pure systemd script? It looks like being the sysv init script, > which still works on debian 8 and we already have it, but I was

Re: [SR-Users] Best practise for limiting concurrent calls across a cluster

2015-09-08 Thread Daniel-Constantin Mierla
On 08/09/15 12:00, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> However, even in this case, when the subscriber base is really huge, >> single mysql system can become slow, so there needs to be some >> partitioning of the users, relying on several mysql systems. > In that case

Re: [SR-Users] Kamailio crash [receive_fd: EOF on 19]

2015-09-08 Thread Daniel-Constantin Mierla
Hello, can you give the output of 'bt full' in gdb to see where it actually crashed? Cheers, Daniel On 08/09/15 20:20, SamyGo wrote: > Hi, > > I'm randomly getting crash in my Kamailio with an error in log files > like this: > > [pass_fd.c:293]: receive_fd(): ERROR: receive_fd: EOF on 19 >

Re: [SR-Users] Kamailio crash [receive_fd: EOF on 19]

2015-09-08 Thread Daniel-Constantin Mierla
Hello, looks like there were updates to dialog modules in 4.1 after 4.1.4. The code lines do not match the back trace. You should upgrade to latest version in 4.1 branch -- there is no change that you have to do in kamailio.cfg or database. Meanwhile, we can see the relevant pieces of code from

Re: [SR-Users] Kamailio crash [receive_fd: EOF on 19]

2015-09-08 Thread SamyGo
Hi Daniel, Thanks a ton for replying, please see the attached full trace. Please note the Public IPs have been masked. Best Regards, Sammy On Tue, Sep 8, 2015 at 3:01 PM, Daniel-Constantin Mierla wrote: > Hello, > > can you give the output of 'bt full' in gdb to see where

Re: [SR-Users] Kamailio crash [receive_fd: EOF on 19]

2015-09-08 Thread SamyGo
Thanks Daniel for pointing out, so if I upgrade my Kamailio it should all go away , right. Will do a version upgrade and check similar calls. I've seen very similar crashes EOF on 11, EOF of 16 etc etc in few other situations as well, while at once such occasion it was an invalid kamctl command

Re: [SR-Users] Kamailio crash [receive_fd: EOF on 19]

2015-09-08 Thread SamyGo
Here is the output from gdp for fram 0 and 4. (gdb) frame 0 #0 0x7f4d4dbc7ba9 in destroy_dlg_callbacks_list (cb=0x353a6d6f) at dlg_cb.c:77 77 cb_t->callback_param_free(cb_t->param); (gdb) list 72 73 while(cb) { 74 cb_t =

Re: [SR-Users] MEM_JOIN_FREE

2015-09-08 Thread Daniel-Constantin Mierla
Hello, not sure if the early 4.x has it enabled, but in the last ones it is. What exactly is the X number in 4.x that you want to know for? Cheers, Daniel On 08/09/15 15:38, Uri Shacked wrote: > Hi, > Does MEM_JOIN_FREE is compiled by default in kamailio 4.X.X ? > thanks, > Uri > > >

Re: [SR-Users] Kamailio systemd scripts

2015-09-08 Thread Daniel-Constantin Mierla
We have the init.d for debian, given that kamailio is part of the official distro as well -- nobody reported issues with it recently. I was looking for native systemd scripts for better integration with default options of the latest debian. I know it can work fine with old init.d scripts, but

Re: [SR-Users] MEM_JOIN_FREE

2015-09-08 Thread Uri Shacked
4.2.3 looks like it is from the makefile.defs just wanted to make sure. cheers Hello, not sure if the early 4.x has it enabled, but in the last ones it is. What exactly is the X number in 4.x that you want to know for? Cheers, Daniel On Tue, Sep 8, 2015 at 4:38 PM, Uri Shacked

Re: [SR-Users] MEM_JOIN_FREE

2015-09-08 Thread Daniel-Constantin Mierla
ok, note that there is a core parameter in kamailio.cfg to enable/disable the feature when MEM_JOIN_FREE is defined. Cheers, Daniel On 08/09/15 16:44, Uri Shacked wrote: > 4.2.3 > looks like it is from the makefile.defs > just wanted to make sure. > cheers > Hello, > > not sure if the early 4.x

[SR-Users] MEM_JOIN_FREE

2015-09-08 Thread Uri Shacked
Hi, Does MEM_JOIN_FREE is compiled by default in kamailio 4.X.X ? thanks, Uri ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Kamailio crash [receive_fd: EOF on 19]

2015-09-08 Thread SamyGo
Hi, I'm randomly getting crash in my Kamailio with an error in log files like this: [pass_fd.c:293]: receive_fd(): ERROR: receive_fd: EOF on 19 ALERT: [main.c:775]: handle_sigs(): child process 6853 exited by a signal 11 ALERT: [main.c:778]: handle_sigs(): core was generated INFO: