On Wed, 15 Oct 2008 at 07:49AM -0700, Robert Bradshaw wrote:
> I'd imagine with appropriate ulimits and multiple virtual servers,
> something could be set up such that anything that accidentally (or
> maliciously) happens on one server would only kill that one, and only
> until it is freshly reset (say, a after a given number of hours).

With virtual machines, this is easy: the server runs as a guest virtual
machine with a network port on the host forwarded to the guest. Every
two hours (or whatever), the host runs `kill -9' on the guest -- which
is about the same as pulling the plug -- and restarts the guest from a
snapshot. I'm reasonably certain this could be done from a cron job with
VirtualBox (which is what I use); I'm guessing the other virtualization
setups (KVM, Xen, VMWare) can do it too.

Dan

-- 
---  Dan Drake <[EMAIL PROTECTED]>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to