[Building Sakai] sakai configuration / swap space

D. Stuart Freeman stuart.freeman at et.gatech.edu
Mon Jun 7 13:13:42 PDT 2010


With that much memory and swap it's unlikly that you're filling the swap
partition.  You're probably hitting the ulimit bounds, check your
/etc/security/limits.conf

On Mon, Jun 07, 2010 at 03:04:52PM -0400, Jon Wheat wrote:
> 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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-- 
D. Stuart Freeman
Georgia Institute of Technology
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100607/da45a755/attachment.bin 


More information about the sakai-dev mailing list