Remember the "-server" which for Java webapps or dedicated Java services
will improve things.
Guido.
On 11/10/13 12:26, Peter Schmidt wrote:
I can report that jetty is running now with this options:
JAVA_OPTIONS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms256m
-Xmx256m -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:+OptimizeStringConcat
-XX:+UseStringCache -Dsolr.solr.home=/usr/share/solr $JAVA_OPTIONS"
@Guido: I reduced the min/max heap size to 256m, i will increase this on
production server.
2013/10/11 Peter Schmidt <peter.schmidt0...@gmail.com>
So the main problem was that the libs must be copied to the WEB-INF/lib
directory insteed of the jetty lib/ext directory. Is the fact that you
should you use WEB-INF/lib somewhere documented?
2013/10/11 Peter Schmidt <peter.schmidt0...@gmail.com>
Not so hard switching it to Oracle JDK 7u40.
Just download it and change the JAVA_HOME path in /etc/default/jetty, so
it's not nescessary to switch java version with update-java-alternatives
The machine is 64bit :)
2013/10/11 Bill Bell <billnb...@gmail.com>
Does this work ?
I can suggest -XX:-UseLoopPredicate to switch off predicates.
???
Which version of 7 is recommended ?
Bill Bell
Sent from mobile
On Oct 10, 2013, at 11:29 AM, "Smiley, David W." <dsmi...@mitre.org>
wrote:
*Don't* use JDK 7u40, it's been known to cause index corruption and
SIGSEGV faults with Lucene: LUCENE-5212 This has not been unnoticed
by
Oracle.
~ David
On 10/10/13 12:34 PM, "Guido Medina" <guido.med...@temetra.com>
wrote:
2. Java version: There are huges performance winning between Java 5, 6
and 7; we use Oracle JDK 7u40.