tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From francis picabia <fpica...@gmail.com>
Subject Re: High load from tomcat, no users, no errors
Date Fri, 06 Jul 2012 18:24:06 GMT
Here is a new scenario:

firewall is blocking 8080 and apache is off.
tomcat 7.0.28 from tarball install is running
as user tomcat.

Load is about 6.  It never comes down
after some 5 minutes or so.  Again, this
is simply the tarball install, with no configuration.

Here is the top of top:

top - 15:13:58 up 52 days,  7:43,  2 users,  load average: 6.35, 4.48, 2.18
Tasks: 141 total,   2 running, 139 sleeping,   0 stopped,   0 zombie
Cpu(s): 43.1%us, 55.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  1.9%si,  0.0%st
Mem:   6128864k total,  5197444k used,   931420k free,   772404k buffers
Swap:  2506100k total,     9156k used,  2496944k free,  3360572k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9866 tomcat    20   0 2000m  81m 9.8m S  283    1.4   9:37.85 java
   13  root         20   0     0    0    0 S             32    0.0
1940:37 ksoftirqd/3
     7  root         20   0     0    0    0 S             31    0.0
1957:11 ksoftirqd/1
   10  root         20   0     0    0    0 R             30    0.0
1956:46 ksoftirqd/2
     4  root         20   0     0    0    0 S             23    0.0
1943:29 ksoftirqd/0
2269  snmp      20   0 43696 3256 1428 S    0  0.1  19:48.97 snmpd
6273  postgres  20   0  170m 3136  292 S    0  0.1  72:54.91 postgres
    1   root         20   0  8356  676  632 S    0  0.0   0:23.98 init

Here is the thread dump - is there anything interesting here?

INFO: Server startup in 685 ms
2012-07-06 15:18:13
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode):

"ajp-bio-8009-AsyncTimeout" daemon prio=10 tid=0x00007f494c079800
nid=0x26a0 sleeping[0x00007f495c9f7000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at org.apache.tomcat.util.net.JIoEndpoint$AsyncTimeout.run(JIoEndpoint.java:148)
	at java.lang.Thread.run(Thread.java:662)

"ajp-bio-8009-Acceptor-0" daemon prio=10 tid=0x00007f494c090000
nid=0x269f runnable [0x00007f495caf8000]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
	- locked <0x00000000e24a6dc8> (a java.net.SocksSocketImpl)
	at java.net.ServerSocket.implAccept(ServerSocket.java:462)
	at java.net.ServerSocket.accept(ServerSocket.java:430)
	at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
	at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:216)
	at java.lang.Thread.run(Thread.java:662)

"http-bio-8080-AsyncTimeout" daemon prio=10 tid=0x00007f494c08e800
nid=0x269e sleeping[0x00007f495cbf9000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at org.apache.tomcat.util.net.JIoEndpoint$AsyncTimeout.run(JIoEndpoint.java:148)
	at java.lang.Thread.run(Thread.java:662)

"http-bio-8080-Acceptor-0" daemon prio=10 tid=0x00007f494c0a7000
nid=0x269d runnable [0x00007f495ccfa000]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
	- locked <0x00000000e24ba4b0> (a java.net.SocksSocketImpl)
	at java.net.ServerSocket.implAccept(ServerSocket.java:462)
	at java.net.ServerSocket.accept(ServerSocket.java:430)
	at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
	at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:216)
	at java.lang.Thread.run(Thread.java:662)

"ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon
prio=10 tid=0x00007f4958972800 nid=0x269c waiting on condition
[0x00007f495cdfb000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1544)
	at java.lang.Thread.run(Thread.java:662)

"GC Daemon" daemon prio=10 tid=0x00007f494c009000 nid=0x2698 in
Object.wait() [0x00007f495d21f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e2430070> (a sun.misc.GC$LatencyLock)
	at sun.misc.GC$Daemon.run(GC.java:100)
	- locked <0x00000000e2430070> (a sun.misc.GC$LatencyLock)

"Low Memory Detector" daemon prio=10 tid=0x00007f4958023800 nid=0x2696
runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" daemon prio=10 tid=0x00007f4958020800 nid=0x2695
waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" daemon prio=10 tid=0x00007f495801d800 nid=0x2694
waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00007f495801b800 nid=0x2693
waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x00000000414e8800 nid=0x2692 in
Object.wait() [0x00007f495d97e000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e24303c8> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
	- locked <0x00000000e24303c8> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x00000000414e6800 nid=0x2691
in Object.wait() [0x00007f495da7f000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e2420120> (a java.lang.ref.Reference$Lock)
	at java.lang.Object.wait(Object.java:485)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
	- locked <0x00000000e2420120> (a java.lang.ref.Reference$Lock)

"main" prio=10 tid=0x0000000041482000 nid=0x268b runnable [0x00007f4962630000]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
	- locked <0x00000000e1c20158> (a java.net.SocksSocketImpl)
	at java.net.ServerSocket.implAccept(ServerSocket.java:462)
	at java.net.ServerSocket.accept(ServerSocket.java:430)
	at org.apache.catalina.core.StandardServer.await(StandardServer.java:452)
	at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451)

"VM Thread" prio=10 tid=0x00000000414e0000 nid=0x2690 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x0000000041495000
nid=0x268c runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x0000000041497000
nid=0x268d runnable

"GC task thread#2 (ParallelGC)" prio=10 tid=0x0000000041498800
nid=0x268e runnable

"GC task thread#3 (ParallelGC)" prio=10 tid=0x000000004149a800
nid=0x268f runnable

"VM Periodic Task Thread" prio=10 tid=0x0000000041502800 nid=0x2697
waiting on condition

JNI global references: 948

Heap
 PSYoungGen      total 27968K, used 19601K [0x00000000e0cb0000,
0x00000000e2be0000, 0x0000000100000000)
  eden space 24000K, 68% used
[0x00000000e0cb0000,0x00000000e1cbd4e0,0x00000000e2420000)
  from space 3968K, 79% used
[0x00000000e2420000,0x00000000e2737060,0x00000000e2800000)
  to   space 3968K, 0% used
[0x00000000e2800000,0x00000000e2800000,0x00000000e2be0000)
 PSOldGen        total 63872K, used 0K [0x00000000a2600000,
0x00000000a6460000, 0x00000000e0cb0000)
  object space 63872K, 0% used
[0x00000000a2600000,0x00000000a2600000,0x00000000a6460000)
 PSPermGen       total 21248K, used 15507K [0x000000009d400000,
0x000000009e8c0000, 0x00000000a2600000)
  object space 21248K, 72% used
[0x000000009d400000,0x000000009e324d28,0x000000009e8c0000)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message