There seems to be a leak somewhere. We&#39;re chasing down a leak that we detected the past weekend after we finally got the whole weekend running freeswitch under severe stress and glare scenarios. The OOM killer kicked in at some point.<div>
<br></div><div>We&#39;ve found that even non-glare scenarios are leaking. Since we just introduced a new stack, we&#39;re unsure at this point whether is our new stack or something in FreeSWITCH. However, after running valgrind, using MALLOC_CHECK_ and mtrace(), those tools report issues at switch_event.c, where one of the headers value being freed was never allocated (and therefore may be the value that was really allocated is not being freed), or is some kind of heap corruption. Many hypothesis at this point, nothing concrete.</div>
<div><br></div><div>Just thought in letting you know, it may not even be the same issue.<br><div><br clear="all"><div>Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada<br>
t. 1 905 474 1990 x128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a></div><br>
<br><br><div class="gmail_quote">On Wed, Sep 15, 2010 at 4:47 PM, Oleg Khovayko <span dir="ltr">&lt;<a href="mailto:khovayko@gmail.com">khovayko@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
Just for information:<br>
<br>
Time to time, very seldom, I see strange bug with my FS-machine.<br>
FreeSwitch starts to use ~60% of CPU, and eat more and more memory.<br>
When it reach ~500MB, system kill this task.<br>
<br>
Restart does not help. Reboot also. After reboot, FS, when starts,<br>
continues to eat CPU and memory.<br>
<br>
When I try if from terminal, and use command &quot;shutdown&quot;,<br>
system not exit completely, and freeze, just after print about<br>
destroying all connections to SIP-providers.<br>
<br>
When I tried to debug it, looks like problem in the thread #5.<br>
<br>
And, last time, I seen following message, after which FS starts working<br>
normally:<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 0x28802250 (LWP 100075)]<br>
sqlite3HashInsert (pH=0x0, pKey=0x297e7d78, nKey=15, data=0x28c5a080) at<br>
./src/hash.c:347<br>
347       xHash = hashFunction(pH-&gt;keyClass);<br>
(gdb)<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div>