Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 77134 invoked from network); 24 Jan 2010 11:50:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jan 2010 11:50:20 -0000 Received: (qmail 99045 invoked by uid 500); 24 Jan 2010 11:50:19 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 98991 invoked by uid 500); 24 Jan 2010 11:50:18 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 98981 invoked by uid 99); 24 Jan 2010 11:50:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 11:50:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elrond532000@gmail.com designates 209.85.219.212 as permitted sender) Received: from [209.85.219.212] (HELO mail-ew0-f212.google.com) (209.85.219.212) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 11:50:11 +0000 Received: by ewy4 with SMTP id 4so3097105ewy.7 for ; Sun, 24 Jan 2010 03:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=hColyxKImMosXf0DQRIDv5v9zgtcaQwUnUuH8yEsN1I=; b=HY9ffsNkxq6V7HJGMG8SIAWU4Yc0wj2VmhsGyq7cEFYJtpFqCRgf6gWDiiktb42l5W tFvBcRWyWQ/SJDvJf/PhukwL7dFCUeLqZ9xSHI3UBwbzuDjuiHcW3WXXfHHc+iJKGxIq EGeqDYkfHwWkDmmV1BJrSs3qdo6VzYsN3OUrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=QQwP0/DG75N4w0yuPOvpWCJ/A0aGa0ydcF5DOWhJRPU/4WuHfLrFHKsmfzzTrvV2U/ FM9p0SX7mIfy2Cd7SLXDeQ27Xg1BQfOoCnoRZH3TQ/3MrjRGDZxUiro81Ns7YT8ejr1n wMKuYSIet6Xp2SR7S5YiI/0GCEBciSfcMA0pQ= MIME-Version: 1.0 Received: by 10.213.37.1 with SMTP id v1mr2288709ebd.93.1264333790091; Sun, 24 Jan 2010 03:49:50 -0800 (PST) From: Steve Date: Sun, 24 Jan 2010 11:49:30 +0000 Message-ID: <3478d5271001240349y1ebac62cl7437d7cafd75565f@mail.gmail.com> Subject: Memory problems To: user@roller.apache.org Content-Type: multipart/alternative; boundary=00148530a3636f9c7e047de7a682 --00148530a3636f9c7e047de7a682 Content-Type: text/plain; charset=UTF-8 I am roller 4.0.1 on Tomcat 5.5_12 with Java 1.5.5 This has run succesfully, and Tomcat will run for several weeks without having to be restarted. I had to change Java to version 6.0_18 for some new XML technology I was using, and now I find that after 3 days all 2 Gig of memor on my Linux server is taken up by Apache. Most of the space being used by non heap. I looked at all the threads, and after a few hours there are masses of BLOCKED roller threads. Hundreds of these threads blocked on pool-2-thread-303. Eventually the thread 303 finishes and then we are BLOCKED again. Any idea? Not sure what Java 6 should show this up as a problem Name: pool-2-thread-307 State: BLOCKED on org.apache.roller.weblogger.business.pings.PingQueueProcessor@561044 owned by: pool-2-thread-303 Total blocked: 2 Total waited: 2 Stack trace: org.apache.roller.weblogger.business.pings.PingQueueProcessor.processQueue(PingQueueProcessor.java:79) org.apache.roller.weblogger.business.pings.PingQueueTask.runTask(PingQueueTask.java:133) org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.run(RollerTaskWithLeasing.java:65) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) java.util.concurrent.FutureTask.run(FutureTask.java:138) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) java.lang.Thread.run(Thread.java:619) Name: pool-2-thread-303 State: RUNNABLE Total blocked: 2 Total waited: 0 Stack trace: java.net.PlainSocketImpl.socketConnect(Native Method) java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) - locked java.net.SocksSocketImpl@584ac java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) java.net.Socket.connect(Socket.java:525) java.net.Socket.connect(Socket.java:475) sun.net.NetworkClient.doConnect(NetworkClient.java:163) sun.net.www.http.HttpClient.openServer(HttpClient.java:394) sun.net.www.http.HttpClient.openServer(HttpClient.java:529) - locked sun.net.www.http.HttpClient@751bb6 sun.net.www.http.HttpClient.(HttpClient.java:233) sun.net.www.http.HttpClient.New(HttpClient.java:306) sun.net.www.http.HttpClient.New(HttpClient.java:323) sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860) sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801) sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726) sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:904) - locked sun.net.www.protocol.http.HttpURLConnection@ab229c org.apache.xmlrpc.client.XmlRpcSunHttpTransport.writeRequest(XmlRpcSunHttpTransport.java:65) org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:140) org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:94) org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:39) org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53) org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166) org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136) org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125) org.apache.roller.weblogger.business.pings.WeblogUpdatePinger.sendPing(WeblogUpdatePinger.java:121) org.apache.roller.weblogger.business.pings.PingQueueProcessor.processQueueEntry(PingQueueProcessor.java:133) org.apache.roller.weblogger.business.pings.PingQueueProcessor.processQueue(PingQueueProcessor.java:103) - locked org.apache.roller.weblogger.business.pings.PingQueueProcessor@561044 org.apache.roller.weblogger.business.pings.PingQueueTask.runTask(PingQueueTask.java:133) org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing.run(RollerTaskWithLeasing.java:65) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) java.util.concurrent.FutureTask.run(FutureTask.java:138) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) java.lang.Thread.run(Thread.java:619) -- Steve --00148530a3636f9c7e047de7a682--