I've figured out it's due to a cache memory usage problem.
Sorry, Ferg.

-Wesley

----- Original Message ----- From: "wesley" <[EMAIL PROTECTED]> To: "General Discussion for the Resin application server" <resin-interest@caucho.com>
Sent: Tuesday, March 25, 2008 9:59 AM
Subject: [Resin-interest] Snapshot 080320 consumes 100% CPU time at 64bitwindows


Hi Scott,

Today morning I switched my production website to snapshot080320. I'm
running on JDK1.6.0_04 64bit at a 64bit windows 2008 machine with two cpu
socket(both single core) and 4GB ram.

I've modified resin.conf by these options:
<jvm-arg>-Xmx1024m</jvm-arg>
<jvm-arg>-Xmx2048m</jvm-arg>
<thread-max>512</thread-max>

After some time, about half an hour, I found cpu usage jumped to 50% (run
out of one cpu) because of javaw.exe, which consumed 2048M phisical ram.

I restart resin and after half an hour or so, it happened again. I had to
revert to snapshot080305 and 32bit 1.6.0_04 jvm, and everything went ok as
the past two weeks.

The deployed webapp was absolutely identical during the migration.

Note: I use jbosscache (version 2.1.0 GA) heavily in my webapp and maybe
cache 20k objects/octal streams (more than 400M bytes) at peak.

I know it probably be my fault in code or something else, and I did not have
the same network clients condition (as the production website) to fully
profile and find the reason of bottleneck.

Any suggestion will be appreciated.

- Wesley






--------------------------------------------------------------------------------


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to