Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


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

[Discuss] automatic daemon restarts



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.

 -Tom

-- 
Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."
http://www.theperlshop.com/



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org