Rebooting Leap-second Lapses

Hmmm…

“Whatever the cause, the bug disrupted the Saturday evenings of many a system administrator. On the Time-Nuts mailing list, one admin reported spending the evening rebooting hundreds of servers.”

If you ever need to reboot hundreds of GNU/Linux servers, please have sshd running on them and have a list…
for f in able baker charlie delta echo fox;do ssh root@$f "shutdown -r now"&exit
will do the trick. Be sure you have passwordless login as root enabled by distributing the public key for root to all the machines. Your controlling machine will start 2N processes (one on your machine and one on the target) that connect between machines and reboot the targets. After a decent interval you can run another similar script to check that everyone is up again.
for f in able baker charlie delta echo fox;do ping -c 1 $f $2> /dev/null||echo $f unreachable;done What could be simpler? You get the evening off. Isn’t GNU/Linux grand?

I recommend Debian GNU/Linux. It works for you.

Linux is culprit in leap-second lapses: Cassandra exec – PC Advisor.

- Robert Pogson

6 Responses to “Rebooting Leap-second Lapses”


  1. 1 Phenom Jul 16th, 2012 at 2:00 am

    And you dare speak of “constant re-reboots”…

  2. 2 Robert Pogson Jul 16th, 2012 at 6:33 am

    Phenom wrote, “And you dare speak of “constant re-reboots”…”

    No. I write of re-re-reboots… A re-boot once every few years is no problem compared to every few weeks. I once had a machine running XP as a thin client insist on a re-boot in the middle of a class. I migrated it to GNU/Linux with extreme prejudice later in the day.

  3. 3 Phenom Jul 16th, 2012 at 8:58 am

    “A re-boot once every few years is no problem compared to every few weeks.”

    Who cares, Pogson. I do know that Google, for example, re-boot their Linux servers every couple of hours on a scheduled sequence, so that only some are rebooting at a time. And I do know this from an engineer at Google. The reason they do it is to eliminate memory leaks, memory fragmentation and resource leaks that certain Java services do.

    I’ve also had a system to deal with, where we had the server reboot every midnight due to memory fragmentation stuff of an old Win32-based native application server. Its architecture couldn’t handle well the latest extensions to the systems, combined with the increased scale out of the original specifications.

    No one cares about reboots, Pogson. No one, but you and a few others in Loonland.

  4. 4 Robert Pogson Jul 16th, 2012 at 9:18 am

    Phenom wrote, “No one cares about reboots, Pogson. No one, but you and a few others in Loonland.”

    There is a huge difference between scheduled reboots and reboots required by a third party. People want IT that works for them.

    There are millions of comments on the web about rebooting that other OS. e.g.:
    “Windows restarts without warning.

    Cause

    This issue could be caused by any of the below possibilities.

    Software issue or error.
    Hardware issue or error.
    Heat related issue.
    Computer virus.
    Issue with operating system.”

    Most of those causes are foreign to GNU/Linux users.

  5. 5 Phenom Jul 16th, 2012 at 9:55 am

    Pogson, reboots for Windows updates have been scheduled for the last 8 or so years, I am afraid. Please get an update. ;-)

    “Hardware issue or error.
    Heat related issue”

    Now please don’t tell me Linux users are safe from these two.

  6. 6 Robert Pogson Jul 16th, 2012 at 10:21 am

    Phenom wrote, “reboots for Windows updates have been scheduled for the last 8 or so years”.

    It was in 2010 that XP told me it was going to reboot in 15 minutes, ready or not. It may have thought I was not using the system because I was logged into my terminal server but that does not excuse interrupting my lecture with a pop-up.

    Others have had the same thing happen.

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




Archives by Month

My Mission

My observations and opinions about IT are based on 40 years of use in science and technology and lately, in education. I like IT that is fast, cost-effective and reliable. I do not care whether my solution is the same as yours. I like to think for myself.

My first use of GNU/Linux in 2001 was so remarkably better than what I had been using, I feel it is important work to share GNU/Linux with the world. I have been blessed by working in schools where students and school systems have benefited by good, modular software easily installed in most systems.

I have shown GNU/Linux to thousands of students and hundreds of teachers over the years and will continue in some way doing that until I die in spite of the opposition.

Posts

    Writing

    3433 articles
    30632 comments

      Comments

      platforms
      linux 17494
      windows 12777
      macos 206
      sun 3
      wp 2

      browsers
      firefox 23944 
      safari 11873 
      chrome 11725 
      ie 4643 
      iceweasel 4274 
      opera 1641 
      konqueror 198 
      netnewswire 14 
      epiphany 2 
      flock 0 
      bonecho 0 
      lynx 0 

Bad Behavior has blocked 6550 access attempts in the last 7 days.