Hello,

you have to be careful with low values for it, because there can be
active transactions using the records (e.g., retransmissions, waiting
for response).

Maybe you can leverage the commands to add/remove records instead of
full reload.

Cheers,
Daniel

On 15.02.23 19:14, Dmytro M wrote:
> Sorry,
> I've found the answer in newer version of uac module doc. There is
> reg_gc_interval parameter to control this behavior.
>
> I was looking at an older uac doc: 5.1.x.
>
> Regards,
> Dmytro
>
>
> On 2023-02-15 13:00, Dmytro M wrote:
>> When you do "kamcmd uac.reg_reload" frequently enough, you'll get an
>> error:
>>
>> # kamcmd uac.reg_reload
>> error: 500 - Failed to shift records - check log messages
>>
>> Logs:
>>
>> ERROR: uac [uac_reg.c:416]: uac_reg_ht_shift(): shifting in-memory
>> table is not possible in less than 150 secs
>>
>>
>> What is the reason behind 150 sec limitation for how frequent reloads
>> can be done?
>>
>> Is it configurable in any way?
>>
>>
>> Use case:
>> Remote app needs to disable uac registration. It deletes record in DB
>> and calls kamcmd uac.reg_reload to activate the change. With 150 sec
>> limit it can't apply DB changes immediately.
>>
>>
>> Please advise.
>>
>> Thanks,
>> Dmytro
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only
> to the sender!
> Edit mailing list options or unsubscribe:

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - June 5-7, 2023 - www.kamailioworld.com
Kamailio Advanced Training - Online - March 27-30, 2023 - www.asipto.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to