Ok, hung in a different place, but hung nonetheless with all of that logging
enabled:
Here is the result:

2009-09-03 15:47:11,328 INFO  [SettingsFactory] : Default entity-mode: pojo
2009-09-03 15:47:11,328 INFO  [SettingsFactory] : Named query checking :
enabled
2009-09-03 15:47:11,355 INFO  [SessionFactoryImpl] : building session
factory
{Heap before GC invocations=10 (full 0):
 PSYoungGen      total 47808K, used 43957K [0xb0870000, 0xb4150000,
0xb4150000)
  eden space 37504K, 100% used [0xb0870000,0xb2d10000,0xb2d10000)
  from space 10304K, 62% used [0xb2d10000,0xb335d6f0,0xb3720000)
  to   space 9984K, 0% used [0xb3790000,0xb3790000,0xb4150000)
 PSOldGen        total 466048K, used 11257K [0x94150000, 0xb0870000,
0xb0870000)
  object space 466048K, 2% used [0x94150000,0x94c4e4f0,0xb0870000)
 PSPermGen       total 26240K, used 26158K [0x90150000, 0x91af0000,
0x94150000)
  object space 26240K, 99% used [0x90150000,0x91adb890,0x91af0000)
10.247: [GC10.277: [SoftReference, 0 refs, 0.0000100 secs]10.277:
[WeakReference, 210 refs, 0.0000530 secs]10.277: [FinalReference, 124 refs,
0.0000580 secs]10.277: [PhantomReference, 0 refs, 0.0000070 secs]10.277:
[JNI Weak Reference, 0.0000010 secs]
Desired survivor size 10616832 bytes, new threshold 1 (max 15)
 [PSYoungGen: 43957K->2894K(47488K)] 55214K->19098K(513536K), 0.0304750
secs] [Times: user=0.01 sys=0.05, real=0.03 secs]
Heap after GC invocations=10 (full 0):
 PSYoungGen      total 47488K, used 2894K [0xb0870000, 0xb4150000,
0xb4150000)
  eden space 37504K, 0% used [0xb0870000,0xb0870000,0xb2d10000)
  from space 9984K, 28% used [0xb3790000,0xb3a639d0,0xb4150000)
  to   space 10368K, 0% used [0xb2d10000,0xb2d10000,0xb3730000)
 PSOldGen        total 466048K, used 16203K [0x94150000, 0xb0870000,
0xb0870000)
  object space 466048K, 3% used [0x94150000,0x95122ed8,0xb0870000)
 PSPermGen       total 26240K, used 26158K [0x90150000, 0x91af0000,
0x94150000)
  object space 26240K, 99% used [0x90150000,0x91adb890,0x91af0000)
}
VM-Thread 10246673 10276996 10277531
GC-Thread 0 entries: 17
[ old-to-young-roots-task 10246926 10272563 ]
[ scavenge-roots-task 10272571 10272574 ]
[ scavenge-roots-task 10272574 10272590 ]
[ thread-roots-task 10272591 10272612 ]
[ thread-roots-task 10272613 10272618 ]
[ thread-roots-task 10272623 10272631 ]
[ thread-roots-task 10272631 10272654 ]
[ thread-roots-task 10272655 10272660 ]
[ thread-roots-task 10272660 10272667 ]
[ thread-roots-task 10272667 10272669 ]
[ thread-roots-task 10272669 10272672 ]
[ thread-roots-task 10272672 10272677 ]
[ thread-roots-task 10272678 10272679 ]
[ thread-roots-task 10272680 10272686 ]
[ thread-roots-task 10272687 10272690 ]
[ thread-roots-task 10272691 10276295 ]
[ steal-task 10276297 10276969 ]
GC-Thread 1 entries: 10
[ old-to-young-roots-task 10246939 10269250 ]
[ serial-old-to-young-roots-task 10269253 10274454 ]
[ thread-roots-task 10274457 10274461 ]
[ scavenge-roots-task 10274462 10274473 ]
[ scavenge-roots-task 10274474 10274478 ]
[ scavenge-roots-task 10274478 10274483 ]
[ scavenge-roots-task 10274483 10274919 ]
[ scavenge-roots-task 10274920 10274921 ]
[ steal-task 10274922 10276966 ]
[ waitfor-barrier-task 10276967 10276991 ]
{Heap before GC invocations=11 (full 0):
 PSYoungGen      total 47488K, used 40398K [0xb0870000, 0xb4150000,
0xb4150000)
  eden space 37504K, 100% used [0xb0870000,0xb2d10000,0xb2d10000)
  from space 9984K, 28% used [0xb3790000,0xb3a639d0,0xb4150000)
  to   space 10368K, 0% used [0xb2d10000,0xb2d10000,0xb3730000)
 PSOldGen        total 466048K, used 16203K [0x94150000, 0xb0870000,
0xb0870000)
  object space 466048K, 3% used [0x94150000,0x95122ed8,0xb0870000)
 PSPermGen       total 26752K, used 26626K [0x90150000, 0x91b70000,
0x94150000)
  object space 26752K, 99% used [0x90150000,0x91b50878,0x91b70000)
10.754: [GC

Once again, it terminates in the middle of GC logging.

- Bradley

On Thu, Sep 3, 2009 at 1:49 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:

> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > Maybe it can't connect when it's hung.
>
> Quite possible; GC stops all threads, so the JMX agent may well be
> suspended.
>
> You might want to try turning on pretty much all of the GC-related trace
> flags:
>
> -XX:+PrintGC
> -XX:+PrintGCDetails
> -XX:+PrintGCTimeStamps
> -XX:+PrintGCTaskTimeStamps
> -XX:+PrintReferenceGC
> -XX:+TraceGen0Time
> -XX:+TraceGen1Time
> -XX:+PrintTenuringDistribution
> -XX:+PrintHeapAtGC
> -XX:+TraceParallelOldGCTasks
> -XX:+PrintParallelOldGCPhaseTimes
>
> (All on one line, of course.)  This will produce a *lot* of output.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to