[pypy-dev] checkpointing pypy sandbox in dmtcp
Naveen Garg
naveen.garg at gmail.com
Sun May 27 17:39:52 CEST 2012
I couldn't figure out what antonio cuni was trying to do with the dmtcp
python api here:
https://bitbucket.org/antocuni/misc/src/73621b70935f/hack/checkpointing/dmtcp_sum.py
anyways,
Running the pypy interpreter in dmtcp seems to work out of the box.
This works even with the sandboxed interpreter.
I did:
1. translate the sandbox using instructions here:
http://doc.pypy.org/en/latest/sandbox.html
2. mv pypy-c ~/bin/pypy/bin/pypy-c-sandbox
bash1> dmtcp_coordinator
bash2> dmtcp_checkpoint python pypy_interact.py --tmp=myexported
~/bin/pypy/bin/pypy-c-sandbox
bash1> c<enter> # save checkpoint
bash2> <ctrl>-c # crash pypy sandbox
bash2> dmtcp_restart_script.sh # revive pypy sandbox
:) profit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120527/f877ff79/attachment.html>
More information about the pypy-dev
mailing list