[asterisk-users] two safe_asterisk processes on the same PBX???

Moises Silva moises.silva at gmail.com
Fri Sep 15 07:14:25 MST 2006


If you want to have a "safe asterisk" I would recommend using "svscan"
from daemontools package, more wonderfull software of D.J. Bernstein.

http://cr.yp.to/daemontools/svscan.html

Regards

On 9/15/06, Giorgio Incantalupo <gincantalupo at fgasoftware.com> wrote:
> Hi Julian,
> I know I have two process.....the problem is I launch only one but
> sometimes (I do not when or why) another process is launched.
> Tzafrir Cohen told me to avoid safe_asterisk..I'll think about it and
> then create my own launch script.
>
>
>
>
> Giorgio Incantalupo
>
> Julian Lyndon-Smith wrote:
> > Giorgio Incantalupo wrote:
> >> Hi Tzafrir,
> >> safe_asterisk use was encouraged on wiki pages....it has never given
> >> me crash problems or something similar....the problem I have is to
> >> have two safe_asterisk processes which causes a lot of  messages
> >> inside logs.
> >
> > This is because you already have an asterisk process running. When you
> > run safe_asterisk, it fails, and attempts to restart.
> >
> > Either
> >
> > A) asterisk -r; stop now
> > B) Kill the safe_asterisk process that is attempting to restart
> >
> >>
> >> How did you replace safe_asterisk?
> >>
> >> Giorgio.
> >>
> >>
> >> Tzafrir Cohen wrote:
> >>> On Fri, Sep 15, 2006 at 09:52:02AM +0200, Giorgio Incantalupo wrote:
> >>>
> >>>> Hi,
> >>>> I noticed sometimes I get the messages "remote unix connection"
> >>>> every 1or 2 seconds. I found that there is a second safe-asterisk
> >>>> process which is probably trying to start/connect to asterisk.
> >>>> Is there anybody who knows why (and maybe how to solve it)?
> >>>>
> >>>
> >>> I'll say this: IMHO safe_asterisk reduces stability. This is because it
> >>> can cause in illussion of asterisk being "up" whereas asterisk is
> >>> actually down.
> >>>
> >>> Is anybody actually experincing frequent crashes? daily? weekly?
> >>>
> >>>
> >>
> >> _______________________________________________
> >> --Bandwidth and Colocation provided by Easynews.com --
> >>
> >> asterisk-users mailing list
> >> To UNSUBSCRIBE or update options visit:
> >>   http://lists.digium.com/mailman/listinfo/asterisk-users
> >>
> >>
> >
> > Julian
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


-- 
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"


More information about the asterisk-users mailing list