Hi All,

Our settings plus a Munin graph are available here:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05/Ubuntu-14.04#Step_5.4_Java_environment_settings_for_Tomcat_webapp_server

Cheers

hg

*Hilton Gibson*
Stellenbosch University Library
*http://staff.lib.sun.ac.za/~hgibson/about
<http://staff.lib.sun.ac.za/~hgibson/about>*


On 15 September 2015 at 14:11, Alan Orth <[email protected]> wrote:

> For reference, our DSpace has 50,000 items and runs on a server with 8GiB
> of RAM. Right now our Tomcat's JAVA_OPTS are the following:
>
> -Djava.awt.headless=true -Xms4096m -Xmx4096m -XX:MaxPermSize=256m
> -XX:+UseG1GC
>
> And I just checked our JVM heap usage from the system's munin graphs and
> it looks like we are only using 2GiB, so I'm actually wasting RAM (the OS
> could be using it for caches, but also it causes overhead for Java's
> garbage collection)! I'll adjust that to something like 3GiB next time I
> re-deploy. Also, I am using the new G1GC garbage collector (well, new in
> Java 7 several years ago) but I should perhaps switch back to the default,
> as that was a case of pre-mature optimization.
>
> Regards,
>
> Alan
>
> On Mon, Sep 14, 2015 at 4:11 PM, Francis Brouns <[email protected]>
> wrote:
>
>> Dear Alan,
>>>
>>
>> thanks for your suggestion. Indeed, 1.8G RAM is probably not enough. I
>> did not really check available RAM when setting Tomcat. It should not be a
>> problem to give the production server more than 2G RAM. That might solve
>> part of the problem.
>>
>> I'll try to run the scripts you suggest. maybe that will give a better
>> indication.
>>
>> We also will try java 7 and tomcat 7.
>>
>> kind regards,
>> Francis Brouns
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Alan Orth
> [email protected]
> https://alaninkenya.org
> https://mjanja.ch
> "In heaven all the interesting people are missing." -Friedrich Nietzsche
> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to