473,401 Members | 2,139 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,401 software developers and data experts.

100% cpu utilization apache hangs

I am using applet to servlet communication for my web based
application.But after running fine for some time apache tomcat server
hangs.I am not able to figure out its cause .the cpu utilization at
that time reaches to 100%.
can anybody tell me about its possible cause.How should i debug this
problem.

please help

thanx
Anks
Jul 17 '05 #1
6 7934
What OS are you using?
Anks wrote:
I am using applet to servlet communication for my web based
application.But after running fine for some time apache tomcat server
hangs.I am not able to figure out its cause .the cpu utilization at
that time reaches to 100%.
can anybody tell me about its possible cause.How should i debug this
problem.

please help

thanx
Anks


Jul 17 '05 #2
its windows 2000 server
Anks
Missaka Wijekoon <mi**************@yahoo.com> wrote in message news:<3F**************@yahoo.com>...
What OS are you using?
Anks wrote:
I am using applet to servlet communication for my web based
application.But after running fine for some time apache tomcat server
hangs.I am not able to figure out its cause .the cpu utilization at
that time reaches to 100%.
can anybody tell me about its possible cause.How should i debug this
problem.

please help

thanx
Anks

Jul 17 '05 #3
Is this too tough a problem for anybody to solve..

Anks

an*****@indiatimes.com (Anks) wrote in message news:<23**************************@posting.google. com>...
its windows 2000 server
Anks
Missaka Wijekoon <mi**************@yahoo.com> wrote in message news:<3F**************@yahoo.com>...
What OS are you using?
Anks wrote:
I am using applet to servlet communication for my web based
application.But after running fine for some time apache tomcat server
hangs.I am not able to figure out its cause .the cpu utilization at
that time reaches to 100%.
can anybody tell me about its possible cause.How should i debug this
problem.

please help

thanx
Anks

Jul 17 '05 #4
beware the use of String manipulation in loop. it will take up huge amount
of memory and the memory allocation is CPU consuming, too.

try StringBuffer instead.
Jul 17 '05 #5
I am using StringBuffer for any string manipulation .that is not the problem.
Any other possible cause..
Anks

"Mumu" <mu**@mu.xom> wrote in message news:<bj*********@rain.i-cable.com>...
beware the use of String manipulation in loop. it will take up huge amount
of memory and the memory allocation is CPU consuming, too.

try StringBuffer instead.

Jul 17 '05 #6
On Linux or Solaris or most kinds of Unix there is a utility called
strace or truss or something similar that lets you determine what system
calls are being made. This is a good utility to let you know what a
misbehaving program is doing. If there is something like that in
Windoze, try it and see what its doing.

-Misk

Anks wrote:
Is this too tough a problem for anybody to solve..

Anks

an*****@indiatimes.com (Anks) wrote in message news:<23**************************@posting.google. com>...
its windows 2000 server
Anks
Missaka Wijekoon <mi**************@yahoo.com> wrote in message news:<3F**************@yahoo.com>...
What OS are you using?
Anks wrote:

I am using applet to servlet communication for my web based
application.But after running fine for some time apache tomcat server
hangs.I am not able to figure out its cause .the cpu utilization at
that time reaches to 100%.
can anybody tell me about its possible cause.How should i debug this
problem.

please help

thanx
Anks


Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ole Kramer, SFS GmbH | last post by:
We have installed PHP 5.0.1 on a Windows 2003 Server with IIS6 in ISAPI mode. The processing of .php files works fine with our basis version of the php.ini file. But, as soon as we edit the php.ini...
4
by: Anks | last post by:
hi I am testing my applet to servlet communication program using appletviewer. as soon as i start the applet the cpu utilization reaches to 100%.I am using apache tomcat 4.1 application...
0
by: Erwan | last post by:
Hi, we have a big problem with our Apache / tomcat production server. Characteristics are : aapche : httpd-2.0.40-21.5 tomcat : these versions were tried without success :4.1.18, 4.1.27, 5.0.12...
0
by: Albert Rossi | last post by:
all, i have seen a couple of postings on the following issues which i have encountered and have struuggled with for a couple of days now. i apologize in advance if someone has already posted the...
1
by: SprMan | last post by:
I run a Toaster Mail server with virtual domains. The users authenticate against a MySql 3..23.58 db. We have been having an ongoing issue with login's just "hanging" via both http (webmail) and...
1
by: tadpole | last post by:
This has been the bane of my existence using Visual Studio 2003. Recipe: -Use UNC path to browse to directory on Win2003 Server with IIS. -Double Click the project file, the IDE opens, but...
0
by: bimalendug | last post by:
Hi All, I'm using the .NET performance counters to calculate the network utilization. But this value exceeds 100%. In most of the cases, it is very similar to the one shown in the task-manager....
14
by: bill salkin | last post by:
The simple VB.NET loop: for i = 1 to 30000000 ' do something next drives the CPU on my computer to 100% utilization for the duration of the loop. (Several minutes) How can I modify this...
1
by: Kaheru | last post by:
memory utilization increase? This is because when i try to keep track of the CPU utilization and memory utilization of my FTP server process (ftpserver.exe), the CPU utilization increase, but the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
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
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
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...

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.