Process Hibernation

From MemCP
Revision as of 23:07, 17 May 2024 by Carli (talk | contribs) (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]")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]