Hi Knut,
Thanks a lot for the feed back.
When you say "If your app was faster you would see fewer threads and
hence less memory used. " are you thinking we need to make our app. more
efficient or throw some CPU power at it?
Thanks,
Keith
On 10/30/2012 11:11 AM, Knut Forkalsrud wrote:
The max heap (set with the -Xmx parameter) is shared between all
generations, with
the typical Sun/Oracle JVM that is eden, survivor, tenured and
permanent generations.
The JVM usually does a pretty good job at adjusting the individual
sizes according to
how much garbage your app produces.
I think 2097M out of 3000M is quite reasonable for the tenured
generation. You may need
to give it more memory. Is it conceivable that your app has a
resource leak? If so you may
be able to get in shape for a while by restarting it. The thread
count warnings may indicate
that a lot of your memory is going to call stacks for the threads. If
your app was faster you
would see fewer threads and hence less memory used.
If you really want to get into tuning the memory/GC settings there is
http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html to
guide you,
but I don't recommend that.
Knut Forkalsrud
On Tue, Oct 30, 2012 at 10:14 AM, Keith Fetterman
<[email protected] <mailto:[email protected]>> wrote:
Hi Everyone,
I could use a little help troubleshooting some messages in my
jvm-default.log. I am seeing a lot of the following messages in our
Resin logs. We are currently running Resin 4.0.23 Pro.
> INFO com.caucho.env.health.HealthService
MemoryTenuredHealthCheck[WARNING:0.48% free (10.127M free,
2097.152M max, 2087.025M used)]
I did a bit of research this morning about adjusting tenured memory
limits, but I didn't find anything specific to adjusting the
value. Does
anyone know what property I need to adjust? I currently have the
following Java settings in my resin.xml file:
> <jvm-arg>-J-server</jvm-arg>
> <jvm-arg>-J-d64</jvm-arg>
> <jvm-arg>-Xms3000M</jvm-arg>
> <jvm-arg>-Xmx3000M</jvm-arg>
> <jvm-arg>-XX:MaxPermSize=250M</jvm-arg>
I could increase the -Xmx property, but I am wondering if there is a
better property to tweak.
I am also seeing the following warning messages:
> WARNING com.caucho.health.analysis.AnomalyAnalyzer
AnomalyAnalyzer JVM|Thread|JVM Blocked Count WARNING
> WARNING com.caucho.health.analysis.AnomalyAnalyzer
AnomalyAnalyzer JVM|Thread|JVM Runnable Count WARNING
Does anyone have some advice on how to resolve these warnings? I read
the Resin documentation, but I didn't find something specific.
Thanks for your help
Keith
--
-----------------------------------------------------------------
Keith Fetterman Direct: 206-319-9434
<tel:206-319-9434>
Mariner Supply, Inc. 206-780-5670 <tel:206-780-5670>
http://www.go2marine.com [email protected]
<mailto:[email protected]>
http://www.go2hydraulics.com
http://www.shoprvparts.com
_______________________________________________
resin-interest mailing list
[email protected] <mailto:[email protected]>
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest
--
-----------------------------------------------------------------
Keith Fetterman Direct: 206-319-9434
Mariner Supply, Inc. 206-780-5670
http://www.go2marine.com [email protected]
http://www.go2hydraulics.com
http://www.shoprvparts.com
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest