Pierre Baillet <[EMAIL PROTECTED]> wrote: > Hi, > > just as Stephan stated, I have the exactly same behaviour when starting > the swiki. This startup time seems necessary for the smalltalk vm to > start well and the swiki is almost unreachable during that time. Then > the CPU usage drops and everything runs correctly... >
Guys, I run a Swiki on Linux with 0% CPU when idle. There was a bug with headless and Squeak that was tickled on Unix. It goes something like this: even in headless mode, Squeak believes it has a screen to draw on; on Unix, the screen is of size 16x16, and there is a bug somewhere in Squeak that doesn't cope well with such a small screen. I believe the SourceForge VM will use the size of the last real screen, instead of 16x16, and so the effect of the bug should go away. (It would still be worht fixing the bug of course). If I've got all this right, by the way, you should be able to duplicate it by running head-ful, noting low CPU, then shrinking the Squeak window to something very small and noticing CPU go up. Anyone want to try? :) Anyway, I thought I'd toss out that the CPU usage is possible to avoid. -Lex