I encountered a behavior with DMQ using excessive CPU when running kamailio 5.8 on AWS Graviton processors (running in Docker on Amazon Linux 2023), even on an otherwise idle system.  Finding the issue below pointed me towards using polling. I set the value for worker_usleep to 1000 as a test, and that seems to have resolved the CPU issue, but I have no idea of what a “good” value is for this setting, and 1000 was simply the example present in the documentation.  My specific use case for DMQ is synchronizing USRLOC data for ~7,500 users, registering with expiration times of 60 – 300 seconds with 7 – 9 nodes on the DMQ bus.  Any general recommendations on tuning values for this setting?

 

https://github.com/kamailio/kamailio/issues/822

 

Regards,

Kaufman