miconda left a comment (kamailio/kamailio#4809)
Indeed, I also agree that LLM description/comments are hard to follow as a
human, it is a lot of laborious text to read and understand, instead of short
description of the issue and the troubleshooting data. Going over it now ...
Actually the RPC commands to reload data are not supposed to be executed in
parallel. There was a design limitation in the early years of SER/Kamailio when
the control commands (MI at that moment) were processed sequentially by the
FIFO process.
Similar issues are with reloads of records for dispatcher, lcr, etc ...
I haven't analysed the report and proposed fix thoroughly, but a global lock
for all the ops load/reload/match is not desirable, it practically serialise
every operation of the module and it is going to impact the performance
dramatically.
There is a global parameter that sets a rate limit of rpc commands:
- https://www.kamailio.org/wikidocs/cookbooks/6.1.x/core/#rpc_exec_delta
Probably it would be better to set that one by default to a "safety" value
(like 10) and then let people tune it if they know what they do in case they
need shorter rate limiting or parallel rpc execution.
An alternative implementation to add a lock for executing rpc commands could be
coded.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4809#issuecomment-4867147460
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4809/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!