Re: [Dspace-tech] JAVA_OPTS for cron jobs?

2014-05-30 Thread Alan Orth
Peter, Ahh, that's very interesting. I just looked up the -server flag and it seems on recent Sun/Oracle JVMs -server is implied on 64-bit Linux platforms[0]. It seems my problem was the fact that heuristics used by the OOM killer were killing Tomcat's java instead of whatever filter-media, etc

Re: [Dspace-tech] JAVA_OPTS for cron jobs?

2014-05-30 Thread Peter Dietz
My hammer java_opts on our production server, for when some site has crazy big content is to temporarily run it with: JAVA_OPTS=-server -Xms256m -Xmx4g -XX:MaxPermSize=256m We have 64GB ram on our boxes, so we'll survive. Not to derail onto a tangent, but one thing I'd like to see DSpace

Re: [Dspace-tech] JAVA_OPTS for cron jobs?

2014-05-30 Thread Alan Orth
Peter, A queue would be awesome. You're absolutely right regarding the cron jobs; it's almost like you need to set a weekly reminder to go check the execution times of your DSpace maintenance cron jobs to make sure they're all completing and not running at the same time. :) I find that I tweak

Re: [Dspace-tech] JAVA_OPTS for cron jobs?

2014-05-27 Thread Terry Brady
Alan, We override JAVA_OPTS for the nightly filter-media task in our cron. export JAVA_OPTS=-Xmx1200m;dspace filter-media ... We have a set of automated ingest tools. We set JAVA_OPTS in some of the workflows that are run by those tools.