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
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
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
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.
4 matches
Mail list logo