Process Hibernation: Difference between revisions

From MemCP
Jump to navigation Jump to search
(Created page with "MemCP is a In-Memory database. In case you use the <code>memory</code> engine, there is no data stored on disk. <code>criu</code> is an OpenSource project to hibernate processes on linux on disk and restore them later (see https://criu.org/Main_Page). You can hibernate the memcp process with sudo criu dump -t [PID] -j -D [DUMP_DIRECTORY] And reactivate the process with: sudo criu restore -j -D [DUMP_DIRECTORY]")
 
(No difference)

Latest revision as of 23:07, 17 May 2024

MemCP is a In-Memory database. In case you use the memory engine, there is no data stored on disk.


criu is an OpenSource project to hibernate processes on linux on disk and restore them later (see https://criu.org/Main_Page).


You can hibernate the memcp process with

sudo criu dump -t [PID] -j -D [DUMP_DIRECTORY]

And reactivate the process with:

sudo criu restore -j -D [DUMP_DIRECTORY]