Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] crash-protection and monit


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
andy at fabulous4.co.uk
Guest





PostPosted: Mon May 18, 2009 11:25 am    Post subject: [Freeswitch-users] crash-protection and monit Reply with quote

Hi, Is there any reason why the crash-protection parameter in switch.conf.xml defaults to false and are there any downsides to setting it to true? The documentation says it helps with certain types of crashes, can anyone tell me what sort of crashes in particular it helps to prevent as my freeswitch install seems to crash every few days. Also, does anyone have an example of the monit setup for freeswitch to restart it when it fails? Many thanks Andy
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Mon May 18, 2009 11:29 am    Post subject: [Freeswitch-users] crash-protection and monit Reply with quote

Hi,

Crash protection catches segmentation faul signals and try to kill that thread only. It works for "stupid" errors like a null pointer dereference, but in most scenarios, a crash means something in the process memory was corrupted. Ignoring it will just make it crash later on, thats why the default is false.


Now if you have a crash, you should update to svn trunk and if it still happens, report it on Jira ( see http://wiki.freeswitch.org/wiki/Reporting_Bugs ) so someone can look at it and fix it.


Math

On 18-May-09, at 6:21 PM, Andy Ayers wrote:
Quote:
Hi,

Is there any reason why the crash-protection parameter in switch.conf.xml defaults to false and are there any downsides to setting it to true? The documentation says it helps with certain types of crashes, can anyone tell me what sort of crashes in particular it helps to prevent as my freeswitch install seems to crash every few days.

Also, does anyone have an example of the monit setup for freeswitch to restart it when it fails?

Many thanks
Andy

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services