Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Tomcat hangs

Thread view: 
pvsnmp@yahoo.com - 28 Dec 2005 11:57 GMT
Hi,
I am facing a strange pblm with Tomcat 5.0.19 on Linux RH 9.
I use TPC-W servlets and most of the config is left defaults. The
connector config is show below:
<Connector port="80"
              maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
              enableLookups="false" redirectPort="8443"
acceptCount="100"
              debug="0" connectionTimeout="20000"
              disableUploadTimeout="true" />

I use the client emulator to generate requests. At times I see the that
the Tomcat server stops responding  even though the CPU utilisation is
low. When i do a netstat I see that 101 connections are established.
This happens always when i see Tomcat hanging on a server.
To test further I did a telnet to the hung tomcat server on port 80.
The server from which I did the telnet showed me this on netstat for
that connection

tcp        0      0 WebClusterFE.lcn-:42713  r3n2.lcn-lab:http
ESTABLISHED

But on the Tomcat server when i issue netstat command I get different
output for this connection:
tcp        0      0 r3n2.lcn-lab:http  WebClusterFE.lcn-:42713 SYN_RECV

it never shows established.
Has someone faced this  kind of pblm?
Could someone give some hint on why this happens??

thanks and rgds,
Prashant
pvsnmp@yahoo.com - 30 Dec 2005 15:08 GMT
Hi,
I think I got the solution for the pblm.I found it here
http://ferret.pmel.noaa.gov/cgi-bin/LASdoc?auth=ckca0339544dae0aa26a0e690396b7d4
0a&file=65


and

http://marc.theaimsgroup.com/?l=tomcat-user&m=106699533205900&w=2

For the past 2 days I havent had any pblms since i followed the
instruction given in the link above.

rgds,
Prashant


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.