UNIX Process Cryogenics?
shawarma asks: "Due to a recent
power outage, I've had to shut down a server running a process that had
been running for ages calculating something. The job it was doing would
have been done in a few days, I think, but I had to shut it down before the
UPS ran out of juice. This got me thinking: Why can't I freeze down the
process and thaw it back up at a later time? It ought to be possible to take
all the connected memory pages and save them in some way, preserve file
handles and pointers, and everything. Maybe net-connections would die,
but that's understandable. Has any work been done in this field? If not,
shouldn't there be? I'd like to contribute in some way, but I think it's a bit
over my head.." Laptops have been doing this in some form for years:
most laptops, when they run out of power, or when told by the user will
go into "suspend" mode which is similar to what the poster is describing,
however outside of laptops, I haven't seen this done. Sleeping processes
also do something similar, sending their memory pages into swap so other
running processes can use the memory. What, if anything, is preventing
someone from taking this a step further?
I think that would exceed the recommended operating temperatures for your hardware. But on the up side, we might see the head (?) of your box on Futurama.. ;-)
Light cup, beer drink, thin so chain, neck turtle fat, man I won't say it again
The difference is that suspending a laptop is done using hardware, but the suspend mode in WindowsXP is done in software, so desktop PCs can do it without additional functionality.
Ewan
The job it was doing would have been done in a few days,
In that case, Arthur Dent should know the answer.
I once had an enourmous computer working out a very important question but it was destroyed by Volgons five minutes before it was finished. I feel your pain.
spacefem.com
I think the same solution would apply here: Find Arthur Dent.
Chris Kuivenhoven is a thief, beware
yea, well Vi has done it for 10's of years. :)
Creative releasing drivers that cause a bluescreen?
Who would of thought it was possible.
Rule 1 with hibernation, no creative products.
My Intel processor puts it somewhere around 41.99999999967
The answer would have been 42 once the processing was complete. So who cares? Get a bigger UPS :-)
The people of Wisconsin are fat, stupid, drunken oafs. They consider themselves "America's Dairyland", although this title was taken from them many years ago by the state of California. This is not the only false claim to fame that the state keeps. Green Bay Packers fans consider their city to be "Titletown, U.S.A.", because of the numerous NFL championships the team has won. The numbers may seem impressive, but the majority of them were won when the NFL was a small league, and there was no playoff for the championship.
Getting back to the fatness, they do produce and consume a lot of dairy, but this is not why they are called "cheeseheads". A little known fact is that most of Wisconsin's citizens are inbred, and even those that aren't inbred frequently suffer birth defects, due to maternal alcoholism. This results in a condition that produces small holes in the skull, where fluids escape and eventually congeal into small, yellow lumps, hence the term "cheesehead". Hence, the traditional Packer "cheesehead hat" is actually a symbol of Wisconsin's perseverance in the face of a world that looks down upon inbreeding.
Getting to the point, Wisconsinites _crave_ beer to feed their alcoholism, so much so that beer is an extremely valuable commodity, despite the abundance of breweries throughout the state. In fact, the Leinenkugel's brewery of Chippewa Falls goes so far as to indicate the value of its beer on the label of their original lager -- "Leinie's Original" is "Good as Gold".
So you see, we still haven't found an English word or phrase quite as good as "libre" -- "free as in beer" can be just as ambiguous as the word "free" is by itself.
GNU Emacs basically does this to reduce initialization times.
I heard about this. But, my dear boy, I do believe that VI does this better and with more cryptic keyboard commands.