PC Review


Reply
Thread Tools Rate Thread

Could use some help from a Smart Person(TM) <grin>

 
 
=?Utf-8?B?QnJ5YW5FdmVybHk=?=
Guest
Posts: n/a
 
      9th Mar 2005
Hi,

I'm struggling with a problem and was hoping that someone on this group
could point me in the right direction. I'm not looking for a free ride, just
a suggestion as to how best to use all the tools at my disposal to diagnose
the situation.

I have an existing COM+ / ASP application (the COM+ objects are written in
VB 6.0) that I am wanting to migrate forward to .NET (using VB.Net). I have
added some ASPX pages to the existing application that do relatively simple
things such as display lists of data from a SQL Server database, etc. I have
successfully deployed the application in a 5 server "Microsoft Load
Balancing" cluster (the application is designed to be stateless, so this
works very well).

Everything was fine until I got uppity and decided to add some code that put
up entry fields, dropdowns, etc. to allow users to change data in the system.
Everything tests out just fine on my Windows XP SP2 development machine but
when I deploy the application to the production environment, it randomly
locks up the entire .NET subsystem. I can still go to other web pages on the
server that use COM+ but any ASPX page just hangs when I try to click on it.

I added a table to the database that allows me to record where I'm at in the
application (i.e. a glorified printf function) that gets fancy and uses
reflection to capture a stack trace at each step along the way and it appears
to be hanging in a different place each time.

I'm pretty sure it is hung instead of looping because the CPU utilization on
the machine stays pretty much at zero and the memory consumed by the w3svc
process apppears to be nearly static.

The servers are IBM HS20 blade servers configured using IBM's "server
manager" installation disk. They all have the right version of the .NET
framework on them, they are running Server 2003 Standard Edition, and are
patched up to latest & greatest on everything but DirectX (never bother to
install the update but I would think it wouldn't matter).

Now for my questions:

1. Is there some way I can see where the thing is hung?
2. What recommendations can I get from the group on diagnosing the problem?
3. Is there anything special I need to do from an installation perspective
outside of creating the "application" thingy in IIS Manager (right click on
the directory where the application lives and tell it to create a new
application taking the defaults)

Thanks in advance,
Bryan
 
Reply With Quote
 
 
 
 
Jim Douglas
Guest
Posts: n/a
 
      10th Mar 2005
One question do you have other servers, other than blades, that it runs on?
I am facing a wierd problem on three new servers (blade) where out .NET
software does not work, errors, hangs, quits, sorta like yours! Is the the
blades fault? Don't know, is there software differences with our code NO, OS
yes?


"BryanEverly" <(E-Mail Removed)> wrote in message
news:0C516A39-F8B6-48AF-BCC3-(E-Mail Removed)...
> Hi,
>
> I'm struggling with a problem and was hoping that someone on this group
> could point me in the right direction. I'm not looking for a free ride,

just
> a suggestion as to how best to use all the tools at my disposal to

diagnose
> the situation.
>
> I have an existing COM+ / ASP application (the COM+ objects are written in
> VB 6.0) that I am wanting to migrate forward to .NET (using VB.Net). I

have
> added some ASPX pages to the existing application that do relatively

simple
> things such as display lists of data from a SQL Server database, etc. I

have
> successfully deployed the application in a 5 server "Microsoft Load
> Balancing" cluster (the application is designed to be stateless, so this
> works very well).
>
> Everything was fine until I got uppity and decided to add some code that

put
> up entry fields, dropdowns, etc. to allow users to change data in the

system.
> Everything tests out just fine on my Windows XP SP2 development machine

but
> when I deploy the application to the production environment, it randomly
> locks up the entire .NET subsystem. I can still go to other web pages on

the
> server that use COM+ but any ASPX page just hangs when I try to click on

it.
>
> I added a table to the database that allows me to record where I'm at in

the
> application (i.e. a glorified printf function) that gets fancy and uses
> reflection to capture a stack trace at each step along the way and it

appears
> to be hanging in a different place each time.
>
> I'm pretty sure it is hung instead of looping because the CPU utilization

on
> the machine stays pretty much at zero and the memory consumed by the w3svc
> process apppears to be nearly static.
>
> The servers are IBM HS20 blade servers configured using IBM's "server
> manager" installation disk. They all have the right version of the .NET
> framework on them, they are running Server 2003 Standard Edition, and are
> patched up to latest & greatest on everything but DirectX (never bother to
> install the update but I would think it wouldn't matter).
>
> Now for my questions:
>
> 1. Is there some way I can see where the thing is hung?
> 2. What recommendations can I get from the group on diagnosing the

problem?
> 3. Is there anything special I need to do from an installation

perspective
> outside of creating the "application" thingy in IIS Manager (right click

on
> the directory where the application lives and tell it to create a new
> application taking the defaults)
>
> Thanks in advance,
> Bryan



 
Reply With Quote
 
Gerry Hickman
Guest
Posts: n/a
 
      10th Mar 2005
Hi,

In Bryan's case, it could be "almost anything" that's causing the
problem. I've been running ASP.NET for over three years on a perfect
config Windows 2000 server with RAID1 boot and RAID5 data, and not a
single hang (except due to a developer error a few months back). Bryan's
app sounds like a mess to me - you don't use VB6 and VB.NET for COM, but
that may not be the problem. First thing I'd try is write a new test app
that does not use COM and see if that hangs too? If the new app crashes,
you know it's ASP.NET. If it does not crash, you know it's the COM stuff.

Actually, this raises an interesting point which is that .NET may simply
be too risky to run mission critical apps. The ability to track down
these types of errors does not exist in .NET, but it's a no brainer in
C++/COM.

In the case of Jim's servers, the first thing I'd check is whether non
..NET apps are also crashing, or is it only .NET stuff? He doesn't say
what o/s he's running or any other tech info; have all the server
management logs been checked and have all the event logs been checked?
What kind of test apps have been created to track down the problem?

Jim Douglas wrote:

> One question do you have other servers, other than blades, that it runs on?
> I am facing a wierd problem on three new servers (blade) where out .NET
> software does not work, errors, hangs, quits, sorta like yours! Is the the
> blades fault? Don't know, is there software differences with our code NO, OS
> yes?
>
>
> "BryanEverly" <(E-Mail Removed)> wrote in message
> news:0C516A39-F8B6-48AF-BCC3-(E-Mail Removed)...
>
>>Hi,
>>
>>I'm struggling with a problem and was hoping that someone on this group
>>could point me in the right direction. I'm not looking for a free ride,

>
> just
>
>>a suggestion as to how best to use all the tools at my disposal to

>
> diagnose
>
>>the situation.
>>
>>I have an existing COM+ / ASP application (the COM+ objects are written in
>>VB 6.0) that I am wanting to migrate forward to .NET (using VB.Net). I

>
> have
>
>>added some ASPX pages to the existing application that do relatively

>
> simple
>
>>things such as display lists of data from a SQL Server database, etc. I

>
> have
>
>>successfully deployed the application in a 5 server "Microsoft Load
>>Balancing" cluster (the application is designed to be stateless, so this
>>works very well).
>>
>>Everything was fine until I got uppity and decided to add some code that

>
> put
>
>>up entry fields, dropdowns, etc. to allow users to change data in the

>
> system.
>
>> Everything tests out just fine on my Windows XP SP2 development machine

>
> but
>
>>when I deploy the application to the production environment, it randomly
>>locks up the entire .NET subsystem. I can still go to other web pages on

>
> the
>
>>server that use COM+ but any ASPX page just hangs when I try to click on

>
> it.
>
>>I added a table to the database that allows me to record where I'm at in

>
> the
>
>>application (i.e. a glorified printf function) that gets fancy and uses
>>reflection to capture a stack trace at each step along the way and it

>
> appears
>
>>to be hanging in a different place each time.
>>
>>I'm pretty sure it is hung instead of looping because the CPU utilization

>
> on
>
>>the machine stays pretty much at zero and the memory consumed by the w3svc
>>process apppears to be nearly static.
>>
>>The servers are IBM HS20 blade servers configured using IBM's "server
>>manager" installation disk. They all have the right version of the .NET
>>framework on them, they are running Server 2003 Standard Edition, and are
>>patched up to latest & greatest on everything but DirectX (never bother to
>>install the update but I would think it wouldn't matter).
>>
>>Now for my questions:
>>
>>1. Is there some way I can see where the thing is hung?
>>2. What recommendations can I get from the group on diagnosing the

>
> problem?
>
>>3. Is there anything special I need to do from an installation

>
> perspective
>
>>outside of creating the "application" thingy in IIS Manager (right click

>
> on
>
>>the directory where the application lives and tell it to create a new
>>application taking the defaults)
>>
>>Thanks in advance,
>>Bryan

>
>
>



--
Gerry Hickman (London UK)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Person Names Smart Tag don't appear (IM) Jan Kuipers Microsoft Outlook 4 18th Dec 2007 04:06 PM
Need one very very smart person =?Utf-8?B?REVCTkM=?= Windows XP Security 5 25th Apr 2007 09:36 PM
person name smart tag =?Utf-8?B?SnVkaXRo?= Microsoft Excel Misc 0 12th Mar 2007 03:37 PM
Person Names Smart Tag =?Utf-8?B?QnJpYW4=?= Microsoft Outlook Discussion 1 20th Jan 2006 01:15 AM
Smart Tags - Person Name =?Utf-8?B?Q2FybFNwcmFrZQ==?= Microsoft Word Document Management 0 21st Mar 2005 12:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:06 AM.