473,382 Members | 1,329 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,382 software developers and data experts.

Diagnosing Application Hangs

I have a problem with an application which randomly hangs on site.

The symptoms are that the user will click a button - which normally
would open a new form (which inevitably will create a socket connection
back to a server using remoting) - but just hangs. Sometimes the
application will close itself (ie disappear without any errors), other
times it needs to be manually stopped.

Looking at the event log, I see in the application log the record of
the application hang (which I think is written up when you say
Send/Don't send information to microsoft?). This doesn't appear to
give too much information at all. However, looking at the system log,
I *always* see the WMI Performance Adaptor entering the "stopped" state
at *exactly* the same time as the application hang is recorded in the
application event log. Subsequently (5 seconds or so later) the WMI
Performance adaptor restarts up.

I've read that RPC based applications will hang if the WMI performance
adaptor isn't running, so I'm guessing that this is the problem. I'm
presuming that something in my application is causing the issue - but I
don't know what or even where to start looking.

The only thing that may be a problem is that the form that is being
created is often running on a seperate thread to the main form. (this
is because the form is created in an object that is itself running on a
seperate thread). I don't see that this ought to be a problem, but in
case it is, the forms are normally created using a public shared method
in the class eg :

Public Shared Function DisplayJob(JobNo as String)
dim Cls as new DisplayJobClass
Cls.JobNo=JobNo
dim t as new threading.thread(address of cls.Show)
t.start
end Function

public class DisplayJobClass
Public JobNo as string
Public sub Show
dim frm as new frmDisplayJob(JobNo)
frm.showdialog
end sub

Anybody any pointers as to how I can trace the problem and solve it ??
Perhaps some monitoring tools that I can run ??

Many thanks in advance

Simon Verona

Nov 11 '06 #1
0 1434

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

Similar topics

2
by: sonyram | last post by:
As our application design requires us to use one of the validation API engine which was written on C(so basically all I have is a dll) and I tested calling the functions using small windows...
5
by: Loane Sharp | last post by:
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some...
5
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied...
3
by: Lars Netzel | last post by:
Hi! A button triggers the code.. I'm trying to learn about the XmlSerializer and when the code comes the try statement it doesn' throw an exception, it goes into the...
12
by: JohnR | last post by:
I have narrowed a problem down to a simple example. A form with two buttons. One EXIT and one FBD. The exit button does an "END" to end the application. The FBD button does a...
0
by: Selvakumar, Information Dynamics | last post by:
After some load increased in ASP.NET applications, antire application hangs and we get the following error trace. Application is is .NET Framework 1.1 with SP1 and OLE DB Provider for oracle by...
6
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2...
10
by: sp | last post by:
The application is written in Visual Basic / .NET and working without problems under Windows XP, Windows 2000, Windows 2003 but it isn't working under Windows ME and Windows 98 - the computer...
0
by: manikumarn | last post by:
Application thread (Java server code) making database queries is blocked on the query execution to return and the db connection does not timeout. It happens during load test after about three days...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.