You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Surendra Kumar <su...@cisco.com> on 2004/06/30 14:35:01 UTC
Tomcat process memory growth
Hi
I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application. The total memory of the process ( VM + Real Memory)
keeps on increasing. The heap size of VM is not increasing ( verified by printing the free memory) , but the total memory
used by the process increasing.
Any ideas on how to fix it ?
Thanks
Surendra
Re: Tomcat process memory growth
Posted by Pete Stokes <st...@quinn-direct.com>.
Question regarding tomcat connectors to apache :
I've experimented with jk jk2 etc, but always found performance to be
degraded noticably when using apache in front of tomcat with connectors,
but with tomcat alone it's fine. I've done a reverse proxy from apache
to tomcat and that flies, so have other people experience the same with
connectors ?
I know connectors are good for load balancing, but connecting a single
apache to a single tomcat performance wise, does it work ????
Pete.
Adrian Barnett wrote:
> On Wed, 30 Jun 2004 18:05:01 +0530, Surendra Kumar
> <su...@cisco.com> wrote:
>
>> Hi
>> I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application.
>> The total memory of the process ( VM + Real Memory)
>> keeps on increasing. The heap size of VM is not increasing (
>> verified by printing the free memory) , but the total memory
>> used by the process increasing.
>> Any ideas on how to fix it ?
>
>
> Are you using mod_jk2 to connect to Apache?
> If so, try adding the line
> request.registerRequests=false
> to your jk2.properties file.
>
> I was also getting a memory-creep until I set that flag.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat process memory growth
Posted by Surendra Kumar <su...@cisco.com>.
No I am using md_jk to connect to Apache. Any other thoughts on this.
-Surendra
----- Original Message -----
From: "Adrian Barnett" <ad...@abarnett.demon.co.uk>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, June 30, 2004 8:11 PM
Subject: Re: Tomcat process memory growth
> On Wed, 30 Jun 2004 18:05:01 +0530, Surendra Kumar <su...@cisco.com>
> wrote:
>
> > Hi
> > I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application. The
> > total memory of the process ( VM + Real Memory)
> > keeps on increasing. The heap size of VM is not increasing
> > ( verified by printing the free memory) , but the total memory
> > used by the process increasing.
> > Any ideas on how to fix it ?
>
> Are you using mod_jk2 to connect to Apache?
> If so, try adding the line
> request.registerRequests=false
> to your jk2.properties file.
>
> I was also getting a memory-creep until I set that flag.
>
>
> --
> Can you see the fnords yet?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat process memory growth
Posted by Adrian Barnett <ad...@abarnett.demon.co.uk>.
On Wed, 30 Jun 2004 18:05:01 +0530, Surendra Kumar <su...@cisco.com>
wrote:
> Hi
> I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application. The
> total memory of the process ( VM + Real Memory)
> keeps on increasing. The heap size of VM is not increasing
> ( verified by printing the free memory) , but the total memory
> used by the process increasing.
> Any ideas on how to fix it ?
Are you using mod_jk2 to connect to Apache?
If so, try adding the line
request.registerRequests=false
to your jk2.properties file.
I was also getting a memory-creep until I set that flag.
--
Can you see the fnords yet?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org