Saving a headless image in linux problem

Sebastian Sastre ssastre at seaswork.com
Tue Mar 20 21:48:12 UTC 2007


> -----Mensaje original-----
> De: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] En 
> nombre de Brad Fuller
> Enviado el: Martes, 20 de Marzo de 2007 17:36
> Para: The general-purpose Squeak developers list
> Asunto: Re: Saving a headless image in linux problem
> 
> Sebastian Sastre wrote:
> > Hi there,
> >  
> >     I'm using a headless squeak image for production and it 
> happens to 
> > me that if I save it, is for sure that it will not be 
> stable anymore.
> >  
> > # squeak -version
> > 3.9-8 #5 Tue Oct 10 11:56:09 PDT 2006 gcc 4.0.3 Squeak3.9alpha of 4 
> > July 2005 [latest update: #7021] Linux ubuntu 2.6.15-27-386 
> #1 PREEMPT 
> > Sat Sep 16 01:51:59 UTC 2006
> > i686 GNU/Linux
> > default plugin location: /usr/local/lib/squeak/3.9-8/*.so
> You might first use the 3.9 final version image.

The image for that service is based on a Squeak3.9-final-7067.image I think
that the one right?

> 
> Many use vnc to tap into the image (you must install RFB into your
> image) and I've never had a problem remotely saving the image 
> running as headless. Have you tried vnc/rfb?
> 

I didn't tried those. Perhaps I will but right now I was trying to not make
it manually. I have a script to start and stop the service. For stop I can
send a SIGTERM or a SIGQUIT. With OSProcess I have in the image aProductor
object that catches the OS signals and quit the image with or without saving
depending on the signal sent.

Right now I'm not counting with an image save of this kind. I use
ImageSegments for that. Right now I'm thinking about it as a guarantee of
the stability of the service/image.

It could be an interesting feature anyway.

Cheers,

Sebastian




More information about the Squeak-dev mailing list