Recommendations for setting up a stabe Croquet Router

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

Recommendations for setting up a stabe Croquet Router

Holz, Marc
Recommendations for setting up a stabe Croquet Router

Hi,

I started playing with setting up a non graphical Croquet router for the KAT Demo World.
I'm basically using the following script (example from Howard Stearns, taken from here https://lists.duke.edu/sympa/arc/croquet-dev/2007-02/msg00184.html )

KMessageRouter runRouters: 5910
serverName: 'everyone'
serverPassword: 'everyone'
log: false.
KHarness := KStandardHarness new
setupUser: 'everyone'
password: 'everyone'
entryWorld: WisconsinWorld
address: '127.0.0.1'
port: 5910.

The router which is basically a windows xp box freezes sometimes and I have to restart the squeak vm with the world.
I'm connecting to my router with two powerfull machines and everything works well. But sometimes the router just stops
Are there any configurable tuning settings in KAT demo or other hints where to look at ?

I had a router running on a linux box until last week. I worked quite well. But now when I start the above router code the vm crashes when trying to

connect to the router with a client KAT demo. I'm not sure where to look at. There is no different code in my world than last week. I'll post later a logfile on that crash.


Best Regards,

Marc Holz


Reply | Threaded
Open this post in threaded view
|

RE: Recommendations for setting up a stabe Croquet Router

Holz, Marc
Recommendations for setting up a stabe Croquet Router
Hi,
 
I noticed an update package 'Network-bgf.17' on the http://jabberwocky.croquetproject.org:8889/Homebase/ depository.
It seems to aim at the mystery freezing which somestime happens rwhen running a demo.
Is it recommended to install the update without the other updates ?
 
Here's the description of the update.
 

(name 'Network-bgf.17' message 'Guard against apparent low-level async IO intermittent problem:

turn the blocking socket waitForData:ifClosed:ifTimedOut:

into a soft busyloop (500ms waits),

so we recover quickly when the VM fails

to trip the data ready semaphore.

The loop logic already took premature wakeups into account;

we are merely ensuring a premature wakeup twice per second.

Not proven to eliminate the ''mystery freeze'' but pounded by multiple demons... does no obvious harm.' '

 
Greetings,
 
Marc
 
 

From: Holz, Marc
Sent: 28 Juni 2007 17:32
To: [hidden email]
Subject: [croquet-dev] Recommendations for setting up a stabe Croquet Router

Hi,

I started playing with setting up a non graphical Croquet router for the KAT Demo World.
I'm basically using the following script (example from Howard Stearns, taken from here https://lists.duke.edu/sympa/arc/croquet-dev/2007-02/msg00184.html )

KMessageRouter runRouters: 5910
serverName: 'everyone'
serverPassword: 'everyone'
log: false.
KHarness := KStandardHarness new
setupUser: 'everyone'
password: 'everyone'
entryWorld: WisconsinWorld
address: '127.0.0.1'
port: 5910.

The router which is basically a windows xp box freezes sometimes and I have to restart the squeak vm with the world.
I'm connecting to my router with two powerfull machines and everything works well. But sometimes the router just stops
Are there any configurable tuning settings in KAT demo or other hints where to look at ?

I had a router running on a linux box until last week. I worked quite well. But now when I start the above router code the vm crashes when trying to

connect to the router with a client KAT demo. I'm not sure where to look at. There is no different code in my world than last week. I'll post later a logfile on that crash.


Best Regards,

Marc Holz


Reply | Threaded
Open this post in threaded view
|

Re: Recommendations for setting up a stabe Croquet Router

Joshua Gargus-2
At a glance, it looks pretty safe.  Go for it!

In general, this isn't a good practice, especially with Croquet-specific packages.  However, an effort is made to not introduce incompatibilities when modifying base packages; the changes in Homebase should be *mostly* OK.

Josh



On Jun 28, 2007, at 2:53 PM, Holz, Marc wrote:

Hi,
 
I noticed an update package 'Network-bgf.17' on the http://jabberwocky.croquetproject.org:8889/Homebase/ depository.
It seems to aim at the mystery freezing which somestime happens rwhen running a demo.
Is it recommended to install the update without the other updates ?
 
Here's the description of the update.
 

(name 'Network-bgf.17' message 'Guard against apparent low-level async IO intermittent problem:

turn the blocking socket waitForData:ifClosed:ifTimedOut:

into a soft busyloop (500ms waits),

so we recover quickly when the VM fails

to trip the data ready semaphore.

The loop logic already took premature wakeups into account;

we are merely ensuring a premature wakeup twice per second.

Not proven to eliminate the ''mystery freeze'' but pounded by multiple demons... does no obvious harm.' '

 
Greetings,
 
Marc
 
 

From: Holz, Marc
Sent: 28 Juni 2007 17:32
To: [hidden email]
Subject: [croquet-dev] Recommendations for setting up a stabe Croquet Router

Hi,

I started playing with setting up a non graphical Croquet router for the KAT Demo World.
I'm basically using the following script (example from Howard Stearns, taken from here https://lists.duke.edu/sympa/arc/croquet-dev/2007-02/msg00184.html )

KMessageRouter runRouters: 5910
serverName: 'everyone'
serverPassword: 'everyone'
log: false.
KHarness := KStandardHarness new
setupUser: 'everyone'
password: 'everyone'
entryWorld: WisconsinWorld
address: '127.0.0.1'
port: 5910.

The router which is basically a windows xp box freezes sometimes and I have to restart the squeak vm with the world.
I'm connecting to my router with two powerfull machines and everything works well. But sometimes the router just stops
Are there any configurable tuning settings in KAT demo or other hints where to look at ?

I had a router running on a linux box until last week. I worked quite well. But now when I start the above router code the vm crashes when trying to

connect to the router with a client KAT demo. I'm not sure where to look at. There is no different code in my world than last week. I'll post later a logfile on that crash.


Best Regards,

Marc Holz