<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
This *might* be it.<br>
<br>
My external scripts uses this one as a framework:<br>
<a class="moz-txt-link-freetext" href="http://svn.freeswitch.org/svn/freeswitch/trunk/scripts/socket/sock.pl">http://svn.freeswitch.org/svn/freeswitch/trunk/scripts/socket/sock.pl</a><br>
- and leaves one zombie process for each time it's called. I imagine
that the errors which I saw<br>
were a result of tables being filled up and a new
session/socket/thread/something not being able<br>
to be created.<br>
<br>
My proposed fix is to add (from fs.pl)<br>
$SIG{CHLD} = sub {$fs-&gt;disconnect(); die "done"};<br>
which ought to both kill off the zombies and relieve me of making sure
that I call $fs-&gt;disconnect<br>
on every occasion when the call-handling thread could exit.<br>
<br>
Makes sense, or am I barking up a blind alley?<br>
<br>
Cheers --<br>
<br>
Dave<br>
<br>
<blockquote cite="mid:46EECD4C.7080103@3c.co.uk" type="cite">&nbsp;Unfortunately
not.&nbsp; All that was there, though, were the error reports
as below, one for each incoming call<br>
- I'll capture the console next time it happens.<br>
  <br>
Is there any other debug info that'd be useful?<br>
  <br>
Cheers --<br>
  <br>
Dave<br>
  <blockquote cite="mid:753059.20295.qm@web90608.mail.mud.yahoo.com"
 type="cite">
    <div
 style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;">do
you have a copy of the console log of this problem with the verbose
errors?<br>
    <br>
    <div>&nbsp;</div>
    <div>Anthony Minessale II<br>
    <br>
    <span>FreeSWITCH <a moz-do-not-send="true" target="_blank"
 href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br>
    <span>ClueCon <a moz-do-not-send="true" target="_blank"
 href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br>
    <br>
AIM: anthm<br>
    <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:MSN:anthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
    <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com">GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: irc.freenode.net #freeswitch</div>
    <div><br>
FreeSWITCH Developer Conference<br>
    <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="sip:888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
    <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
    <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:googletalk:conf+888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400</div>
    <div
 style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br>
    <br>
    <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">-----
Original Message ----<br>
From: David Knell <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="mailto:dave@3c.co.uk">&lt;dave@3c.co.uk&gt;</a><br>
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Sent: Monday, September 17, 2007 1:01:10 PM<br>
Subject: [Freeswitch-users] Sofia reporting 480 - maximum number of
sessions<br>
    <br>
    <div>Hi -<br>
    <br>
I've a little calling-card application which uses FreeSWITCH as an <br>
engine via mod_event_socket.<br>
Every so often, it stops accepting incoming calls; the error shown on <br>
the console is that Sofia's got<br>
its maximum number of sessions active.<br>
    <br>
This isn't down to:<br>
- sockets being left open;<br>
- there being too many sessions (status and sofia status both showed 12
    <br>
sessions last time it happened,<br>
and my max_sessions is set to 1000);<br>
    <br>
Any ideas?<br>
    <br>
Cheers --<br>
    <br>
Dave<br>
    <br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
    <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true" target="_blank"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true" target="_blank"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" target="_blank"
 href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
    </div>
    </div>
    <br>
    </div>
    </div>
    <br>
    <hr size="1">Yahoo! oneSearch: Finally, <a moz-do-not-send="true"
 href="http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC">
mobile search that gives answers</a>, not web links.
    <pre wrap=""><hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
  </blockquote>
  <br>
  <br>
  <pre class="moz-signature" cols="72">-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 8692 0677  M: 07773 800623
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.3c.co.uk">http://www.3c.co.uk</a> </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 8692 0677  M: 07773 800623
<a class="moz-txt-link-freetext" href="http://www.3c.co.uk">http://www.3c.co.uk</a> </pre>
</body>
</html>