[Building Sakai] sakai configuration / swap space
Jon Wheat
jwheat at messiah.edu
Mon Jun 7 12:04:52 PDT 2010
This continues to be a thorn in my side. I'm not sure what I've done to cause this, but my box keeps crashing with an "Out of Swap space?" message. I have to reboot it to get it started again. Its gone down 5 times this weekend. I rebooted it again this morning at 5:45 (planned) to possibly get it through the day, but alas it crashed a little bit ago.
It is a VMWare box, with 4GB RAM and 72GB HD. There is a 4GB swap partition.
I have this in /tomcat/bin/setenv.sh
JAVA_OPTS="-server -XX:+UseParallelGC -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=256m -Djava.awt.headless=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false"
export JAVA_OPTS
I just now added the -Xms1024m (which was missing before) and upon suggestion from a JAVA guy, changed the MaxPermSize from 512 to 256 to match the PermSize, so we'll see if those changes help.
I think over the weekend, I've tried a bunch of different things with this file, so I've tried many different settings. I actually do not think the VMWare box is configured for multiple processors, so I think maybe that UseParallelGC should go?
any advice would be greatly appreciated, I feel like this is a dark art - and I'm far from being a warlock.
-Jon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..:: I've learned that 'impossible' is a perception based on your skills.
Jonathan Wheat / Developer
Luminis Developers Network
Messiah College, ITS
717.766.2511 x3385
LDN - Luminis Developer Network - http://www.lumdev.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the sakai-dev
mailing list