Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
how to increase tomcat performance

how to increase tomcat performance

2004-02-15       - By Antonio Fiol Bonn�n

 Back
Reply:     1     2     3     4     5  

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)" <devlists@(protected)>
>To: "Tomcat Users List" <tomcat-user@(protected)>; "Deepak Hegde"
><tomcat_support@(protected)>
>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@(protected)]
>>Sent: Saturday, February 14, 2004 8:03 PM
>>To: tomcat-user@(protected)
>>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
>>    
>>


©2008 junlu.com - Jax Systems, LLC, U.S.A.