check your lua script for endless loops that are not broken with session:ready() checks.
Also get a gcore when you have the stuck channel and get a backtrace on the core per our debugging freeswitch wiki page.



On Tue, Dec 17, 2013 at 9:32 AM, Tornike Zedginidze <tokozedg@gmail.com> wrote:
Hi,

In very rare case, some channels stay active till I execute
uuid_session_heartbeat or any uuid command.
I run Freeswitch 1.2.14 and there is an LUA listener handling calls'
dialplans and hangups. In approximately 12 000 calls, 1 channel stays
alive even it's state is down.
You can see CLI output here: http://pastebin.com/Z8ycPX3g

What do you suggest, where can the issue be? Also not only hearbeat, but
any uuid command finishes the call.

Thanks




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+

ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900