Open prenit-wankhede opened 3 months ago
Please do not add the same question to multiple tickets.
Take a look at p.haul which uses pycriu: https://github.com/checkpoint-restore/p.haul/
A friendly reminder that this issue had no activity for 30 days.
When trying to use pycriu to dump a python process, it is throwing error
import os from pycriu.criu import criu
c=criu() f = os.open("dummy", os.O_DIRECTORY) c.opts.images_dir_fd = f c.use_binary("/home/ec2-user/criu/criu/criu/criu") c.dump()
python does not allow getting file descriptors for directories and then write files in that directory.
Has anyone use pycriu library and successfully dumped the process?
Please help.