Re: [SR-Users] DMQ mem leak issues

2018-07-31 Thread Rogelio Perez
Julien, > Since it seem you are recovering the memory this does not seems like a real "leak" I forgot to mention that the recoveries are actual Kamailio manual restarts. > One hypothesis : > When you restart a node on the DMQ bus, it can trigger memory usage on the other nodes since they will

Re: [SR-Users] kamalio in virtual environment

2018-07-31 Thread Sergey Safarov
I used kamailio in environment on production: 1) bare metal + docker swarm; 2) vmware vm; 3) xen vm; 4) amazon vm; 5) vmware + docker swarm; 6) amazon vm + docker swarm. Sergey вт, 31 июл. 2018 г. в 21:01, Henning Westerholt : > Am Dienstag, 31. Juli 2018, 19:50:50 CEST schrieb AL S: > > We are

Re: [SR-Users] kamalio in virtual environment

2018-07-31 Thread Henning Westerholt
Am Dienstag, 31. Juli 2018, 19:50:50 CEST schrieb AL S: > We are running old release of Kamailio 3.3.0 on bare metal and would like to > upgrade the app and the HW. I was wondering if Kamailio is working in a > Virtual Environment. > Hello Alex. many people use Kamailio on virtual machines

Re: [SR-Users] kamalio in virtual environment

2018-07-31 Thread AL S
We are running old release of Kamailio 3.3.0 on bare metal and would like to upgrade the app and the HW. I was wondering if Kamailio is working in a Virtual Environment. Thanks, Alex From: sr-users on behalf of Antony Stone Sent: Tuesday, July 31, 2018 1:43

Re: [SR-Users] kamalio in virtual environment

2018-07-31 Thread Antony Stone
On Tuesday 31 July 2018 at 19:36:42, AL S wrote: > Hi, > > > Is recent kamalio release interoperable Interoperable with what? > in virtual environment? Why not? What reservations do you have about using Kamailio in a VM? Antony. -- If you were ploughing a field, which would you rather

[SR-Users] kamalio in virtual environment

2018-07-31 Thread AL S
Hi, Is recent kamalio release interoperable in virtual environment? Thanks, Alex ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] is_method not matching message type KDMQ breaking DMQ bus. (master branch)

2018-07-31 Thread Charles Chance
Hello, I have checked and it is a problem with is_method() not matching "KDMQ" (there is no method definition to match when parsing the message first line). This is not a DMQ issue specifically, and 'if (method == "KDMQ")' works just fine. I'm sure it _used_ to work (in fact, it's documented!) -

Re: [SR-Users] is_method not matching message type KDMQ breaking DMQ bus. (master branch)

2018-07-31 Thread Asgaroth
Hi, I can see that it works properly on kamailio v5.0.7, I've no instances of v5.1.x. It may just be related to master branch, however, in this instance I'm trying to use the presence dmq features that are in master at the moment. It might be that I pulled an in-flight bug on master, not

Re: [SR-Users] is_method not matching message type KDMQ breaking DMQ bus. (master branch)

2018-07-31 Thread Joel Serrano
Hi Asgaroth, I'm using dmq and I haven't seen a msg get passed this: # Handles DMQ messages if (is_method("KDMQ")) { dmq_handle_message(); } That said, just to make sure it's not some work-in-progress happening on master branch, give it a try on latest stable release

Re: [SR-Users] DMQ mem leak issues

2018-07-31 Thread Julien Chavanton
Since it seem you are recovering the memory this does not seems like a real "leak" One hypothesis : When you restart a node on the DMQ bus, it can trigger memory usage on the other nodes since they will start to do a SYNC and send one DMQ message / contact It could be that one node in the DMQ

Re: [SR-Users] DMQ mem leak issues

2018-07-31 Thread Rogelio Perez
Thanks Daniel, Charles and Julien. I confirm we're not getting the error log "running job failed". The behavior is always the same, any of the two failover instances would run without issues for a day or two and then suddenly start consuming all available memory in the span of an hour or less.

[SR-Users] is_method not matching message type KDMQ breaking DMQ bus. (master branch)

2018-07-31 Thread Asgaroth
Hi All, I've come across and oddity whereby my is_method("KDMQ") checks are not matching. I'm testing with kamailio master: version: kamailio 5.2.0-dev6 (x86_64/linux) a16272 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP,

Re: [SR-Users] DMQ mem leak issues

2018-07-31 Thread Julien Chavanton
Nice finding ! however Rogelio is saying there was no errors in the logs, looking at the patch he would have seen some. LM_ERR("running job failed\n"); Hope I am wrong. Rogerio is this a slow leak of you mean suddenly it is using 1.5G ? There can be a lot of shm used by sip_msg_shm_clone if

Re: [SR-Users] How to get Formatted Current TIME (NOT CACHED)

2018-07-31 Thread Alvaro Araos
Hi, I answer myself. It was very easy, you just had to use "transformations". $dlg_var(start)=$(TS{s.ftime,%Y-%m-%d %H:%M:%S}); Saludos, ALVARO ARAOS MÉNDEZ Director de Tecnología en FONOIP +56 2 2947 9000 alv...@fonoip.com | www.fonoip.com [1] Moisés Chacón 46, El Monte, RM

Re: [SR-Users] RTP Proxy

2018-07-31 Thread Richard Fuchs
On 2018-07-31 06:54, Alex Tatham wrote: Hello everyone, I’m in the process of moving approx. 100 Kamailio/Media Proxy (AG Projects) servers to Kamailio/RTPEngine.  I have all the functionality in place and I have a handful of servers in production.  I’m trying to monitor the RTP engine

Re: [SR-Users] DMQ mem leak issues

2018-07-31 Thread Charles Chance
Hi Daniel, Nice spot! I had tried to reproduce locally, but had not considered the possibility that jobs may be failing somewhere in Rogelio’s setup. Most likely your patch will resolve it but I’m happy to take a look further if not. Cheers, Charles On Tue, 31 Jul 2018 at 13:05,

Re: [SR-Users] DMQ mem leak issues

2018-07-31 Thread Daniel-Constantin Mierla
Hello, not using dmq much, but at a quick look in the code, I noticed that there are some cases when the job fields were not released if the processing was not completely done for various reasons. I pushed the commit a1f5fbe2c18246d4afefa44fd8a52612a5182a46, can you try with it and see the

[SR-Users] RTP Proxy

2018-07-31 Thread Alex Tatham
Hello everyone, I'm in the process of moving approx. 100 Kamailio/Media Proxy (AG Projects) servers to Kamailio/RTPEngine. I have all the functionality in place and I have a handful of servers in production. I'm trying to monitor the RTP engine (using Munin) and I'm graphing the values