473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Slow response and hangs

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>timeBetweenEvictionRunsMillis</param-name>
<param-value>1000</param-value>
</ContextParam>
<ContextParam>
<param-name>minEvictableIdleTimeMillis</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 8972
Motoma
3,237 Expert 2GB
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
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 Expert 2GB
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
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...
1
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...
1
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...
1
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...
3
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 ...
0
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()...
4
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...
2
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.