Re: Is there a way to "suspend" a VE? [message #13558 is a reply to message #13556] |
Wed, 30 May 2007 00:04   |
kingneutron
Messages: 30 Registered: May 2007 Location: NE IL, USA
|
Member |
|
|
> freeze the running processes
...Can come in handy in some cases... But mostly I was looking for checkpoint/restore.
--If you can send a SIGSTOP equivalent to a running VE, and not have it crash due to I/O waits, this could be useful. i.e.:
o It stops processing events RIGHTNOW,
o Outstanding writes are SYNCed,
o Its filesystem is still mounted,
o It shows up in vzlist as "run-suspended", and
o What it was doing can be resumed immediately.
--This would be faster than a full suspend(checkpoint) and resume(restore).
--Equivalent to hitting ^Z (SIGSTOP) at the Bash prompt, so you can list jobs, issue "fg" and "bg" (could also resume with reduced-priority), etc. With a debugger attached to the VE, you could also look at what's it's doing at a deeper level (/proc and such like ' vzctl exec ' should still respond); but that's beyond my scope.
[Updated on: Wed, 30 May 2007 00:07] Report message to a moderator
|
|
|