<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi Pasan,<br>
<br>
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.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 30.07.2014 05:07, Pasan Meemaduma wrote:<br>
</div>
<blockquote
cite="mid:1406686039.978.YahooMailNeo@web163403.mail.gq1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:10pt">
<div style="" class=""><span style="" class="">Hi Bogdan,</span></div>
<div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
font-family: times new roman,new york,times,serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
<span style="" class=""></span></div>
<div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
font-family: times new roman,new york,times,serif;
background-color: transparent; font-style: normal;"><span
style="" class="">Should I up the nat timer workers from
config like below? I have default value which is 1.<br>
</span></div>
<div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
font-family: times new roman,new york,times,serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
<span style="" class=""></span></div>
<div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
font-family: times new roman,new york,times,serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<pre style="" class="">modparam("nathelper", "natping_processes", 3)</pre>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div style="display: block;" class="yahoo_quoted">
<div class="" style="font-family: times new roman, new york,
times, serif; font-size: 10pt;">
<div class="" style="font-family: times new roman, new york,
times, serif; font-size: 12pt;">
<div style="" class="" dir="ltr"> <font style="" class=""
face="Arial" size="2"> On Wednesday, 30 July 2014,
7:27, Pasan Meemaduma <a class="moz-txt-link-rfc2396E" href="mailto:pasandev@ymail.com"><pasandev@ymail.com></a>
wrote:<br style="" class="">
</font> </div>
<br style="" class="">
<br style="" class="">
<div style="" class="">
<div style="" class="" id="yiv6664328783">
<div style="" class="">
<div class=""
style="color:#000;background-color:#fff;font-family:times
new roman, new york, times, serif;font-size:10pt;">
<div style="" class=""><span style="" class="">Hi
Bogdan,</span></div>
<div class="" style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times new
roman, new york, times,
serif;background-color:transparent;font-style:normal;"><br
style="" class="" clear="none">
<span style="" class=""></span></div>
<div class="" style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times new
roman, new york, times,
serif;background-color:transparent;font-style:normal;"><span
style="" class="">looking at the timestamp on
logs it happens randomly.</span></div>
<div class="" style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times new
roman, new york, times,
serif;background-color:transparent;font-style:normal;"><br
style="" class="" clear="none">
<span style="" class=""></span></div>
<div class="" style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times new
roman, new york, times,
serif;background-color:transparent;font-style:normal;"><span
style="" class="">about 10 warnings per day.</span></div>
<div style="" class=""><br style="" class=""
clear="none">
<br style="" class="" clear="none">
</div>
<div style="" class="" id="yiv6664328783yqt48422">
<div class="" style="display:block;">
<div class="" style="font-family:times new
roman, new york, times,
serif;font-size:10pt;">
<div class="" style="font-family:times new
roman, new york, times,
serif;font-size:12pt;">
<div style="" class="" dir="ltr"> <font
style="" class="" face="Arial"
size="2"> On Tuesday, 29 July 2014,
19:28, Bogdan-Andrei Iancu
<a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a> wrote:<br
style="" class="" clear="none">
</font> </div>
<br style="" class="" clear="none">
<br style="" class="" clear="none">
<div style="" class="">
<div style="" class=""
id="yiv6664328783">
<div style="" class="">
<div style="" class=""><tt style=""
class="">I'm running out of
ideas :(....Do you get the
warning each time the timer runs
? or randomly ?<br style=""
class="" clear="none">
<br style="" class=""
clear="none">
Regards,<br style="" class=""
clear="none">
</tt>
<pre style="" class="">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" style="" rel="nofollow" shape="rect" class="" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
On 29.07.2014 04:33, Pasan
Meemaduma wrote:<br style=""
class="" clear="none">
</div>
<div style="" class=""
id="yiv6664328783yqt43977">
<blockquote style="" class=""
type="cite">
<div class=""
style="color:#000;background-color:#fff;font-family:times
new roman, new york, times,
serif;font-size:10pt;">
<div class="" style=""><span
class="" style="">Hi
Bogdan,</span></div>
<div class=""
style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times
new roman, new york, times,
serif;background-color:transparent;font-style:normal;"><br class=""
style="" clear="none">
<span class="" style=""></span></div>
<div class=""
style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times
new roman, new york, times,
serif;background-color:transparent;font-style:normal;"><span class=""
style="">Nope, mode 2 :)</span></div>
<div class=""
style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times
new roman, new york, times,
serif;background-color:transparent;font-style:normal;"><br class=""
style="" clear="none">
<span class="" style=""></span></div>
<div class=""
style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times
new roman, new york, times,
serif;background-color:transparent;font-style:normal;"><span class=""
style="">modparam("usrloc",
"db_mode", 2)<br class=""
style="" clear="none">
<br class="" style=""
clear="none">
</span></div>
<div style="" class=""><br
style="" class=""
clear="none">
<br style="" class=""
clear="none">
</div>
<div class=""
style="display:block;">
<div class=""
style="font-family:times
new roman, new york,
times,
serif;font-size:10pt;">
<div class=""
style="font-family:times
new roman, new york,
times,
serif;font-size:12pt;">
<div class="" dir="ltr"
style=""> <font
class="" style=""
face="Arial"
size="2"> On Monday,
28 July 2014, 17:06,
Bogdan-Andrei Iancu
<a
moz-do-not-send="true"
style=""
rel="nofollow"
shape="rect"
class=""
ymailto="mailto:bogdan@opensips.org"
target="_blank"
href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a>
wrote:<br class=""
style=""
clear="none">
</font> </div>
<br class="" style=""
clear="none">
<br class="" style=""
clear="none">
<div class="" style="">
<div class=""
id="yiv6664328783"
style="">
<div class=""
style="">
<div class=""
style=""><tt
class=""
style="">Hi
Pasan,<br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
What db_mode
do you use in
the usrloc
module ? I
hope not 3 :D
.<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
Regards,<br
class=""
style=""
clear="none">
</tt>
<pre class="" style="">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="" style="" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
On 28.07.2014
05:18, Pasan
Meemaduma wrote:<br
class=""
style=""
clear="none">
</div>
<div class=""
id="yiv6664328783yqt51638"
style="">
<blockquote
class=""
style=""
type="cite">
<div class=""
style="color:#000;background-color:#fff;font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style=""><span
class=""
style="">Hi
Bogdan,</span></div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><br
class=""
style=""
clear="none">
<span class=""
style=""></span></div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><span
class=""
style="">I
looked at the
cpu graphs
with nh-timer
warning times
theres no
indication of
noticable
spikes on that
time.</span></div>
<div class=""
style=""><br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
</div>
<div class=""
style="display:block;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:12pt;">
<div class=""
dir="ltr"
style=""> <font
class=""
style=""
face="Arial"
size="2"> On
Friday, 25
July 2014,
7:06, Pasan
Meemaduma <a
moz-do-not-send="true" rel="nofollow" shape="rect" class="" style=""
ymailto="mailto:pasandev@ymail.com"
target="_blank" href="mailto:pasandev@ymail.com"><pasandev@ymail.com></a>
wrote:<br
class=""
style=""
clear="none">
</font> </div>
<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
<div class=""
style="">
<div class=""
id="yiv6664328783" style="">
<div class=""
style="">
<div class=""
style="color:#000;background-color:#fff;font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style=""><span
class=""
style="">Hi
Bogdan,</span></div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><br
class=""
style=""
clear="none">
<span class=""
style=""></span></div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><span
class=""
style="">Nope
, I could only
see IPs in
contact
fields.</span></div>
<div class=""
style=""><br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
</div>
<div class=""
style="display:block;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:12pt;">
<div class=""
id="yiv6664328783yqt51496" style="">
<div class=""
dir="ltr"
style=""> <font
class=""
style=""
face="Arial"
size="2"> On
Thursday, 24
July 2014,
15:33, Pasan
Meemaduma <a
moz-do-not-send="true" rel="nofollow" shape="rect" class="" style=""
ymailto="mailto:pasandev@ymail.com"
target="_blank" href="mailto:pasandev@ymail.com"><pasandev@ymail.com></a>
wrote:<br
class=""
style=""
clear="none">
</font> </div>
<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
<div class=""
style="">
<div class=""
id="yiv6664328783" style="">
<div class=""
style="">
<div class=""
style="color:#000;background-color:#fff;font-family:times
new roman, new
york, times,
serif;font-size:10pt;">Hi
Bogdan,<br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
<tt class=""
style="">No
TCP clients,
only udp
allowed. yes
some clients
uses dns <br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
select
count(*) from
location;<br
class=""
style=""
clear="none">
+----------+<br
class=""
style=""
clear="none">
| count(*) |<br
class=""
style=""
clear="none">
+----------+<br
class=""
style=""
clear="none">
| 7419 |<br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
I got about
7K- 8K in
location table<br
class=""
style=""
clear="none">
</tt>
<div class=""
style=""><br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
</div>
<div class=""
style="display:block;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:12pt;">
<div class=""
style="">
<div class=""
id="yiv6664328783yqt33608" style="">
<div class=""
id="yiv6664328783" style="">
<div class=""
style="">
<div class=""
style="color:#000;background-color:#fff;font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style=""><br
class=""
style=""
clear="none">
</div>
<div class=""
style=""><br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
</div>
<div class=""
style="display:block;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style="font-family:times
new roman, new
york, times,
serif;font-size:12pt;">
<div class=""
dir="ltr"
style=""> <font
class=""
style=""
face="Arial"
size="2"> On
Wednesday, 23
July 2014,
19:35,
Bogdan-Andrei
Iancu <a
moz-do-not-send="true"
rel="nofollow"
shape="rect"
class=""
style=""
ymailto="mailto:bogdan@opensips.org"
target="_blank" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a>
wrote:<br
class=""
style=""
clear="none">
</font> </div>
<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
<div class=""
style="">
<div class=""
id="yiv6664328783" style="">
<div class=""
style="">
<div class=""
style=""><tt
class=""
style="">Hi
Pasan,<br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
Do you have
TCP clients ?
or do you have
clients
registering
DNS contacts ?
How many
records are in
usrloc ?<br
class=""
style=""
clear="none">
No TCP
clients, only
udp allowed.
yes some
clients uses
dns <br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
select
count(*) from
location;<br
class=""
style=""
clear="none">
+----------+<br
class=""
style=""
clear="none">
| count(*) |<br
class=""
style=""
clear="none">
+----------+<br
class=""
style=""
clear="none">
| 7419 |</tt>
<div class=""
id="yiv6664328783yqtfd78640" style=""><tt class="" style=""><br class=""
style=""
clear="none">
+----------+<br
class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
Regards,<br
class=""
style=""
clear="none">
</tt></div>
<div class=""
id="yiv6664328783yqtfd50103" style="">
<pre class="" style="">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="" style="" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
On 21.07.2014
05:18, Pasan
Meemaduma
wrote:<br
class=""
style=""
clear="none">
</div>
</div>
<div class=""
id="yiv6664328783yqtfd82898" style="">
<blockquote
class=""
style=""
type="cite">
<div class=""
id="yiv6664328783yqt53717" style="">
<div class=""
style="color:#000;background-color:#fff;font-family:times
new roman, new
york, times,
serif;font-size:10pt;">
<div class=""
style="">Hey
Guys,</div>
<div class=""
style=""><br
class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;">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 ?</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><br
class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;">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<br
class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><br
class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;">I
have 15seconds
configured for
nat ping timer
<br class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><br
class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;">modparam("nathelper",
"natping_interval",
15)<br
class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;"><br
class=""
style=""
clear="none">
</div>
<div class=""
style="color:rgb(0,
0,
0);font-size:13.3333px;font-family:times
new roman, new
york, times,
serif;background-color:transparent;font-style:normal;">How
can I fix this
issue ?<br
class=""
style=""
clear="none">
</div>
</div>
</div>
<br class=""
style=""
clear="none">
<fieldset
class=""
style=""></fieldset>
<br class=""
style=""
clear="none">
<pre class="" style="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="" style="" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="" style="" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br class=""
style=""
clear="none">
</div>
</div>
</div>
<div class=""
id="yiv6664328783yqtfd34936" style=""><br class="" style="" clear="none">
<br class=""
style=""
clear="none">
</div>
</div>
<div class=""
id="yiv6664328783yqtfd21634" style=""> </div>
</div>
<div class=""
id="yiv6664328783yqtfd50323" style=""> </div>
</div>
<div class=""
id="yiv6664328783yqtfd47007" style=""> </div>
</div>
<div class=""
id="yiv6664328783yqtfd66205" style=""> </div>
</div>
</div>
</div>
</div>
<br class=""
style=""
clear="none">
<div class=""
id="yiv6664328783yqtfd74405" style="">_______________________________________________<br
class=""
style=""
clear="none">
Users mailing
list<br
class=""
style=""
clear="none">
<a
moz-do-not-send="true"
rel="nofollow"
shape="rect"
class=""
style=""
ymailto="mailto:Users@lists.opensips.org"
target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br
class=""
style=""
clear="none">
<a
moz-do-not-send="true"
rel="nofollow"
shape="rect"
class=""
style=""
target="_blank"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br
class=""
style=""
clear="none">
</div>
<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class=""
style=""
clear="none">
<div class=""
id="yiv6664328783yqt41836" style="">_______________________________________________<br
class=""
style=""
clear="none">
Users mailing
list<br
class=""
style=""
clear="none">
<a
moz-do-not-send="true"
rel="nofollow"
shape="rect"
class=""
style=""
ymailto="mailto:Users@lists.opensips.org"
target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br
class=""
style=""
clear="none">
<a
moz-do-not-send="true"
rel="nofollow"
shape="rect"
class=""
style=""
target="_blank"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br
class=""
style=""
clear="none">
</div>
<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class=""
style=""
clear="none">
<br class=""
style=""
clear="none">
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class=""
style=""
clear="none">
</div>
</div>
<br class="" style=""
clear="none">
<br class="" style=""
clear="none">
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br style="" class="" clear="none">
</div>
</div>
<br style="" class="" clear="none">
<br style="" class="" clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br style="" class="">
<br style="" class="">
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>