--
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW - http://www.cfcamp.org/
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/cd4215ce-df1a-4649-9e53-02d3913719ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
As you say, lucee-inst.jar agent is used for managing recompilation of cfml templates, so if your sites templates/cfcs don't change between restarts, is it doing anything useful for you?
fwiw, we run 4.5.2 without lucee-inst, the app uses coldspring2 and is very component heavy and performance is fine, but our code does not change between restarts and we run one app per jvm.
Chris
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/e92c9281-d5d2-4316-884c-94b58e4aea2d%40googlegroups.com.
--
Could be related to your perm gen space problem. The Lucee-Inst.jar adds a Java agent to the environment that scans every class loaded, so if you have a lot of classes this could be the problem. How big is your cfclasses folders?There is a (experimental) way to reduce the size of classes by extracting text fragments out of the classes with help of a simple setting. I will look it up and let you know.
Micha
Am Sonntag, 18. Oktober 2015 schrieb Mischa Sameli :
We have an issue with lucee-inst.jar. Without having it enabled our web-contexts (about 20) start up in between 1 to 3 minutes. Having lucee-inst.jar enabled, we can wait for more than 15 minutes (high CPU usage all the time) and usually they won't start up at all.--
Some words to our environment:
- Java 1.8
- Nginx & Tomcat 8
- lucee 4.5.2
The application itself uses transferOrm, so we generate a lot of classes on the fly.
The reason why I'd like to enable it, is that we have regular crashes because of low free perm gen space.
Any ideas why lucee-inst.jar slows down startup?
Cheers
Mischa
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW - http://www.cfcamp.org/
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
--
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW - http://www.cfcamp.org/
---
You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/AyNdl8qNgKk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/32548414-fba0-4b8c-8895-de72d58e4056%40googlegroups.com.
Hi Misscha,
we have a JAVA Setting especially for centos:
export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
#! /bin/sh
# ==================================================================
CATALINA_HOME=/opt/tomcat
export CATALINA_OPTS="$CATALINA_OPTS -server"
export CATALINA_OPTS="$CATALINA_OPTS -Xms2048m"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx2048m"
export CATALINA_OPTS="$CATALINA_OPTS -Xss256k"
export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC"
export CATALINA_OPTS="$CATALINA_OPTS -XX:+ParallelRefProcEnabled"
export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxGCPauseMillis=200"
export CATALINA_OPTS="$CATALINA_OPTS -XX:InitiatingHeapOccupancyPercent=70"
export CATALINA_OPTS="$CATALINA_OPTS -XX:G1ReservePercent=15"
export CATALINA_OPTS="$CATALINA_OPTS -XX:ParallelGCThreads=20"
export CATALINA_OPTS="$CATALINA_OPTS -XX:ConcGCThreads=5"
export CATALINA_OPTS="$CATALINA_OPTS -XX:+AggressiveOpts"
export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/opt/tomcat/lucee/lucee-inst.jar"
export CATALINA_OPTS="$CATALINA_OPTS -Doracle.jdbc.J2EE13Compliant=true"
# Check for application specific parameters at startup
if [ -r "$CATALINA_BASE/bin/appenv.sh" ]; then
. "$CATALINA_BASE/bin/appenv.sh"
fi
echo "Using CATALINA_OPTS:"
for arg in $CATALINA_OPTS
do
echo ">> " $arg
done
echo ""
echo "Using JAVA_OPTS:"
for arg in $JAVA_OPTS
do
echo ">> " $arg
done
echo "_______________________________________________"
echo ""
Michael Heel
CONTENS Software GmbH
Content Management intuitive, reliable and flexible
--
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW -
http://www.cfcamp.org/
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/e587fb5e-3229-4b54-acae-eadecb0d25b9%40googlegroups.com.
mknod -m 644 /dev/urandom c 1 9
chown root:root /dev/random /dev/urandom
#/bin/bash!
###
if [ -f /var/random-seed ]; then cat /var/random-seed >/dev/urandom fi dd if=/dev/urandom of=/var/random-seed count=1