This *might* be it. My external scripts uses this one as a framework: http://svn.freeswitch.org/svn/freeswitch/trunk/scripts/socket/sock.pl - and leaves one zombie process for each time it's called. I imagine that the errors which I saw were a result of tables being filled up and a new session/socket/thread/something not being able to be created. My proposed fix is to add (from fs.pl) $SIG{CHLD} = sub {$fs->disconnect(); die "done"}; which ought to both kill off the zombies and relieve me of making sure that I call $fs->disconnect on every occasion when the call-handling thread could exit. Makes sense, or am I barking up a blind alley? Cheers -- Dave
Unfortunately not. All that was there, though, were the error reports as below, one for each incoming call - I'll capture the console next time it happens.
Is there any other debug info that'd be useful?
Cheers --
Dave
do you have a copy of the console log of this problem with the verbose errors?
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
----- Original Message ---- From: David Knell <dave@3c.co.uk> To: freeswitch-users@lists.freeswitch.org Sent: Monday, September 17, 2007 1:01:10 PM Subject: [Freeswitch-users] Sofia reporting 480 - maximum number of sessions
Hi -
I've a little calling-card application which uses FreeSWITCH as an engine via mod_event_socket. Every so often, it stops accepting incoming calls; the error shown on the console is that Sofia's got its maximum number of sessions active.
This isn't down to: - sockets being left open; - there being too many sessions (status and sofia status both showed 12 sessions last time it happened, and my max_sessions is set to 1000);
Any ideas?
Cheers --
Dave
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------ Yahoo! oneSearch: Finally, mobile search that gives answers <http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC>, not web links. ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- David Knell, Director, 3C Limited T: 020 8114 8901 F: 020 8692 0677 M: 07773 800623 http://www.3c.co.uk ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- David Knell, Director, 3C Limited T: 020 8114 8901 F: 020 8692 0677 M: 07773 800623 http://www.3c.co.uk