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 2 1520
"John Sivilla" wrote ...
Hi John, thanks for your reply.. Do you have any errors in the Event Log?
Thousands...the y 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
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...the y 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 fine. However, when the browser is closed (ie. the application is ended) in order to make changes and rebuild the application, there is a problem
Whenever the aspnet application is run after making changes, it causes the aspnet_wp.exe to consume 100%...
|
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 sees as the Server Unavailable page
I am aware of problems using Response.BinaryWrite or Response.WriteFile to download large files and so opted for the chunked method described in the KB article 812406
The problem is that when a user cancels...
|
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.
Although I can successfully use an IO stream when calling the dll from a
regular .net Windows Form.
-The program behaves very inconsitently. Normally I can connect to my
|
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 the pages but can't perform
any operations that generate thing like PDF files using Crystal Reports etc.
Sometimes the application can't even be loaded and sign-in page stays blank.
There are no events that are logged in the event viewer to point to...
|
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 point where "the only
thing I cannot do" (I almost don't dare say that since I'm almost sure to
have something else) is attach to the aspnet_wp process. If I run an ASP.NET
service (which works and would always leave an aspnet_wp process I could...
| |
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?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
|
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 users, we can't see what causing it.
When that happens, all the users will experience an extramly slow response
time (5 mintues or longer per page). But if I wait long enough, it will come
back by itself.
I am really having a hard time debugging...
|
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 twice a day the aspnet_wp process takes 100% of the cpu and
causes the whole website to come to a stand still. We then have to end the
process for the website to become useable. Once the aspnet_wp process
recycled itself and in the event logs it...
|
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 the server and the application will become
unavailable to our users. The only remedy is to restart IIS, at which time
everything returns to normal.
Our application has hundreds of pages in it, how can I track down what page
is causing this to...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |