[
https://issues.jboss.org/browse/AS7-5224?page=com.atlassian.jira.plugin.s...
]
Stuart Douglas commented on AS7-5224:
-------------------------------------
It depends on what profiler you have, there is no built in one.
Personally I like YJP (
www.yourkit.com)
There is also JProfiler and a free eclipse one.
This just seems really odd. That thread dump you gave us does not have any threads doing
anything that would use CPU. Another option would be to take lots of thread dumps, and see
if any of them have threads that are actually doing some work.
[JBoss 7.1.0.Final] High CPU usage for single-core CPU VMWare virtual
machine running Redhat 6 OS
-------------------------------------------------------------------------------------------------
Key: AS7-5224
URL:
https://issues.jboss.org/browse/AS7-5224
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.1.0.Final
Environment: -bash-4.1$ cat /proc/version
Linux version 2.6.32-279.el6.x86_64 (mockbuild(a)x86-008.build.bos.redhat.com) (gcc version
4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Wed Jun 13 18:24:36 EDT 2012
-bash-4.1$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
stepping : 2
cpu MHz : 2666.761
cache size : 12288 KB
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc up arch_perfmon
pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni pclmulqdq ssse3
cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm ida arat epb dts
bogomips : 5333.52
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
-bash-4.1$ cat /proc/meminfo
MemTotal: 3925212 kB
MemFree: 328048 kB
Buffers: 21276 kB
Cached: 3268128 kB
SwapCached: 180 kB
Active: 1832808 kB
Inactive: 1475292 kB
Active(anon): 3104 kB
Inactive(anon): 16008 kB
Active(file): 1829704 kB
Inactive(file): 1459284 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 8388600 kB
SwapFree: 8387940 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 18624 kB
Mapped: 12656 kB
Shmem: 416 kB
Slab: 220480 kB
SReclaimable: 196296 kB
SUnreclaim: 24184 kB
KernelStack: 792 kB
PageTables: 6980 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 10351204 kB
Committed_AS: 102640 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 283176 kB
VmallocChunk: 34359452028 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 10240 kB
DirectMap2M: 4184064 kB
Reporter: Claudiu Muresan
Assignee: Jason Greene
Attachments: boot.log, jstack.thread.dump, process.args, standalone.conf,
standalone.xml, top
When starting JBoss server in standalone configuration we have 100% CPU usage.
There are no deployments.
Please view attached items: thread dump, standalone.conf, standalone.xml.
The JVM version is -bash-4.1$ ./java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
.
Tried also with the latest JVM version (6u33) => high CPU usage.
Tried also with 7.1.1 Final and same configuration(standalone.conf/standalone.xml) =>
high CPU usage.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira