Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-19 Thread George Diamantopoulos
Hello again, Indeed it must have been the version mismatch. I have upgraded all instances to 5.5.3 and shm now reports reasonable numbers. Thanks! BR, George On Fri, 7 Jan 2022 at 14:10, Daniel-Constantin Mierla wrote: > Hello, > On 07.01.22 13:04, George Diamantopoulos wrote: > > Hello

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-07 Thread Daniel-Constantin Mierla
Hello, On 07.01.22 13:04, George Diamantopoulos wrote: > Hello Daniel, > > I see, thanks for the response. I guess I'll try upgrading all > instances to 5.5.x for now, and hopefully that will fix it. If not, > I'll revert to 5.4.x and post here again. If the issue does manifest > with all

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-07 Thread George Diamantopoulos
Hello Daniel, I see, thanks for the response. I guess I'll try upgrading all instances to 5.5.x for now, and hopefully that will fix it. If not, I'll revert to 5.4.x and post here again. If the issue does manifest with all instances on 5.5.x however, what information should I collect to

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-07 Thread Daniel-Constantin Mierla
Hello, if you do dmq replication between kamailio systems running different major versions, then it is likely to get memory leaks due to replication of data and most probably cannot be fixed. This is because internal structures of modules (also dmq commands) can change, practically what an

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-07 Thread George Diamantopoulos
Hello all and happy new year, I have some new information to share regarding this issue. I believe the previous metrics I sent to the list might not be indicative of the way the problem manifests. Here's what I believe so far: - Issue is exacerbated (or manifests) during moderate-to-high cps,

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2021-06-30 Thread Daniel-Constantin Mierla
Hello, for the sake of completion: the autoexpire should clean the items if they are not used during the expiration interval. If you want to get them deleted after first expiration interval always, see the updateexpire attribute for htable modparam. Also, note that replication should be done

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2021-06-30 Thread George Diamantopoulos
Hello Daniel, Thanks for the feedback. I think I might have been too quick to blame htable for this behaviour. In fact, version 5.4 seems to consume more memory than 5.5 (175129776 bytes vs 20581096), which makes sense since it has been running for longer (I missed the extra digit previously).

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2021-06-30 Thread Daniel-Constantin Mierla
Hello, do you replicate items in the htable via dmq? Does the htable have autoexpire value set? Cheers, Daniel On 30.06.21 13:54, George Diamantopoulos wrote: > Forwarding my reply to the list, using gmail's reply button set > Henning as the sole recipient :-\ > > -- Forwarded message

[SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2021-06-30 Thread George Diamantopoulos
Forwarding my reply to the list, using gmail's reply button set Henning as the sole recipient :-\ -- Forwarded message - From: George Diamantopoulos Date: Sat, 26 Jun 2021 at 02:25 Subject: Re: [SR-Users] Possible memory leak on 5.5.x (new)? To: Henning Westerholt Hello