<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
if you set memjoin to 0, do you see any difference?<br>
<br>
Can you try again (with memjoin 1 as well as 0) and send the output
of:<br>
<br>
kamctl mi get_statistics shmem:<br>
<br>
before executing the reload commands?<br>
<br>
When it gets to 100%, can you see which process is using the cpu and
attach to it with:<br>
<br>
gdb /path/to/kamailio PID<br>
<br>
then do:<br>
<br>
bt full<br>
<br>
and send output here?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 11/18/12 4:09 PM, Uri Shacked wrote:<br>
</div>
<blockquote
cite="mid:CAMMbDhRWXJqbaYAtozUGebW_662EedsD88pDgG_bStqpMznecg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>After some testing I notice the following:</div>
<div>First reload of 5 million records after kamailio started
took about 9 sec.</div>
<div>Second reload (4 minutes after the first one) took 60 sec.</div>
<div>The third one (again about 4 minutes after the secind) got
kamailio to use 100% cpu and after 13 minutes! i killed
it.....</div>
<div> </div>
<div>I can understand that the memory manger works harder,
still, any ideas on how to use mem_join and keep on reloading
data.</div>
<div>(in real life our data loads 5 million records once a day
when almost no traffic. still after a few days it stops...)</div>
<div> </div>
<div>Thanks,</div>
<div>Uri</div>
<div><br>
<br>
</div>
<div class="gmail_quote">On Sun, Nov 18, 2012 at 11:52 AM, Uri
Shacked <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"
class="gmail_quote">
<div dir="ltr">
<div><font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times
New Roman","serif";font-size:12pt">Hi,</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times
New Roman","serif";font-size:12pt">I
am using MTREE and DIALPLAN
modules to load lots of info to kamailio. (6 million
rows).</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times
New Roman","serif";font-size:12pt">When
kamailio was running with 3.2.1
(no mem_join=1 option), the used size was increasing
but the process of loading
the data was fast eanough.</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times
New Roman","serif";font-size:12pt">I
upgraded to 3.3.2 and set
mem_join=1. Now the loading process take about 10
time longer and sometimes
stops kamailio from responding to traffic.</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times
New Roman","serif";font-size:12pt">Any
ideas?</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times
New Roman","serif";font-size:12pt">Thanks,</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times
New Roman","serif";font-size:12pt">Uri</span></p>
<font face="Times New Roman" size="3">
</font></div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>