Is FS compiled as 32- or 64-bit? You need to get a backtrace to find out what's really going on. Sofia and other modules won't throw exceptions (it's C), so until you get a backtrace from the error/exception it will be more or less impossible to help.

/Peter


2014-04-21 17:00 GMT+02:00 <andretodd@verizon.net>:
Hi,
 
While using Mod_managed and when the threads get to about 4000 threads I keep getting "An exception came from the CLR" in a unknown module.
 
I have error handling on all my c# code and I have tired to debug the dump looking for the problem.
Today I saw a new error saying Fault module name mod_sofia,dll
 
I really have no idea where the Unhandled exception is. I even put this code to try to find it
 
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
 
however nothing ever fires.  Can I assume since the error is from the CLR it could be the Mod_Manged dll?  Is the Sofia throwing an exception to mod_managed then the app crashes?
 
I really need help here to stop the crash and how to stop it.
Thanks
Andre

_________________________________________________________________________
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