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.

https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/bin-src/dspaceBatch.sh

Terry



On Tue, May 20, 2014 at 1:33 AM, Alan Orth <alan.o...@gmail.com> wrote:

> Hi,
>
> I'm curious if anyone sets memory limits for DSpace's various cron jobs?
>
> Lately we've been having Tomcat's java process get killed every morning
> around the same time, and all dmesg shows is that "java" was killed by
> the kernel's OOM killer.  Catalina logs don't show any "SEVERE" errors,
> so I have to assume it's the cron jobs which are using up loads of
> memory and then confusing the kernel, which then identifies Tomcat's
> java as the memory hog and kills it.
>
> So I'm just curious if anyone has had these kinds of problems, and
> if/what they set their JAVA_OPTS to in crontab.
>
> The long term plan of course is to move to a machine with more memory
> (currently 4GB).
>
> Thanks,
>
> DSpace version is 3.1, OS is Ubuntu 12.04.
>
> --
> Alan Orth
> alan.o...@gmail.com
> http://alaninkenya.org
> http://mjanja.co.ke
> "I have always wished for my computer to be as easy to use as my
> telephone; my wish has come true because I can no longer figure out how
> to use my telephone." -Bjarne Stroustrup, inventor of C++
> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to