BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] automatic daemon restarts
- Subject: [Discuss] automatic daemon restarts
- From: jay at lentecs.com (Jason Normand)
- Date: Tue, 16 Sep 2014 09:12:08 -0400
- In-reply-to: <ebe8a1abe2c842d5b9f78788750e4307@CO2PR04MB684.namprd04.prod.outlook.com>
- References: <5411058F.6010208@gmail.com> <li6a9669ml8.fsf@panix5.panix.com> <CAAbKA3UY2m42=Uzd=3FHfsskkTXfEzYq-qWf9DfA7y1P7QAOYQ@mail.gmail.com> <li67g184ybi.fsf@panix5.panix.com> <746ca932f9f04b02a7d1e57db3ec9b69@CO2PR04MB684.namprd04.prod.outlook.com> <5417215A.4020104@gmail.com> <541748EA.80201@gmail.com> <ebe8a1abe2c842d5b9f78788750e4307@CO2PR04MB684.namprd04.prod.outlook.com>
like in many things, it depends on the application. we recently were considering doing the same thing with the puppet agent. The agent will occasionally get "stuck" due to network errors and require a restart. This is really a bug in the application, but a fix is not expected any time soon. in this case simply restarting the client daemon will cause no harm to the system. In the case of critical application such as a databases, restarting may not be the correct solution. this also assuming the monitoring and restart system is intelligent enough to not fall into a rapid fail restart loop. On Tue, Sep 16, 2014 at 7:42 AM, Edward Ned Harvey (blu) <blu at nedharvey.com> wrote: > > From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss- > > bounces+blu=nedharvey.com at blu.org] On Behalf Of Tom Metro > > > > Richard Pieri wrote: > > > Edward Ned Harvey (blu) wrote: > > >> An active system will notice mysqld died, recognize that it's not > > >> supposed to do that right now, and restart it. > > > > > > Which is a stupid way to run in production. There's a reason why the > > > daemon died. That reason needs to be identified so that corrective > steps > > > can be taken. Blind restarts can obfuscate this information, can cause > > > damage to data, and can exacerbate existing damage. > > > > Not to say your points are invalid, but Netflix would disagree with you. > > They created a testing tool that intentionally kills random services on > > their production systems just to test that automated recovery works > > correctly. > > I would rather receive notification that a production service was > *restarted* rather than *is down* > > Richard wants to say that's stupid. I not only disagree, I think > Richard's position is insulting and ignorantly one-sided. > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://lists.blu.org/mailman/listinfo/discuss >
- Follow-Ups:
- [Discuss] automatic daemon restarts
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] automatic daemon restarts
- References:
- [Discuss] SysVinit vs. systemd
- From: tmetro+blu at gmail.com (Tom Metro)
- [Discuss] SysVinit vs. systemd
- From: smallm at panix.com (Mike Small)
- [Discuss] SysVinit vs. systemd
- From: bill.n1vux at gmail.com (Bill Ricker)
- [Discuss] SysVinit vs. systemd
- From: smallm at panix.com (Mike Small)
- [Discuss] SysVinit vs. systemd
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] SysVinit vs. systemd
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] automatic daemon restarts
- From: tmetro+blu at gmail.com (Tom Metro)
- [Discuss] automatic daemon restarts
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] SysVinit vs. systemd
- Prev by Date: [Discuss] automatic daemon restarts
- Next by Date: [Discuss] automatic daemon restarts
- Previous by thread: [Discuss] automatic daemon restarts
- Next by thread: [Discuss] automatic daemon restarts
- Index(es):