speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autorespawn for crashed modules


From: Trevor Saunders
Subject: autorespawn for crashed modules
Date: Tue, 5 Oct 2010 13:20:21 -0400

> /* Pseudo code */
> if ((number_of_crashes / ten_seconds) > 5); then
>  kill_module(); replace_by_alternative_module();
> else
>  respawn_module();
> endif
> 
> This would honour both cases, unstable (proprietary?) modules that
> occasionally need an automatic respawn, as well as completely
> non-functioning ones that must be removed if non-starting.

waht about something like this?

if(cur_time - started_time > 3 minutes) restart_module()
else replace_with_next_module();

Trev

> 
> It would surely increase the overall stability feeling of sd.
> 
> Regards
> -Klaus
> 
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101005/a6cdfbf8/attachment.pgp>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]