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

aspnet_wp.exe - causing problems..

Hi all,

We have recently adopted to using .net for our web applications which were
previously written in vanilla ASP.

Things have been going ok until recently, or at least its only recently
we've noticed the problems!

It seems that from time to time our .net apps just stop responding, even if
the server is rebooted when its all back up and running the apps will still
not be running, the only solution we have found to this so far is to 'end
process' on the task manager processes for aspnet_wp.exe - as soon as we
then open a web browser and goto one of the apps, it all starts working
again.

The only thing I've managed to find only was an article where the problem
had been identified (kinda) but related to database connections with
Oracle - MS has a fix for this but suggests that its ONLY for the problem in
the article and not a fix for anything else.

I was therefore wondering if anyone else had had the same problem? From
what I've read this thing will stop responding for anywhere up to 3 minutes
before its realises there's a problem stops and starts again - in our
experience here the time has been much longer than 3 minutes and has always
required human intervention.

We are as you can imagine rolling our more and more .net applications
throughout our organisation but this is killing them all, our organisation
is part of the NHS (National Health Service) and therefore some of these
applications are used 24/7 in places such as Accident & Emergency and also
in the Ambulance control centres.

Any help would be appreciated,

Regards

Rob
Nov 18 '05 #1
2 1499
"John Sivilla" wrote ...

Hi John, thanks for your reply..
Do you have any errors in the Event Log?
Thousands...they wont let me periodically clear them down here, to the
extent now where often the event log wont load properly because there are
too many, we have had one or two that mentioned the aspnet_wp though (I
think)..
Did you try shutting down the WWW Publishing service in the Services applet in control panel, instead of rebooting? Or ending the aspnet worker
process through the Task Manager?

The latter, this then makes it work again when you browse to it, but alas as
it happens so randomly it makes it a bit of an issue to keep stopping the
process to make all our applications work again (ie, not really a solution).
If you have Windows Server 2003 and IIS 6 are you using Application Pools to separate the processes within your Web Server? Did you try recylcing
these?

Not running 2003 alas - 2000, IIS5, all sp's are installed, all patches
applied.
I find it strange that a reboot does not fix the problem.
It doesnt appear to - we rebooted the server this morning after a problem
where ALL of the websites stopped responding (ASP/HTML/.net) this was
apparantly due to the updates that were applied by the SUS, however, a
reboot resolved all of that, but then we heard from A&E that their tracking
app wasn't running, indeed it wasn't, so we ended the process and opened a
browser to check it, bingo - working again - of course there is the
possibilty that the reboot DID resolve it, then it died again between that
call and the reboot etc...
Are there any processes which start up at boot time,
not sure to be honest...
or is it possible that users are hitting your site as soon as it comes up?
we have 2 servers in our web cluster, however one is currently out of the
cluster whilst its being rebuilt, therefore when this box came back online
after rebooting it earlier YES, all users would have hit it at the same
time.
It may be a single process that hangs your entire system. This is possible if you are not using Application pools, and/or if you are not isolating your
individual web apps.

They are isolated within IIS.
Did you recently install any new application or software?


nope - only the standard windows updates and so on, but we've always done
those pretty much as soon as they've become available, as I mentioned, its
only recently we've been running the .net apps as before that it was all
ASP...

Regards

Rob
Nov 18 '05 #2
It looks to me that there is one single application that may be causing the problem. Everytime this app or a particular function within the app is hit, it causes the hang.

Therefore the solution would be to track this application or function down.

One way is to shut down each app (put an unavailable page so no users can not hit it), and bring each one up one by one. When the hanging occurs you will have isolated the problem.

Another way, as you say you have you apps isolated within IIS. If you had your application protection set to HIGH on each application, you would not have this problem as only the application causing the problem would be affected. You can set them all to high now if you wish, it should be straightforward. Right click each app in the IIS console and in the Directory Tab, set the Application Protection to High.

Also you can back up the Event Log if you need to keep the records. You really should insist on getting this working properly.

hope this helps,
John

"Rob Meade" wrote:
"John Sivilla" wrote ...

Hi John, thanks for your reply..
Do you have any errors in the Event Log?


Thousands...they wont let me periodically clear them down here, to the
extent now where often the event log wont load properly because there are
too many, we have had one or two that mentioned the aspnet_wp though (I
think)..
Did you try shutting down the WWW Publishing service in the Services

applet in control panel, instead of rebooting? Or ending the aspnet worker
process through the Task Manager?

The latter, this then makes it work again when you browse to it, but alas as
it happens so randomly it makes it a bit of an issue to keep stopping the
process to make all our applications work again (ie, not really a solution).
If you have Windows Server 2003 and IIS 6 are you using Application Pools

to separate the processes within your Web Server? Did you try recylcing
these?

Not running 2003 alas - 2000, IIS5, all sp's are installed, all patches
applied.
I find it strange that a reboot does not fix the problem.


It doesnt appear to - we rebooted the server this morning after a problem
where ALL of the websites stopped responding (ASP/HTML/.net) this was
apparantly due to the updates that were applied by the SUS, however, a
reboot resolved all of that, but then we heard from A&E that their tracking
app wasn't running, indeed it wasn't, so we ended the process and opened a
browser to check it, bingo - working again - of course there is the
possibilty that the reboot DID resolve it, then it died again between that
call and the reboot etc...
Are there any processes which start up at boot time,


not sure to be honest...
or is it possible that users are hitting your site as soon as it comes up?


we have 2 servers in our web cluster, however one is currently out of the
cluster whilst its being rebuilt, therefore when this box came back online
after rebooting it earlier YES, all users would have hit it at the same
time.
It may be a single process that hangs your entire system. This is possible

if you are not using Application pools, and/or if you are not isolating your
individual web apps.

They are isolated within IIS.
Did you recently install any new application or software?


nope - only the standard windows updates and so on, but we've always done
those pretty much as soon as they've become available, as I mentioned, its
only recently we've been running the .net apps as before that it was all
ASP...

Regards

Rob

Nov 18 '05 #3

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

Similar topics

0
by: Jason Hinsperger | last post by:
We have built an ADO.NET data provider which is causing a problem in aspnet applications, in the VS.NET development environment only The first time the aspnet application is run, everything works...
0
by: Simon McCulloch | last post by:
Hi all I have an ASP.net website that uses an aspx page locate and stream a file to an authenticated user and I'm getting the error Aspnet_wp.exe (PID:XXXX) stopped unexpectedly which the user...
2
by: Akoni | last post by:
Hello, I have written a ASP.NET (C#) front-end that connects to an unmanaged win32 c++ dll. A few problems occur: -I am unable to use the IO stream (write to an event log) from the dll....
2
by: RaptorsFan | last post by:
aspnet_wp process accumulates memory usage up to the point when it's more than 60% of available RAM (2G) and none of .NET applications function. Sometimes user is able to login, navigate between...
2
by: theyas | last post by:
Windows XP SP2, VS 2003, IIS 5.1, IE 6.0, Symantec AV 9.0.0.xxx After upgrading my system to XP SP2, I have not been able to debug. After working through various other problems, I'm down to the...
4
by: Patrick Olurotimi Ige | last post by:
Looked into our aspnet_wp and its using up memory!!! Is there a way to reduce the memory usage some how.. Cos it was always going up and up but when the admin resets it. it went down any ideas? ...
1
by: Feng | last post by:
Hi, I am trying to debug an asp.net application problem: From time to time, the aspnet_wp process running on our web server suddenly goes up to 99% of CPU usage and since the app supports may...
2
by: Sidharth | last post by:
Hello, We are experiencing some issues with the aspnet_wp process on our live servers. The problems are intermittent and we cannot reproduce it on our dev and test servers. Currently around...
4
by: Derek | last post by:
Hello All, We're running an ASP.NET application which appears to have an issue that we can't seem to troubleshoot. At time aspnet_wp will all of a sudden jump to using all the available CPU on...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.