Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Henning Westerholt
Am Mittwoch, 2. Januar 2019, 16:01:30 CET schrieb Richard Fuchs: > > Internal hash table diffenentelly stores info > > But even it case of putting timeout to 0 it still grows in synthetic > > tests. So looks like it will grows alsways because of deletes entries > > but creates new and so on and so

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
Yep that works with size of 1 it stores minimal data and not grows more than a cuple of bytes Thx a lot P.S. Anyway this is a tricky (hack) and suppose in the future will be cool to add function to disable hash at all. I understand that this is not ususal case but anyway it makes sence to be ср,

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Richard Fuchs
On 02/01/2019 09.32, Yuriy Gorlichenko wrote: Thx for the reply Yes Internal hash table diffenentelly stores info But even it case of putting timeout to 0 it still grows in synthetic tests. So looks like it will grows alsways because of deletes entries but creates new and so on and so on... So

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
Hi Daniel! thx for the reply too! Richard was correct about hash table (I tried a couple of experiments) So it i not a Leak in bug point of view but behavior that gives growing hash of rtpengine module If I looking at the kamcmd rtpengine.get_hash_total with watch every second - I see it growing A

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
Thx for the reply Yes Internal hash table diffenentelly stores info But even it case of putting timeout to 0 it still grows in synthetic tests. So looks like it will grows alsways because of deletes entries but creates new and so on and so on... So means it decrases "leak" but not fully Is there s

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Daniel-Constantin Mierla
Hello, to see the source of the leak in shared memory, the best is to generate usage summary. First set memlog lower than debug parameter, you can do in the kamailio.cfg or via rpc: kamcmd cfg.set_now_int core memlog 1 The above sets memlog to 1, so choose a value lower than what you have for d

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Richard Fuchs
On 02/01/2019 07.45, Yuriy Gorlichenko wrote: Hi! Happy new year to all!!! Look like I am first in this year wit hthe questions in this list :-). I'm using stateless kamailio and RTPengnine to build some kind of the stateless cluster I found that kamailio keeps some data  in the SHMEM in case

[SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
Hi! Happy new year to all!!! Look like I am first in this year wit hthe questions in this list :-). I'm using stateless kamailio and RTPengnine to build some kind of the stateless cluster I found that kamailio keeps some data in the SHMEM in case of using RTPengine module even if it is not a rtp