run it slower and make sure it shuts down clean.<br><br>valgrind --tool=memcheck --log-file-exactly=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg<br><br><br><div class="gmail_quote">
On Wed, Sep 2, 2009 at 10:11 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You have to reduce the load when running valgrind.<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Wed, Sep 2, 2009 at 7:59 AM, Benedikt Fraunhofer <span dir="ltr">&lt;<a href="mailto:fraunhofer.lists.freeswitch-001@traced.net" target="_blank">fraunhofer.lists.freeswitch-001@traced.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello *,<br>
<br>
2009/8/31 Rupa Schomaker &lt;<a href="mailto:rupa@rupa.com" target="_blank">rupa@rupa.com</a>&gt;:<br>
<div>&gt; Isn&#39;t there a known issue with lua+sql leaking memory on some platforms?<br>
<br>
</div>just lua, no sql in use :)<br>
<div><br>
&gt; On Mon, Aug 31, 2009 at 8:32 AM, Brian West&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt; wrote:<br>
&gt;&gt; Use valgrind.<br>
<br>
</div>i tried that... in the beginning valgrind segfaultet several times<br>
with some error message that it&#39;s unable to monitor so many threads.<br>
<br>
vg_alloc_ThreadState: no free slots available<br>
Increase VG_N_THREADS, rebuild and try again.<br>
<br>
valgrind: the &#39;impossible&#39; happened:<br>
   VG_N_THREADS is too low<br>
<br>
it happeneded with 400 concurrent calls pretty soon, with 100 it took<br>
a while, but at least it consumed half a gig of ram.<br>
<br>
Can someone interpret the file it generated so far? i put it at<br>
<br>
  <a href="http://ns42.ath.cx/B0GdWh/vg.log.bz2" target="_blank">http://ns42.ath.cx/B0GdWh/vg.log.bz2</a><br>
<br>
(5k compressed, 452k uncompressed) or is there just not enough<br>
information contained?<br>
<br>
I&#39;ll give it another shot with 50 concurrent calls but i guess this<br>
will take ages...<br>
<br>
Thx in advance<br>
<br>
  Beni.<br>
<div><div></div><div><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div><div></div><div class="h5">-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>