473,883 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Slow response and hangs

2 New Member
hey i am handling a small application,

it is running well. but very rarely it hangs... (i.e) loggin page itself will take more than 10m and the response will be very very slow.

config:

tomcat 4.1 (10g oracle jar)
oracle 9i
apache 2.0.46


logs
------
no error in the application log and in the catalina log.

in apache error log we have


[Thu Oct 11 07:42:11 2007] [warn] child process 27327 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 26887 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 16552 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 6869 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 8749 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 1256 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 27002 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 27148 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 26890 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 6914 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 8775 still did not exit, sending a SIGTERM
[Thu Oct 11 07:42:11 2007] [warn] child process 26891 still did not exit, sending a SIGTERM

when this happens it hangs....

and then during that time the number of http connections were also increasing....
we suppose it is not getting closed (i.e) number of TIME_WAIT keep on increasing...at certain stage it couldnt handle and so it hangs.

other than that every thing is fine....

we could able to ping and all those stuffs.....

What is the parameter that needs to be altered........ .

is there anything to do with


<ContextParam >
<param-name>timeBetwee nEvictionRunsMi llis</param-name>
<param-value>1000</param-value>
</ContextParam>
<ContextParam >
<param-name>minEvictab leIdleTimeMilli s</param-name>
<param-value>36000000</param-value>
</ContextParam>

this is going on for quite some time.. i am clueless. can some one put some light on it........
Oct 12 '07 #1
3 8999
Motoma
3,237 Recognized Expert Specialist
If I were to make a guess, it would be that your code somewhere has an infinite loop in it, which is causing the child processes to ignore the standard kill signal.
Oct 12 '07 #2
nonstopkaran
2 New Member
oh that seems to be intresting....
you meant to say that for a particular action a session is created and that session remains open as it is an infinite loop.

got it, but is there any short cut to sort that particular badman out... caz there are many modules inour application and this will be very time confusing to check.

Do you recommend any method......

manhy thanks for your valuable reply....
Oct 15 '07 #3
Motoma
3,237 Recognized Expert Specialist
oh that seems to be intresting....
you meant to say that for a particular action a session is created and that session remains open as it is an infinite loop.

got it, but is there any short cut to sort that particular badman out... caz there are many modules inour application and this will be very time confusing to check.

Do you recommend any method......

manhy thanks for your valuable reply....
Check the log files for your applications. I don't know about Tomcat, but with PHP, errors application errors, as well as application timeouts and other messages can be sent to an error file. Check to see if you have any logs that would report these things.
Oct 15 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
3460
by: j askey | last post by:
I have a strange bandwidth issue that I have finally tracked down to something fairly specific if anyone has any ideas... Setup: Win2003 Server, PHP 4.3.4, IIS6.0, ISAPI Network: DSL line with a Cisco 678 router using NAT and static port maps. Two switches between webserver and Cisco. Problem: Accessing PHP driven site via any computer except the web server is about 20 times slower. I can get fast response on the server
1
1536
by: Nick Jacobsen | last post by:
Hoping that someone else has either run into this, or can point me in the right direction to fix it. I am making an PROPFIND HTTP Request to a WebDav Mail server (hotmail,. to be specific) using HTTPWebRequest, and everthing goes fine, until the server responds with a "207 MULTISTATUS" response type - at this point, the program just hangs *forever*. I traced this down using proxyTrace and watching the HTTP requests go back and forth - so...
1
1302
by: Noman | last post by:
i am developing a system using VB 6 and Ms Access 2000. overall the system is working fine but at few instances the program get stuck for few minutes like 2 to 3 minutes i.e it is very slow. the accasions where it gets slow exists when number of records exceeeds 10,000 records. Main Ocasion where program gets slow in a table there is a field number,lenofnum,sale1,sale2
1
2087
by: rwmh | last post by:
I'm running this on a 2.8 GHz machine with 1.5 GB RAM. (XP machine) The full suite of VS.NET is installed. I'm running 7.1.3088 Professional Edition. Initial launch from within IDE took only seconds, but my system froze almost immediately, and required reboot. Now, launching from within the IDE is very slow -- 5 minutes -- with CPU usage maxed out the entire time. And once application is running, the system goes weird -- task bar...
3
1971
by: michael | last post by:
Hi, I am trying to write an ASP.NET web app, in Visual Basic.NET, using Visual Studio.NET 2004, .NET framework 1.1.4322 SP1 Running the project/app on localhost while in dev/write/debug stage When I say "trying", I do have it written, and it works ... sort of, for some cases. The problems/issues?
0
1990
by: Michal Seidl | last post by:
Hi, I am trying to download data from remote ftp server connected through GSM modem. The speed is slow 1kB/s. Despite the classic linux ftp client works fine the ftp.retrbinary(),ftpretrlines() function from ftplib hangs. I am able succesfuly login but a can not download. It has probably something common with sockets. Code: *************************************** #Open ftp connection and downloads file
4
2158
by: Jules Winfield | last post by:
I'm using VS2005. I have a solution consisting of twelve projects. All projects are console/service apps except for one which is a WinForms app. There are no web projects. I'd say that I'm at around 125k-150k lines of code in total. My development machine has 2gigs of physical RAM, a hyperthreaded CPU running at 3.6ghz, and plenty of harddrive space on a recently defragged drive. The only installed apps are VS2005 and SQL Server 2005....
2
2510
by: gnomee2 | last post by:
Hello Everyone, I have a strange problem that I cannot seem to solve. I have two server running Windows 2003 MSSQL on one IIS on the other. Out of the blue I have slow queries that cause asp script timeouts and I cannot figure it out. I have moved some test code to other sites on the server and still have these long delays. I have tried dropping the tables, then the database entirely and restoring and still slow. I run the same code on...
3
2141
by: John | last post by:
Hi I have replaced an ms access app with its vb.net version at a client site. Now the clients keeps complaining about how slow the app response is. The complains they have are for example when app is minimised and then trying to maximise it after a while takes a while for app to get maximised. Also form painting of controls is slow and app is generally slow in terms of response to user clicks. I am using Infragistics controls and my...
0
9944
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11153
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10757
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10420
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7975
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7134
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5804
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4225
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.