Have you been able to determine why it's stuck in an infinite loop? That would be a better long-term solution. In the meantime I think you can do top -H to see individual threads but I don't know how easy/difficult it is to pick out which one is running Lua.
-MC

On Sun, Dec 23, 2012 at 2:21 AM, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:

Looks like simple one, but I can't figure it out if there a way to stop a lua script invoked via luarun which is stuck in an infinite loop and won't terminate itself? Of if we can come up with a way to monitor the thread and stop it?

Thanks,
--
Muhammad Naseer Bhatti




_________________________________________________________________________
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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org