[OpenWrt-Devel] can netifd automatically restart a service?

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Jun 11 02:32:31 EDT 2015


In issue 574 [0] there is a big discussion of the behavior of
transmission in openwrt. To summarize it:
* By default when transmission downloads, it may crash the router due to
high memory consumption and OOB. That crash may lead to reboot or not.
* To avoid that, some memory limitations can be set (such as disabling
overcommit), and then transmission will exit, but the router would be
functional.

I think the 2nd is quite a reasonable approach as it is more important
to keep the router up and running than transmission (or any other
individual service). However, a way to reduce the impact would be for
netifd to restart transmission if crashed. Can that be done already, or
inittab is the only option?

regards,
Nikos

[0]. https://github.com/openwrt/packages/issues/574
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list