[Asterisk-Users] Asterisk Restart after crash

Craig Guy cguy at bigpond.net.au
Fri Apr 22 22:24:45 MST 2005


I haven't seen any of that behaviour on my system.  If it makes any
difference I run asterisk as a non root user.

Craig

----- Original Message ----- 
From: "Guido Hecken" <guido.hecken at gwsnettech.de>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Friday, April 22, 2005 11:18 PM
Subject: RE: [Asterisk-Users] Asterisk Restart after crash


>
> > In your asterisk in init.d that calls safe_asterisk change this:
> ...
>
> >         fi
> >         $DAEMON $ASTARGS
> >         RETVAL=$?
> >         [ $RETVAL -eq 0 ] && touch /var/lock/subsys/asterisk
> >         echo
> >         return $RETVAL
> > }
> >
> > ie remove 'daemon' from the command.
>
> After applying the change to the init script, it seems to restart the
> asterisk processes which get killed, but do you have a functional system
> with this?
> Our Testsystem spits out some '100% CPU-Loaded mpg123 processes' and
> asterisk was somehow dead.
> Did I miss something?
>
> > Test it by kill -9 asterisk pid and see if it restarts - it is quite
> > aggressive.
> Yeah, really aggressive ;-)
>
> Guido Hecken
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list