<div dir="ltr"><div><div>Hi Ovidiu,<br><br></div>Good points. We&#39;re not running out of memory, and all processes keep running.<br>Top shows 0% or 1% CPU load for the Kamailio processes.<br><br></div><div>We cross-compile with the CodeSourcery toolchain. The default build options<br>
</div><div>drag in the file atomic_unknown.h, that produces the following compile warning:<br><br>&quot;no native memory barrier implementations, falling back to slow lock based workarround&quot;<br></div><div><div><div><div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Currently we&#39;re testing a version compiled with -DNOSMP (no atomic_unknown.h)<br>that will run over the weekend.<br></div><div class="gmail_extra"><br>Regards,<br>
</div><div class="gmail_extra">Michiel Veldkamp<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 17, 2013 at 3:20 PM, Ovidiu Sas <span dir="ltr">&lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Michiel ,<br>
<br>
You should check with top to see the status of all kamailio processes.<br>
If you see processes that are using 100% CPU, you may have a deadlock.<br>
Connect with gdb to the process to investigate what&#39;s going on.<br>
<br>
Also, you are running on arm.  How did you compiled kamailio: native or cross.<br>
When you run kamailio on an embedded system, you need to check if you<br>
have enough memory.  If you start running out of memory, the OS may<br>
start killing processes randomly (check your OS logs).<br>
<br>
You definitely need to look at this issue from a broader prospective<br>
as it&#39;s not a regular x86 deployment with plenty of CPU and memory.<br>
Also tuning the config (by removing everything that you don&#39;t need<br>
might help with memory utilization).<br>
<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<span class=""><font color="#888888"><br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></font></span><br></blockquote></div><br></div><div class="gmail_extra"><br></div></div></div></div></div></div>