• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-users] safe_asterisk, respawning etc. (was: Re: /e

 
   AsteriskGuru Archives Forum Index -> Asterisk-Users
View previous topic :: View next topic  
Author Message
philipp.kempgen at amooma
Guest





PostPosted: Sun May 31, 2009 5:43 pm    Post subject: [asterisk-users] safe_asterisk, respawning etc. (was: Re: /e

Tzafrir Cohen schrieb:

Quote:
How useful are the equivalent safe_asterisk scripts?

To be honest I still haven't decided if asterisk should be auto-
respawned by something like safe_asterisk or inittab[1] or launchd[2]
or upstart[3] or Service Management Facility[4] or whatever the
various launchers are called or if it should be treated as any other
daemon: i.e. assume they don't crash.
There's no real reason to treat asterisk differently but then again
I haven't seen Apache or MySQL crash very often but I did see some
versions of Asterisk crash more often than it was acceptable.
(Seems to be better now.)

[1] http://en.wikipedia.org/wiki/Inittab
[2] http://en.wikipedia.org/wiki/Launchd
[3] http://en.wikipedia.org/wiki/Upstart
[4] http://en.wikipedia.org/wiki/Service_Management_Facility

Philipp Kempgen
--
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de
--

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tilghman at mail.jeffandt
Guest





PostPosted: Mon Jun 01, 2009 2:23 am    Post subject: [asterisk-users] safe_asterisk, respawning etc. (was: Re: /e

On Sunday 31 May 2009 13:36:26 Philipp Kempgen wrote:
Quote:
Tzafrir Cohen schrieb:
> How useful are the equivalent safe_asterisk scripts?

There's no real reason to treat asterisk differently but then again
I haven't seen Apache or MySQL crash very often but I did see some
versions of Asterisk crash more often than it was acceptable.
(Seems to be better now.)

Interesting, since safe_asterisk is modeled directly after safe_mysqld.

--
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tzafrir.cohen at xorcom.c
Guest





PostPosted: Mon Jun 01, 2009 6:02 am    Post subject: [asterisk-users] safe_asterisk, respawning etc. (was: Re: /e

On Sun, May 31, 2009 at 10:18:46PM -0500, Tilghman Lesher wrote:
Quote:
On Sunday 31 May 2009 13:36:26 Philipp Kempgen wrote:
> Tzafrir Cohen schrieb:
> > How useful are the equivalent safe_asterisk scripts?
>
> There's no real reason to treat asterisk differently but then again
> I haven't seen Apache or MySQL crash very often but I did see some
> versions of Asterisk crash more often than it was acceptable.
> (Seems to be better now.)

Interesting, since safe_asterisk is modeled directly after safe_mysqld.

Modeled after, maybe. In practice safe_asterisk doesn't work well.

It's just too easy for the underlying Asterisk to get in a respawn loop.
It's just too easy for two safe_asterisk-s to run along-side and have
undesired effects.

If you want something to watch over Asterisk: that's what runit and such
are for. For me safe_asterisk adds a whole new level of complicates
without much gain.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Users All times are GMT
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
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™