Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 71AB6DBDB for ; Fri, 6 Jul 2012 18:24:36 +0000 (UTC) Received: (qmail 28137 invoked by uid 500); 6 Jul 2012 18:24:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 28011 invoked by uid 500); 6 Jul 2012 18:24:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 28001 invoked by uid 99); 6 Jul 2012 18:24:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 18:24:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fpicabia@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 18:24:26 +0000 Received: by pbbro12 with SMTP id ro12so18040358pbb.18 for ; Fri, 06 Jul 2012 11:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=99h++Pudxd2uVzTcV5kl86aTxQAcNBNx4CeB8mcBfiM=; b=Vkv/DIOsYNLrPS/DAn2XR+3fMcxallyJlqf8IoD2EPm2qIA2LSYElRjHrDQivfsqz6 dlW7tlmRW0FVp1Ee7SGfa4rwM9cVXgxobsDwrrwJkIQqC6zoQuSbyjMCI0Iz8smKEZaK 7c2WCdVcvnyR4S91BXBhr78Qv4VinpJXmHxtpuU21nrIyop1NXT07/idDAO7pkNgEvc6 XtOkJLi3Hov2iQ/tPSviv9JS7u6Q0I/yDJCb5ic/bd9L+A7kx06npFHiIDw0f8R6YscV DjySVsxBv5oSQ7V9tWZJjjZkWDMgTN+IJiMIDL+ezbaLXVtyE7PF0jt9tl6GsJp2oJ5R Yu7g== MIME-Version: 1.0 Received: by 10.68.195.102 with SMTP id id6mr39054066pbc.120.1341599046614; Fri, 06 Jul 2012 11:24:06 -0700 (PDT) Received: by 10.66.249.98 with HTTP; Fri, 6 Jul 2012 11:24:06 -0700 (PDT) In-Reply-To: <4FF726DC.3090906@christopherschultz.net> References: <4FF726DC.3090906@christopherschultz.net> Date: Fri, 6 Jul 2012 15:24:06 -0300 Message-ID: Subject: Re: High load from tomcat, no users, no errors From: francis picabia To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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