Users browsing this thread: 1 Guest(s)
z3bra
Grey Hair Nixers
I think rebooting is pretty important in a computer's life, be it a laptop, desktop or server.

I shutdown my dekstop everyday to save polar bears, and turn it back on in the morning when I use it.
For my servers, I reboot for each OpenBSD upgrade at least, and every now and then, just to make sure that everything comes back up as expected.

This last point is very important to me, especially in the era of auto-configured servers, micro-services shit and similar stuff. Rebooting your service makes sure that it is configured in a reliable and reproducible state.
When your server boots, it MUST be able to reach 100% of it's usability without any manual intervention. If it does not, it means you have a configuration problem.
When I perform "reboot tests" on my servers, I tend to reboot multiple times in a row, to make sure I'm always in a good shape and everything goes in a pretty deterministic way.

Of course, I find huge uptimes to be sexy. I used to value that a lot!
But as time goes by, I realized that my fear of rebooting was growing exponentially to the uptime.

Big uptimes used to be a proof of reliability, in a time were services were bound to the servers they were running on. Nowadays, it's fairly easy to keep a box up and running for years. All you have to do is waiting.

I think that today's true goal is to reach 99.9999% service uptime with servers rebooting every hour.

Now, all this said, the facts:

Code:
$ for host in doom apophis daemia lucy klesk bitterman; do
> ssh -n $host 'hostname; cat /BIRTHDAY; uptime'
> echo
> done
doom.z3bra.org
Tue Apr 18 06:46:04 UTC 2017
14:14:01 up  5:54,  2 users,  load average: 0.15, 0.11, 0.09

apophis.z3bra.org
Tue Jan 15 19:32:01 UTC 2019
2:14PM  up 26 days, 14:44, 1 user, load averages: 0.00, 0.00, 0.00

daemia.z3bra.org
Thu Jun 22 22:49:37 UTC 2017
2:14PM  up 21 days, 14:40, 0 users, load averages: 0.60, 0.64, 0.59

lucy.z3bra.org
Fri Dec 28 15:34:14 UTC 2018
2:14PM  up 107 days, 22:10, 0 users, load averages: 0.02, 0.02, 0.00

klesk.z3bra.org
Thu Apr 11 15:03:21 UTC 2019
2:14PM  up 6 days, 22:38, 0 users, load averages: 0.00, 0.00, 0.00

bitterman.z3bra.org
Wed Jan  2 12:59:19 UTC 2019
2:14PM  up 103 days, 20:13, 0 users, load averages: 0.00, 0.01, 0.00

Note: the above speech was mostly to justify my ridiculous uptimes :P


Messages In This Thread
To reboot or not to reboot - by venam - 18-04-2019, 01:53 AM
RE: To reboot or not to reboot - by biniar - 18-04-2019, 03:11 AM
RE: To reboot or not to reboot - by pkal - 18-04-2019, 04:42 AM
RE: To reboot or not to reboot - by jkl - 18-04-2019, 05:09 AM
RE: To reboot or not to reboot - by z3bra - 18-04-2019, 09:14 AM
RE: To reboot or not to reboot - by venam - 18-04-2019, 09:34 AM
RE: To reboot or not to reboot - by pkal - 18-04-2019, 01:32 PM
RE: To reboot or not to reboot - by movq - 18-04-2019, 01:59 PM
RE: To reboot or not to reboot - by prx* - 19-04-2019, 04:30 AM
RE: To reboot or not to reboot - by xero - 19-04-2019, 03:44 PM
RE: To reboot or not to reboot - by venam - 21-04-2019, 05:47 AM
RE: To reboot or not to reboot - by JoshuaRLi - 21-04-2019, 06:19 PM
RE: To reboot or not to reboot - by z3bra - 22-04-2019, 11:31 AM
RE: To reboot or not to reboot - by Dworin - 08-05-2019, 05:07 AM
RE: To reboot or not to reboot - by Deathbox - 19-07-2019, 07:31 AM