Hi.
Attached you will find a new sqUnixNetwork.c file (gzipped). This has been used for at least 600 hours with one fix made to the alpha version I posted several weeks ago. The fix: when you are waitingForData and the other end closes, then we need to signal the readSemaphore, in addition to the connSemaphore, to unblock the reader. This implementation uses a state machine abstraction to ensure correct event handling at all times. It passes most of John's tests (~95%). It does not currently support UDP or SocketOptions, although that work has been done before and would be pretty easy to incorporate. I actually haven't used it with ComSwiki and the ilk but it has been used heavily with the ConnectionQueue.
I'm not aware of what changes Lex made in his Linux VM. From what I have seen and tested, this implementation passes the most networking tests on the Linux platform. It will be interesting to see how it works under WebServer load.
regards, Rob
"Jochen F. Rick" wrote:
We are running ComSwiki on both Solaris and Linux and find them very stable. In Solaris, you should increase the number of sockets that a user-run program is allowed to use from 64 to 1024. This helps stability a huge amount.
Also, you can try Lex's Unix VM, which seems to have better networking and takes care of a couple of file server problems. You can get it at http://www.prism.gatech.edu/~gt4510b/work/cs/ Squeak is the regular VM, Squeakh is the headless VM. (this is just Linux) Let me know if you need the Solaris VM.
It is unfortunate that the standard Unix VM still has networking problems.
Peace and Luck!
Je77
On Wed, Nov 08, 2000 at 09:12:00AM +0100, Stephane Ducasse wrote:
Hi
We are running a ComSwiki on Solaris with the 2.7 VM. The stability is awful. The 2.8 VM did also not really better. We want to find another platform for hosting our Swiki. There is the option of an already running Linux Server which would be easiest. However, if Squeak on Linux is not rock solid, we will go to Mac or Windows.
Does anyone have experience with Squeak and especially Swiki on Linux?
Thanks for your comments
Stephane Ducasse Matthias Rieger
Stephane DUCASSE (ducasse@iam.unibe.ch) http://www.iam.unibe.ch/~ducasse/ "if you knew today was your last day on earth, what would you do different? ... especially if, by doing something different, today might not be your last day on earth" Calvin&Hobbes
University of Bern, Institut fuer informatik and Mathematik IAM-SCG, 10 neubruckstrasse, CH-3012 Bern, Switzerland.
squeak-dev@lists.squeakfoundation.org