Click here to Skip to main content
15,886,919 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
charlieg16-Nov-23 7:54
charlieg16-Nov-23 7:54 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
jschell17-Nov-23 6:22
jschell17-Nov-23 6:22 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
BryanFazekas17-Nov-23 1:54
BryanFazekas17-Nov-23 1:54 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
dandy7217-Nov-23 3:38
dandy7217-Nov-23 3:38 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
jschell17-Nov-23 6:26
jschell17-Nov-23 6:26 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
BryanFazekas17-Nov-23 7:55
BryanFazekas17-Nov-23 7:55 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
jschell20-Nov-23 6:35
jschell20-Nov-23 6:35 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
trønderen16-Nov-23 6:33
trønderen16-Nov-23 6:33 
dandy72 wrote:
Surely server admins aren't putting up with this.
In the book by Raymond Chen, The Old New Thing (well, since the book is a selection of his blog posts, you can find it on the net as well), he tells a story about a server that had a small memory leak causing it to crash at intervals of a few days. The server had to be available 24/7, and debugging it while it was operational was not possible.

So they installed two servers, with load balancing software. When one of them was getting close to memory saturation, they trimmed the load balancer to send all new tasks to the other machine, let those jobs already on the first one run to completion, and then they could start the analysis of the memory structures. The other machine was filling up, so they had to reboot the first one, with a clean heap, and turn the load balancer the other way, to send all new jobs to the first machine, and do further debugging on the second one.

As long as they were debugging, and afterwards, fixing the software, they kept the load balancer switching jobs to alternating servers while the opposite one was rebooted. Once the software was fixed, there was no more need for two servers; the original one had alone much more capacity than needed, so the other one could be returned.

Stories like this are what makes "The Old New Thing" really worth reading. There are several of them.

(The book is from 2006, so it is somewhat 'historical' - and yet it is worth reading. So is his blog, which is updated several times a week, almost daily. For those unaware of it: Raymond Chen: The Old New Thing[^])
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
Maximilien16-Nov-23 8:10
Maximilien16-Nov-23 8:10 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
charlieg16-Nov-23 7:46
charlieg16-Nov-23 7:46 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
trønderen16-Nov-23 9:06
trønderen16-Nov-23 9:06 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
charlieg16-Nov-23 9:15
charlieg16-Nov-23 9:15 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
Jeremy Falcon16-Nov-23 10:08
professionalJeremy Falcon16-Nov-23 10:08 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
trønderen16-Nov-23 10:28
trønderen16-Nov-23 10:28 
QuestionRe: I thought it was a cardinal sin to force a server to reboot...? Pin
fgs196316-Nov-23 10:42
fgs196316-Nov-23 10:42 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
charlieg16-Nov-23 11:42
charlieg16-Nov-23 11:42 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
Peter Adam16-Nov-23 23:20
professionalPeter Adam16-Nov-23 23:20 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
dandy7217-Nov-23 3:34
dandy7217-Nov-23 3:34 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
Peter Adam17-Nov-23 4:21
professionalPeter Adam17-Nov-23 4:21 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
dandy7217-Nov-23 4:57
dandy7217-Nov-23 4:57 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
jschell17-Nov-23 6:32
jschell17-Nov-23 6:32 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
charlieg17-Nov-23 15:40
charlieg17-Nov-23 15:40 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
jschell20-Nov-23 6:33
jschell20-Nov-23 6:33 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
charlieg24-Nov-23 3:22
charlieg24-Nov-23 3:22 
GeneralRe: I thought it was a cardinal sin to force a server to reboot...? Pin
Jeremy Falcon16-Nov-23 10:04
professionalJeremy Falcon16-Nov-23 10:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.