Re:Snappy-start: Tool for launching a Linux process from a s...
by xyzzy123 on Wednesday July 22, 2015 @09:37AM
(#9929523)
It's a cool hack, but only useful for fast startup just at this point. It can't do network sockets (for obvious reasons), or things like gettimeofday or even fds just now.
Reminds me of a Lisp image dump.
Re:Snappy-start: Tool for launching a Linux process from a s...
by sanxiyn on Wednesday July 22, 2015 @10:08AM
(#9929708)
If you want a debugging tool, try http://rr-project.org/
Re:Snappy-start: Tool for launching a Linux process from a s...
by mateuszf on Wednesday July 22, 2015 @10:33AM
(#9929846)
I'd imagine that it has some overhead. So running it on production all the time would not make much sense. Because sometimes restarting a process makes it very hard to reproduce the bug.
But snasphost / restore would handle that case. The problem is - what to do with file / network descriptors?
Re:Snappy-start: Tool for launching a Linux process from a s...
by stcredzero on Wednesday July 22, 2015 @12:44PM
(#9930716)
Lots of Smalltalk production systems did exactly this. One could also log into running production systems and inspect live objects.
Trace while running, take a snapshot when there's something wrong