[Seaside] VM stability on UNIX

Adrian Lienhard adi at netstyle.ch
Mon Oct 24 16:08:43 UTC 2005

Hi Dmitry,

We've had problems initially with Postgres and Sockets on Debian,  
though they resulted in different errors. The solution was setting  
the -notimer argument for the vm.

Another source of problem was leaving open the Transcript window,  
which quite fast ended up locking the image (IIRC), although  
Transcript is claimed to be thread-save... Since you run headless,  
this should not be a problem, though.

Then, there is the weak WeakArray implementation. Oh, Lukas just  
wrote about this... ;-)

To get more information you could maybe hook into the vm with gdb and  
get a stack trace?

I would also try running without Squeak's RFB instead to get rid of  
one possible source of problems. I guess, that "select: Invalid  
argument" could come from there...


On Oct 24, 2005, at 3:08 PM, Dmitry Dorofeev wrote:

> Hi all,
> I have 4 squeak VM running on the same UNIX (OpenBSD) server.
> All running separate and different Seaside apps in a test mode (yet).
> First trick is to start squeak in a 'safe' way. I.e. you must use
> squeak -nodisplay -nosound -memory 64m your.image
> If you dont limit memory usage, it may eat 100% of CPU and stop  
> responding.
> Which is known UNIX VM bug as I get from the lists. Its related to  
> memory usage
> over 1Gb.
> Another problem which I have no solution for is one my squeak  
> process eats
> about 90% of CPU time to time. If I wait enough (several hours) it  
> may go normal.
> It prints to STDOUT millions of messages:
> select: Invalid argument
> It is the only app which uses MySQL. But I close MySQL connection  
> after SQL request done. So unsure if it is related to the problem.  
> Also it is app which sends emails with:
> SMTPClient
>     deliverMailFrom: m fromEmail
>     to: (Array with: e)
>     text: data
>     usingServer: 'localhost'.
> All squeaks run RFB (VNC) on a separte ports.
> Squeak version i use:
> # squeak -version
> 3.7-7 #2 Sat Sep  3 17:14:42 BST 2005 gcc 3.3.5
> Squeak3.7 of '4 September 2004' [latest update: #5989]
> OpenBSD emily.flightstore.co.uk 3.7 EMILY#5 i386
> Does anyone have similar problem with message 'select: Invalid  
> argument'
> or have any clue ?
> Thanks,
> -Dmitry Dorofeev.
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the Seaside mailing list