Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 11:23:43 +0200
From:      Bernd Walter <ticso@cicely5.cicely.de>
To:        Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
Cc:        ticso@cicely.de, freebsd-questions@freebsd.org
Subject:   Re: Is it possible to store process state and then restore process
Message-ID:  <20020620092343.GU43253@cicely5.cicely.de>
In-Reply-To: <007501c21839$3caabc60$6d36120a@pm5149>
References:  <006401c21793$30721750$6d36120a@pm5149> <20020619141241.GO43253@cicely5.cicely.de.lucky.freebsd.hackers> <007501c21839$3caabc60$6d36120a@pm5149>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 20, 2002 at 12:02:42PM +0300, Andrey Simonenko wrote:
> 
> ----- Original Message ----- 
> From: "Bernd Walter" <ticso@cicely5.cicely.de>
> Newsgroups: lucky.freebsd.hackers
> Sent: Wednesday, June 19, 2002 5:16 PM
> Subject: Re: Is it possible to store process state and then restore process
> 
> 
> > Some programms dump theirself into an obj file after initialization.
> > If you hold global resources such as filehandles, shared memory you
> > should know how they are used to make restoring them easier.
> 
> I meaned _potential_ ability of FreeBSD kernel to dump a process 
> state (image) and when it is needed to restore process image back to
> the system and restored process should continue its executing.
> I didn't mean that application's object files should be relinked
> with some special library for checkpointing and restoring or
> an application should be designed for this (any modifications to
> existing application code).
> 
> Of course it is clear for me that parent/childs relations can't
> be restored, as well as TCP connections, shared file descriptors, etc.

But that's the main problem:
You almost ever have shared filedescriptors (stdin, ...).
Such a mechanism wouldn't work without the application support unless
you build the complete support into the kernel.

You could dump core and convert the dump into an object format.
Nevertheless you have to know your application to do it in a usefull
way.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020620092343.GU43253>