You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Deepak Hegde <to...@rediffmail.com> on 2004/02/15 05:02:36 UTC
how to increase tomcat performance
Hi All,
I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc machine having O.S 5.8 version.
Web application is developed to use Postgres Database also.
I am facing lots of performance issues with Tomcat i.e sometimes when user
connection increases tomcat process hangs and website stops opening
and some times it goes very slow. The Problem gets sloved when i restart the tomcat service again.
Somebody please help me ..
Regards,
Deepak
Re: how to increase tomcat performance
Posted by Antonio Fiol BonnĂn <fi...@terra.es>.
Hi,
I am not Filip, but in my case most "hangings" were caused by too low
settings of Tomcat's maxThreads / maxProcessors or too low setting for
the database connections accepted.
And as Deepak says he is using Apache in front, I'd also check the
Apache, just in case.
To check, wait for it to hang, and before stopping tomcat, execute on
every machine involved:
netstat -n | grep SYN_RECV
If you see a large (more than 2-3) quantity of lines there, the involved
service (local IP:port) is the blocking one.
SYN_SENT would be the counterpart of this. However, as you will not
notice the hang immediately, it is unlikely that you see the SYN_SENT.
If you do, blocking service is (remote IP:port).
Hope that helps.
Antonio Fiol
Parsons Technical Services wrote:
>Filip,
>
>Does this symptom sound similar to problems with memory leaks?
>
>Doug
>
>----- Original Message -----
>From: "Filip Hanik (lists)" <de...@hanik.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>; "Deepak Hegde"
><to...@rediffmail.com>
>Sent: Saturday, February 14, 2004 11:12 PM
>Subject: RE: how to increase tomcat performance
>
>
>
>
>>first go over your configurations, make sure you have enabled enough
>>
>>
>threads
>
>
>>for the connectors (read docs)
>>
>>then get a performance profiler and go to work :)
>>
>>tomcat is pretty optimized, so it could be something in your code
>>
>>Filip
>>
>>
>>
>>-----Original Message-----
>>From: Deepak Hegde [mailto:tomcat_support@rediffmail.com]
>>Sent: Saturday, February 14, 2004 8:03 PM
>>To: tomcat-user@jakarta.apache.org
>>Subject: how to increase tomcat performance
>>
>>
>>Hi All,
>>
>>I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc
>>machine having O.S 5.8 version.
>>
>>Web application is developed to use Postgres Database also.
>>
>>I am facing lots of performance issues with Tomcat i.e sometimes when user
>>connection increases tomcat process hangs and website stops opening
>>
>>and some times it goes very slow. The Problem gets sloved when i restart
>>
>>
>the
>
>
>>tomcat service again.
>>
>>Somebody please help me ..
>>
>>Regards,
>>Deepak
>>
>>
Re: how to increase tomcat performance
Posted by Parsons Technical Services <pa...@earthlink.net>.
Filip,
Does this symptom sound similar to problems with memory leaks?
Doug
----- Original Message -----
From: "Filip Hanik (lists)" <de...@hanik.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>; "Deepak Hegde"
<to...@rediffmail.com>
Sent: Saturday, February 14, 2004 11:12 PM
Subject: RE: how to increase tomcat performance
> first go over your configurations, make sure you have enabled enough
threads
> for the connectors (read docs)
>
> then get a performance profiler and go to work :)
>
> tomcat is pretty optimized, so it could be something in your code
>
> Filip
>
>
>
> -----Original Message-----
> From: Deepak Hegde [mailto:tomcat_support@rediffmail.com]
> Sent: Saturday, February 14, 2004 8:03 PM
> To: tomcat-user@jakarta.apache.org
> Subject: how to increase tomcat performance
>
>
> Hi All,
>
> I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc
> machine having O.S 5.8 version.
>
> Web application is developed to use Postgres Database also.
>
> I am facing lots of performance issues with Tomcat i.e sometimes when user
> connection increases tomcat process hangs and website stops opening
>
> and some times it goes very slow. The Problem gets sloved when i restart
the
> tomcat service again.
>
> Somebody please help me ..
>
> Regards,
> Deepak
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
>
>
> ---------------------------------------------------------------------
> 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: how to increase tomcat performance
Posted by "Filip Hanik (lists)" <de...@hanik.com>.
first go over your configurations, make sure you have enabled enough threads
for the connectors (read docs)
then get a performance profiler and go to work :)
tomcat is pretty optimized, so it could be something in your code
Filip
-----Original Message-----
From: Deepak Hegde [mailto:tomcat_support@rediffmail.com]
Sent: Saturday, February 14, 2004 8:03 PM
To: tomcat-user@jakarta.apache.org
Subject: how to increase tomcat performance
Hi All,
I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc
machine having O.S 5.8 version.
Web application is developed to use Postgres Database also.
I am facing lots of performance issues with Tomcat i.e sometimes when user
connection increases tomcat process hangs and website stops opening
and some times it goes very slow. The Problem gets sloved when i restart the
tomcat service again.
Somebody please help me ..
Regards,
Deepak
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org