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 E1838FD3F for ; Thu, 4 Apr 2013 08:05:53 +0000 (UTC) Received: (qmail 24523 invoked by uid 500); 4 Apr 2013 08:05:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 24040 invoked by uid 500); 4 Apr 2013 08:05:46 -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 24007 invoked by uid 99); 4 Apr 2013 08:05:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 08:05:45 +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 pid@pidster.com designates 209.85.215.174 as permitted sender) Received: from [209.85.215.174] (HELO mail-ea0-f174.google.com) (209.85.215.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 08:05:36 +0000 Received: by mail-ea0-f174.google.com with SMTP id m14so895718eaj.19 for ; Thu, 04 Apr 2013 01:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pidster.com; s=google; h=x-received:references:from:in-reply-to:mime-version:date:message-id :subject:to:content-type:content-transfer-encoding; bh=EhLc/OcKQJZXf0Ul9+9aa/gX+3nn3ehV+v/WyWbjSk8=; b=izMYSnKTSYbfV5IHBCJU+0vv1SAfpHOTluSH8TzaccNIq4rOVEi642LGYwDh9UtQ9k yi4h6mxeM8rru3iHQ58zbm4PMBy/oQKQyhaZ9jTP5of0msCki3Vh8qqo48wUPiZuZJ+h WVxWXN3MdQJUGIwa8fVShtbSn2h/C4Oha2v8E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:from:in-reply-to:mime-version:date:message-id :subject:to:content-type:content-transfer-encoding :x-gm-message-state; bh=EhLc/OcKQJZXf0Ul9+9aa/gX+3nn3ehV+v/WyWbjSk8=; b=FEr5zLCaXyHanlezRapo+qbnYG2NBfu7CW4if33W2CRi35aY43bm4DdK+q1TnsRUl2 oRRse0FY7sYQgKQ22Z4X3TS3u3S1N42Nm03hQ5A5UWIG9hzzLNrx2Nd3CDuoInZKjV4Z +1Xl1dsrgD5a1a+yJlQD1cpLgoAhjAc83ziHl6TbB6VEP3bmrffVKqVYp5cwAzWdooqB ZM7CCWwkejSET8pr1opI2pe4P8PkpRoktLh0+T5JE682xWkMAdsA/N1kMhhy/36NG+RR yXEDt/2m654cvO3yUZJP3WDzjbgbD7gfBXr3vr5yal4xGALERbn72DiP08FECRRvqoRQ FIgg== X-Received: by 10.14.193.134 with SMTP id k6mr8906202een.37.1365062713842; Thu, 04 Apr 2013 01:05:13 -0700 (PDT) References: <515B387D.100@christopherschultz.net> <515B49B7.7010705@christopherschultz.net> <515C3E46.8000505@christopherschultz.net> From: =?UTF-8?B?UMOvZCBzdMOocg==?= In-Reply-To: Mime-Version: 1.0 (1.0) Date: Thu, 4 Apr 2013 08:54:31 +0100 Message-ID: <7074917604805405944@unknownmsgid> Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkVUqd1fSehKNtDtYvQsAAA8NRgxIKRJMWwEFOPQ/LMl5wbGwipnCdxDVyB8GqtdH+FjM/I X-Virus-Checked: Checked by ClamAV on apache.org On 3 Apr 2013, at 19:16, saumil shah wrote: > Thanks again Chris .... > I did change in Tomcat 6.0/Conf/server.xml > unpackWARs=3D"false" and autoDeploy=3D"false" > but the logs still complaint about the Deploying web applications.... > org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web appli= cation archive CmcAppActions.warorg.apache.catalina.core.StandardContextadd= ApplicationListenerINFO: The listener "com.sun.faces.config.ConfigureListen= er" is alreadyconfigured for this context. The duplicate definition has bee= n ignored. > 2. Also for a 64 bit JVM , could I then just bump up my Tomcat Java para= ms as : > -Xms1024m -Xmx4096m instead of my default as -Xms512m -Xmx1024m > -XX:MaxPermSize=3D1024m instead of my default -XX:MaxPermSize=3D512m Yes, but first please tell us where the original settings came from. 512M seems a little high to me for MaxPermSize. You should enable JMX on this Tomcat instance and use VisualVM (or JConsole), which you can find in the JDK bin directory to inspect the process memory use. p > > Appreciate all your help. > Thanks again. >> Date: Wed, 3 Apr 2013 10:35:50 -0400 >> From: chris@christopherschultz.net >> To: users@tomcat.apache.org >> CC: saumil125@hotmail.com >> Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Saumil, >> >> Please try to keep discussions on the mailing list to everyone can >> benefit. >> >> On 4/2/13 6:48 PM, saumil shah wrote: >>> For some reason ...I do not see Java process in Task Manager in >>> Windows, just Tomcat6 process. I am assuming killing Tomcat6 kills >>> JVM internally...is this correct assumption ? >> >> I'm not sure what the Tomca6 process is, but if you kill the service >> (and nothing goes wrong), the JVM should terminate. >> >>> Also, I am NOT re-deploying the application WAR's for some >>> reason...when I deployed the application using Tomcat Manager ... >>> for some reason it put WAR in the WebApps folder and then exploded >>> them. >> >> That is entirely expected behavior. If you don't want your webapps to >> be deployed on startup, you'll need to set deployOnStartup=3D"false" in >> your . >> >> If you set deplyOnStartup=3D"false", you'll have to use the Manager >> webapp to deploy your webapps after Tomcat has started. >> >>> Now it seems every time I start Tomcat , it tries to Re-deploy the >>> application because it finds .WAR there ? >> >> I wouldn't use the term "re-deploy" since the webapp isn't running >> prior to that. I usually use the term re-deploy to mean that the >> webapp is taken out of service in a running Tomcat, then a new webapp >> is deployed in its place (usually on the same context path). >> >> - -chris >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG/MacGPG2 v2.0.17 (Darwin) >> Comment: GPGTools - http://gpgtools.org >> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ >> >> iQIcBAEBCAAGBQJRXD5GAAoJEBzwKT+lPKRYq0gQAJZ9E4OSrYj+ypDTmHUV5ADa >> GdUbo/TYfyZNPFjmHzl/GYeZlYTirs24dA95VacIiAdJhtZ2g0J44Oc6PnT9pqmR >> RxcGtqNF+kN+AV5i0Lf4ewAZE8MQBvWmBHumqt75ETEsYYAlEv0NaVza9EcM7DNi >> RTpR9MrD4QUS7jhrKsyvQiagL7hF8xJgDij9CY5Bc5j6wQjuh6nttW4JtJXOTxb1 >> iiMbQqndmX0RkZHY3Dw3BJOuFU/NjAmSGB5pfmDBrA+z6jasH4SZd0KOy3DKcSgX >> EV8ja57U161yJMdH7Bt7ap9C2mpAaoFKMvANaPYCy29oRcUgQ3qMB7lofRCy2NZ5 >> JDWDnVaKa4UdXoCK4pUvt/noo4EZwUhHI9y8IAtCOC+5xgEDA65FPeTnXBBWYqyu >> uASODSRe4DdQYfLJjMw6rWmGFCqM+aPICeZKcXlC+UR8eqp3pmoLL1I5Y15xth2y >> mW9dA/qVAUNLUXlW1oWw7b58UAyCi7nVSASC4p3LcQ1K+cnQ8j8/VB0GtMMgA2gL >> Bpk7RR19NlzeUXmK//AN/BthZY6oK09qz6n+yNTi2tiV4T2XCjlRO4dsLOoW73nP >> FPTMSFfzYaeBKkn0pHsORZLCtWz8bZ060dYrfKkKLSKhk11CzwGNeP4A5So9xa+J >> ncBMVYTGyKnanbDE3Fj9 >> =3DdZYT >> -----END PGP SIGNATURE----- >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org