VM freeze and crash when saving

Florian Minjat florian.minjat at emn.fr
Thu Apr 5 15:24:39 UTC 2007


David T. Lewis wrote:
> Florian,
> 
> I cannot help with the actual problem you are having, but I can
> suggest a workaround to prevent the production image getting hung.
> If you do your saves in a forked background image, the production
> image should keep running even if the background image hangs. You
> will still need to monitor the system and kill the hung images
> when it happens, but at least the production image could keep
> running. Actually, you could have the production image keep track
> of the forked image, and terminate it after a minute or so if it
> has not yet exited; that way you would not need to monitor it
> manually.
> 
> See UnixProcess class>>saveImageInBackground:nice: for an example
> of how to do it. This is in OSProcess (on SqueakMap).
> 
> HTH,
> Dave

I tried to do a 'UnixProcess saveBackgroundImageNicely' on my prod 
server, but nothing append. It returned an instance of UnixProcess 
with pid of -1 which is weird.
Am I missing something ?

Florian



More information about the Squeak-dev mailing list