On Fri, Oct 31, 2008 at 10:41 PM, Walter Dnes <[EMAIL PROTECTED]> wrote: > On Fri, Oct 31, 2008 at 01:51:58PM -0400, Joshua Murphy wrote > >> Umm... if you're hibernating to the same swap partition you're using >> when the system's live... I'm pretty sure you can't do that... even if >> everything does manage to fit, having sort out what belongs back in >> ram and what doesn't ... it's not a very sane thing to expect the >> kernel+userspace tools there to do. If I recall from last time I >> considered setting it up on my system, software hibernate needs an >> otherwise unused swap partition that's just a little bigger than the >> amount of physical ram in your system. > > Which begs the next question... howsabout if I turn swap off as part > of the hibernation process? I.e. in /etc/hibernate/hibernate.conf > include the lines... > > OnSuspend 00 swapoff /dev/sda6 > OnResume 00 swapon /dev/sda6 > > or for that matter, what's the worst that can happen if I turn off > swap alltogether, and run out of memory? Is it catastrophic, or merely > inconvenient (additional programs refuse to launch)? > > -- > Walter Dnes <[EMAIL PROTECTED]>
Well, aside from pointing toward the place where I was corrected... I *can* answer what happens when you run out of ram... or ram+swap, actually, if you have swap. It can either kill processes of its own accord or simply deny new processes and forks of old processes. The article below has a much better explanation... http://lwn.net/Articles/104179/ -- Poison [BLX] Joshua M. Murphy