----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I am having a problem with my JVM
It will all of a sudden jump to 50% CPU usage and then to 100%
Then strange things start happening.

I am running on NT4 SP6a. Jserv 1.1.1, Apache 1.3.12 SUN - JDK1.1.8
on a dual P II 450 mhz with 256 ram.
My Prop file is running java -ms32m -mx64m -verbosegc

I have found nothing in the Apache or Jserv logs to correlate
to these CPU jumps. I had a look at the GC info and
I am finding the following excerpt spread through my error.log:

<GC: freed 118443 objects, 11878952 bytes in 125 ms, 59% free
(16019280/26843544)>
  <GC: init&scan: 7 ms, scan handles: 74 ms, sweep: 44 ms, compact: 0 ms>
[Loaded sun/io/ByteToCharISO8859_1.class from
c:\jdk1.1.8\bin\..\lib\classes.zip]
[Loaded sun/awt/EmbeddedFrame.class from c:\jdk1.1.8\bin\..\lib\classes.zip]
<GC: managing allocation failure: need 45672 bytes, type=1, action=1>
<GC: 688906 milliseconds since last GC>
<GC: freeing class sun.awt.EmbeddedFrame>
<GC: freeing class sun.io.ByteToCharISO8859_1>
<GC: unloaded and freed 2 classes>
<GC: freed 98615 objects, 11703136 bytes in 125 ms, 53% free
(14399216/26843544)>
<GC: init&scan: 7 ms, scan handles: 74 ms, sweep: 44 ms, compact: 0 ms>
[Loaded sun/io/ByteToCharISO8859_1.class from
c:\jdk1.1.8\bin\..\lib\classes.zip]
[Loaded sun/awt/EmbeddedFrame.class from c:\jdk1.1.8\bin\..\lib\classes.zip]
<GC: managing allocation failure: need 8200 bytes, type=1, action=1>
<GC: 700688 milliseconds since last GC>
<GC: freeing class sun.awt.EmbeddedFrame>
<GC: freeing class sun.io.ByteToCharISO8859_1>
<GC: unloaded and freed 2 classes>
<GC: freed 80984 objects, 10783856 bytes in 121 ms, 53% free
(14283656/26843544)>
<GC: init&scan: 8 ms, scan handles: 73 ms, sweep: 40 ms, compact: 0 ms>
[Loaded sun/io/ByteToCharISO8859_1.class from
c:\jdk1.1.8\bin\..\lib\classes.zip]
[Loaded sun/awt/EmbeddedFrame.class from c:\jdk1.1.8\bin\..\lib\classes.zip]

My understanding of this is that it has topped at 26.843m and has
to free up heap. Why? if I have -mx64m  set?

Why is it always the same two classes that get removed and inserted?

Could this be the reason for the CPU jumps?

Sould I change my JVM settings?  Like just -mx32m (no -ms)?

Thanks, Don



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to