Re: [RFC] --disable-panics configuration option

Aarno Syvänen <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
There actually seems to two kinds of panic:

a) Configuration errors. In this case, continuation really is 
impossible.
b) Libs has some sanity checks that cause panic. If we just have a 
broken
      message, we must just ignore message, not panic.

Aarno

On 16.3.2005, at 15:02, Pommnitz, Jörg wrote:

> Uhh, isn't a panic supposed to be a condition where there is no
> recovery? Restarting Kannel might be a better option for production use
> than a system with an untrustworthy internal state.
> To propose an alternative: How about auditing all panics to make sure
> they really represent a condition with no way out opposed to just
> a programmer too lazy to unwind a complicated code flow?
>
> Regards
>   Joerg
>
> -----Ursprüngliche Nachricht-----
> Von: Aarno Syvänen [mailto:[email protected]]
> Gesendet: Mittwoch, 16. März 2005 14:57
> An: Kannel list
> Betreff: [RFC] --disable-panics configuration option
>
>
> Hi List,
>
> can we add --disable-panics configuration option ? it would mean
> that Kannel would log panic level error, but would not exit. This
> would be very good for production use.
>
> In addition, I think that --with-defaults options other than debug
> should disable panics too.
>
> Aarno
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.