Hi, John!

As you already figured out, there is a timer job that takes a bit longer than it is supposed to. Unfortunately there is no easy way to say which timer job, but if you have a lot of users logged in, that might be an issue.

The idea behind the natping partitions is that by default (partition = 1) OpenSIPS pings all users in a single timer run. If there are a lot of users, this might take _a lot_, especially if users are using TCP, and some of them have a stale connection. Increasing the natping_partitions partitions will basically split all the users in smaller sets, and will spread them among multiple job runs, thus multiple processes. Therefore increasing this parameter will definitely help you. The range is not a magic value :). It depends on the amount of users, bandwidth, etc. It makes sense to set this parameter from 1 to the maximum number of processes provisioned - anything else will probably make timer jobs overlap.
I hope this answers to your question.

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 10/17/2017 06:26 PM, John Quick wrote:
Hi all,

I have a working system using v2.2.5 OpenSIPS software. It gets quite a lot
of warnings that look like this:
WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for
67949120 ms (now 67949220 ms), it may overlap...

Perhaps these are caused by excessive loading on the nathelper module when
it sends NAT pings to all the many registered devices.
I am wondering if it might help to adjust the parameters
"natping_partitions" in the nathelper module. Can someone please explain how
this parameter works and if it might be better to use a non-default value on
a system that has a large number of registered devices, all being sent NAT
pings. What range of values would be sensible to try?

Is there some way to debug and find exactly what is causing these warnings?

John Quick
Smartvox Limited



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to