Re: Hybernation and running applications



Arnold Weber wrote:

That would depend on the program (which software are you using?) but I
would expect not. Have you looked at the software documentation to see
if it can handle hibernation?

Huh? Of course it will continue. Hibernation simply stops _everything_,
then saves the state of memory. When it resumes, it restores memory and
starts again. If hibernation works at all, _all_ programs have to work.


It will work for _almost_ all programs. Troubling are programs that rely
on stable network connections (like instant messengers) or programs that
are getting confused if time jumps ahead a few hours at once while running
(but i don't know an example for this category)

Do you have an example in any category? An IM program should simply tell
you it lost the network connection - which it did - but it would be a
pretty poor network app that couldn't properly handle a lost network
connection. The network does get taken down during hibernation (at least
the standard version - I'm not sure about swsusp).

Programs shouldn't have a problem with the time skipping ahead - as Florian
put it, it's just as if it took a very long time to get a time slice.
Programs _do_ frequently react to the time going _backwards_ because that
can mean duplicate timestamps. Dovecot is one app that I use that
automatically terminates its daemon if the time goes backwards by too much
(if it's just a few seconds, it sleeps until the clock catches up). This
actually did cause a problem with hibernation, because my clock actually
gains time when powered off, and network restart runs ntpdate to reset it,
but the solution was simply to ensure that I slewed the time in manageable
steps.
--
derek


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: network-drive readonly issue
    ... first tweak was already been done; the network card wasn't ... hibernate all connections to network files are also lost and there seems no ... And when the users comes back from hibernation the file becomes un-saveble ...
    (microsoft.public.windowsxp.network_web)
  • Restoring network connections after hibernation
    ... On my laptop I typically map several network drives to various directories on ... as well as mapping the printer. ... the Startup folder do not run after waking up from hibernation. ... place I can trigger a script to run to re-establish the network connections ...
    (microsoft.public.win32.programmer.ui)
  • Help related to socket creation in kernel space
    ... My project is hibernation in network ... Existing utility of hibernation using ... "swsusp.c" does not support ping operation or any ... creation of socket and write kernel level network ...
    (Linux-Kernel)
  • Re: Fixed IP disappears from "computers near me"??
    ... The hibernation shouldn't be an issue. ... your router setup. ... Maybe the lease time is too short. ... there are some problems with the master browser service on your network. ...
    (microsoft.public.win2000.networking)
  • Re: XP Slow after disconnecting from domain
    ... When i leave the office i generally put the notbok to hibernation. ... restarting the network adapter has no effect. ... have "ipconfig /all", which gives a picture of the IP configuration. ... "browstat status" identifies the Windows Networking components which allow ...
    (microsoft.public.windowsxp.network_web)