[OpenSIPS-Users] nat helper timer error

Pasan Meemaduma pasandev at ymail.com
Thu Jul 31 04:51:47 CEST 2014


Hi Bogdan,

I'll try that too and see If I can find anymore things related to it.

Thanks for your help



On Wednesday, 30 July 2014, 18:55, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
 


Hi Pasan,

You can try that, but this will simply distributes the load
        across 3 procs. It still does not tell you where the problem is.
        IMHO, 3 secs to ping 8K users via UDP is too long and not
        normal.

Regards,
 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer http://www.opensips-solutions.com
On 30.07.2014 05:07, Pasan Meemaduma wrote:

Hi Bogdan,
>
>
>Should I up the nat timer workers from config like below? I have default value which is 1.
>
>
>
>
>
>modparam("nathelper", "natping_processes", 3)
>
>
>
>On Wednesday, 30 July 2014, 7:27, Pasan Meemaduma <pasandev at ymail.com> wrote:
> 
>
>
>Hi Bogdan,
>
>
>looking at the timestamp on logs it happens randomly.
>
>
>about 10 warnings per day.
>
>
>
>On Tuesday, 29 July 2014, 19:28, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
> 
>
>
>I'm running out of ideas :(....Do you get the warning each time the timer runs ? or randomly ?
>
>Regards,
> 
>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer http://www.opensips-solutions.com
On 29.07.2014 04:33, Pasan Meemaduma wrote:
>
>Hi Bogdan,
>>
>>
>>Nope, mode 2 :)
>>
>>
>>modparam("usrloc", "db_mode", 2)
>>
>>
>>
>>
>>
>>On Monday, 28 July 2014, 17:06, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
>> 
>>
>>
>>Hi Pasan,
>>
>>What db_mode
                                                          do you use in
                                                          the usrloc
                                                          module ? I
                                                          hope not 3 :D
                                                          .
>>
>>Regards,
>> 
>>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer http://www.opensips-solutions.com
On 28.07.2014 05:18, Pasan Meemaduma wrote:
>>
>>Hi Bogdan,
>>>
>>>
>>>I looked at the cpu graphs with nh-timer warning times theres no indication of noticable spikes on that time.
>>>
>>>
>>>
>>>On Friday, 25 July 2014, 7:06, Pasan Meemaduma <pasandev at ymail.com> wrote:
>>> 
>>>
>>>
>>>Hi Bogdan,
>>>
>>>
>>>Nope , I could only see IPs in contact fields.
>>>
>>>
>>>
>>>On Thursday, 24 July 2014, 15:33, Pasan Meemaduma <pasandev at ymail.com> wrote:
>>> 
>>>
>>>
>>>Hi Bogdan,
>>>
>>>No TCP clients, only udp allowed. yes some clients uses dns 
>>>
>>>select
                                                          count(*) from
                                                          location;
>>>+----------+
>>>| count(*) |
>>>+----------+
>>>|     7419 |
>>>
>>>I got about
                                                          7K- 8K in
                                                          location table
>>> 
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On Wednesday, 23 July 2014, 19:35, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
>>> 
>>>
>>>
>>>Hi Pasan,
>>>
>>>Do you have
                                                          TCP clients ?
                                                          or do you have
                                                          clients
                                                          registering
                                                          DNS contacts ?
                                                          How many
                                                          records are in
                                                          usrloc ?
>>>No TCP
                                                          clients, only
                                                          udp allowed.
                                                          yes some
                                                          clients uses
                                                          dns 
>>>
>>>select
                                                          count(*) from
                                                          location;
>>>+----------+
>>>| count(*) |
>>>+----------+
>>>|     7419 | 
>>>
>>>+----------+
>>>
>>>
>>>Regards,
>>>
>>>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer http://www.opensips-solutions.com
On 21.07.2014 05:18, Pasan Meemaduma wrote:
>>>
>>>Hey Guys,
>>>>
>>>>
>>>>I'm using opensips 1.10.1-1 on a debian server with wheezy, its running on a kvm guest. I started to observe the below error in opensips. Any idea what causing it ?
>>>>
>>>>
>>>>Jul 20 09:01:28 /usr/sbin/opensips[29968]: CRITICAL:core:timer_ticker: timer handler <nh-timer> lasted (4960000 us) for more than timer tick (1000000 us) -> potential timer shifting
>>>>
>>>>
>>>>
>>>>I have 15seconds configured for nat ping timer 
>>>>
>>>>
>>>>
>>>>modparam("nathelper", "natping_interval", 15)
>>>>
>>>>
>>>>
>>>>How can I fix this issue ?
>>>>
>>>>
>>>>
>>>>_______________________________________________
Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
>>>
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>Users mailing
                                                          list
>>>Users at lists.opensips.org
>>>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>Users mailing
                                                          list
>>>Users at lists.opensips.org
>>>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140730/61f0d51d/attachment-0001.htm>


More information about the Users mailing list