[Swazoo] Squeak issue ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Swazoo] Squeak issue ?

Nicolas Petton
Hi,

On VisualWorks, when Swazoo is running, if I save & quit the image and
restart it, Swazoo is still running. On Squeak, When I restart the
image, I've got a Socket process which uses 100% of CPU, and Swazoo is
not running anymore. It happens with Squeak 3.8, 3.9 and 3.10 beta.

If I stop swazoo, restart Squeak, and then start Swazoo there is no
problem. Did anyone notice this ? Should I consider reinstalling my VM ?

Well, I' not sure it's a Swazoo issue, it may be Squeak, Sport or
Aida... I didn't find where the problem is.

So, I had to add Swazoo to the SystemDictionary StartUpList and
ShutDownList:

SwazooServer class>>startUp
    self start

SwazooServer class>>shutDown
    self stop


Smalltalk addToStartUpList: SwazooServer.
Smalltalk addToShutDownList: SwazooServer

I know, it's a hack and it's uggly.

regards,

Nicolas

--
Nicolas Petton
http://nico.bioskop.fr
             ___
           ooooooo
          OOOOOOOOO
         |Smalltalk|
          OOOOOOOOO
           ooooooo
            \   /
             [|]
--------------------------------
Ma cl? GPG est disponible ici :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D

-------------- section suivante --------------
Une pi?ce jointe non texte a ?t? nettoy?e...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message
        =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071023/1fc35b46/attachment.sig 

Reply | Threaded
Open this post in threaded view
|

[Swazoo] Squeak issue ?

Michael Rueger-6
nicolas petton wrote:
> Hi,
>
> On VisualWorks, when Swazoo is running, if I save & quit the image and
> restart it, Swazoo is still running. On Squeak, When I restart the
> image, I've got a Socket process which uses 100% of CPU, and Swazoo is
> not running anymore. It happens with Squeak 3.8, 3.9 and 3.10 beta.

Might that be related to the Delay and Semaphore problems that were
recently discussed (patches supplied for) on the Squeak list?

Michael

Reply | Threaded
Open this post in threaded view
|

[Swazoo] Squeak issue ?

Nicolas Petton

Le mardi 23 octobre 2007 ? 16:57 +0200, Michael Rueger a ?crit :

> nicolas petton wrote:
> > Hi,
> >
> > On VisualWorks, when Swazoo is running, if I save & quit the image and
> > restart it, Swazoo is still running. On Squeak, When I restart the
> > image, I've got a Socket process which uses 100% of CPU, and Swazoo is
> > not running anymore. It happens with Squeak 3.8, 3.9 and 3.10 beta.
>
> Might that be related to the Delay and Semaphore problems that were
> recently discussed (patches supplied for) on the Squeak list?

Maybe. I applied the patch proposed by Andreas Raab, but it didn't
change anything.

Nicolas
>
> Michael
> _______________________________________________
> Aida mailing list
> Aida at aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
--
Nicolas Petton
http://nico.bioskop.fr
             ___
           ooooooo
          OOOOOOOOO
         |Smalltalk|
          OOOOOOOOO
           ooooooo
            \   /
             [|]
--------------------------------
Ma cl? GPG est disponible ici :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D

-------------- section suivante --------------
Une pi?ce jointe non texte a ?t? nettoy?e...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message
        =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071023/3bcdd64f/attachment.sig 

Reply | Threaded
Open this post in threaded view
|

[Swazoo] Squeak issue ?

Janko Mivšek
In reply to this post by Nicolas Petton
Hi Nicolas,

Please load latest Sport-2.031 and Swazoo-2.0.3, which includes a patch
actually very similar to yours. On both Squeak and VW.

In short, Swazoo is stopped before shutdown and restarted automatically
at image startup.

Best regards
Janko

nicolas petton wrote:

> Hi,
>
> On VisualWorks, when Swazoo is running, if I save & quit the image and
> restart it, Swazoo is still running. On Squeak, When I restart the
> image, I've got a Socket process which uses 100% of CPU, and Swazoo is
> not running anymore. It happens with Squeak 3.8, 3.9 and 3.10 beta.
>
> If I stop swazoo, restart Squeak, and then start Swazoo there is no
> problem. Did anyone notice this ? Should I consider reinstalling my VM ?
>
> Well, I' not sure it's a Swazoo issue, it may be Squeak, Sport or
> Aida... I didn't find where the problem is.
>
> So, I had to add Swazoo to the SystemDictionary StartUpList and
> ShutDownList:
>
> SwazooServer class>>startUp
>     self start
>
> SwazooServer class>>shutDown
>     self stop
>
>
> Smalltalk addToStartUpList: SwazooServer.
> Smalltalk addToShutDownList: SwazooServer
>
> I know, it's a hack and it's uggly.
>
> regards,
>
> Nicolas
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si