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

asp pages hang randomly

I have a Windows 2003 Server Web running 5 web sites. Every few days, the
ASP pages stop responding. There are no events in the event log. The HTML
pages are still served successfully. These pages have no database
interaction (others use MySQL). I have to restart IIS in order for the pages
to work again.

I haven't been able to find anything about this issue on the web. Has
anyone seen this before? Any idea how to fix it?

Thanks.
Jul 22 '05 #1
7 2288
It could be some odd problem which hangs the application process. I've
experienced something similar on my testing server...

in my case it was because of Norton AntiVirus whose ScriptBlocking was
causing the process (an instance of dllhost.exe run under user
IWAM_machinename) to hang at 100% CPU everytime a page tried to access
FileSystemObject methods. The only solution in this case is to disable the
ScriptBlocking feature (if FSO is really needed) or to replace
FileSystemObject calls with calls to ADODB.Stream, which doesn't (much
strangely) get blocked. I've heard that also McAfee Viruscan has a similar
function, which causes similar problems.

Otherwise... you should just check if there might be a conflict with any
other software installed on your server.
Regards
"Randall" <Ra*****@discussions.microsoft.com> ha scritto nel messaggio
news:65**********************************@microsof t.com...
I have a Windows 2003 Server Web running 5 web sites. Every few days, the
ASP pages stop responding. There are no events in the event log. The HTML pages are still served successfully. These pages have no database
interaction (others use MySQL). I have to restart IIS in order for the pages to work again.

I haven't been able to find anything about this issue on the web. Has
anyone seen this before? Any idea how to fix it?

Thanks.

Jul 22 '05 #2
I'd suggest you study the IIS logs to find if it is related to just one ASP
page. Then put in oodles of error checking and/or write you own text log on the
server. At a minimum, write an entry for the entry and exit of the ASP code.
Then, when it does fail, you have your own log to tell you what is going on.

Brian

Jul 22 '05 #3
Thanks. I'll make a note to check the server load the next time this
happens, although I don't recall any slow response times when poking around
looking at logs and event viewer records. The server is running McAfee. I
don't know the code well enough to recall whether FileSystemObjects are used.
I'll look for that.

The server is pretty slim on software. It's pretty close to out-of-the-box
Windows 2003 Web. It ran flawlessly for about 6-7 months, and is now
problematic with no software changes, upgrades, installations...only MS
patches.

"andrea azzini" wrote:
It could be some odd problem which hangs the application process. I've
experienced something similar on my testing server...

in my case it was because of Norton AntiVirus whose ScriptBlocking was
causing the process (an instance of dllhost.exe run under user
IWAM_machinename) to hang at 100% CPU everytime a page tried to access
FileSystemObject methods. The only solution in this case is to disable the
ScriptBlocking feature (if FSO is really needed) or to replace
FileSystemObject calls with calls to ADODB.Stream, which doesn't (much
strangely) get blocked. I've heard that also McAfee Viruscan has a similar
function, which causes similar problems.

Otherwise... you should just check if there might be a conflict with any
other software installed on your server.
Regards
"Randall" <Ra*****@discussions.microsoft.com> ha scritto nel messaggio
news:65**********************************@microsof t.com...
I have a Windows 2003 Server Web running 5 web sites. Every few days, the
ASP pages stop responding. There are no events in the event log. The

HTML
pages are still served successfully. These pages have no database
interaction (others use MySQL). I have to restart IIS in order for the

pages
to work again.

I haven't been able to find anything about this issue on the web. Has
anyone seen this before? Any idea how to fix it?

Thanks.


Jul 22 '05 #4

Randall wrote:
I have a Windows 2003 Server Web running 5 web sites. Every few days, the ASP pages stop responding. There are no events in the event log. The HTML pages are still served successfully. These pages have no database
interaction (others use MySQL). I have to restart IIS in order for the pages to work again.

I haven't been able to find anything about this issue on the web. Has anyone seen this before? Any idea how to fix it?


Put all apps on HIGH ISOLATION, then install Process Explorer from Sys
Internals and you can view each app and see what memory and CPU usage
it takes up.

Jul 22 '05 #5

I've had another occurrence of this situation today. During the incident, I
checked the 3 sites that use ASP, and HTML pages were viewable successfully,
but all ASP pages stopped working. The system usage was quite low (CPU
around 5-8%; memory: 450MB of 1GB).

I noticed one thing that has me doing further research. There was a process
named W3WP.exe that had memory usage of 380 MB. It wasn't actively using any
CPU time. After restarting IIS, the memory usage reset to about 30 MB, and
now after about 3 hours, it's back up over 100 MB again and climbing. Does
this sound right?

Since I'm running IIS 6, I believe that by default the apps run in High
Isolation. I'm at a loss regarding how to fix this. Any other ideas that
come to mind?
Jul 22 '05 #6

I've had another occurrence of this situation today. During the incident, I
checked the 3 sites that use ASP, and HTML pages were viewable successfully,
but all ASP pages stopped working. The system usage was quite low (CPU
around 5-8%; memory: 450MB of 1GB).

I noticed one thing that has me doing further research. There was a process
named W3WP.exe that had memory usage of 380 MB. It wasn't actively using any
CPU time. After restarting IIS, the memory usage reset to about 30 MB, and
now after about 3 hours, it's back up over 100 MB again and climbing. Does
this sound right?

The system is running IIS 6, which I believe means that the apps run in High
Isolation by default. Any other ideas regarding what to try? I'm at a loss.

Jul 22 '05 #7
"la**********@yahoo.com" wrote:
<snip>
Put all apps on HIGH ISOLATION, then install Process Explorer from Sys
Internals and you can view each app and see what memory and CPU usage
it takes up.


Larry, what does Process Explorer display that isn't available in the task
manager? The interfaces and information look very similar.

Sorry about the duplicate posts. I guess the error message about expired
sessions wasn't totally accurate.
Jul 22 '05 #8

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

Similar topics

7
by: Joe Doyle | last post by:
After connecting to the internet, after about 5 pages I get an error "ACTIVE SERVICE PAGES CANNOT BE DISPLAYED, SERVER COULD BE DOWN OR DNS ERROR........." and from there I cannot view any more...
4
by: Jerry | last post by:
I recently upgraded my PC from Windows XP Home to XP Professional, so that I can use XP Pro's build in IIS functionality to build ASP pages off of my home PC. I have installed IIS 5.1, configured...
2
by: Alex Rybalov | last post by:
Hi, Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server...
6
by: Murray Jack | last post by:
Hi this is an odd problem i seem to be having Machine Windows 2000 Server IIS5 ..net framework version 1.1 Problem The problem is that after a while (approx 2 hours) of the application...
0
by: Dag Sunde | last post by:
We have a web application running on Win2000 AS/IIS 5.0 Developed using ASP (not ASP.NET), this is set up to run in a medium (pooled) memory space. (DllHost.exe) After installing .NET...
29
by: lec | last post by:
Hi, I'm observing the following: If I commit the following records 1,2,3,4,5,6,7,8,9,10 to the database and the server hangs, I could lose records 5,6,7,8,9 but record 10 is there. How is this...
1
by: changxun | last post by:
I'm running a simulation with one client machine and four server machines (all in the same LAN and running Fedora Core 2 with kernel 2.6.5-1.358smp). The client sends about 1.2 million requests...
4
by: KJS | last post by:
Help, I'm not sure what exactly is happening but I can say this, classic asp pages are not loading on my local dev box. They use to work! Since then I have installed .NET 1.1 Studio (that is...
2
by: Gerry | last post by:
Without bothering with the details (though if you are curious, I'll be glad to explain!). This code functions perfectly under ASP.NET 1.1, but randomly fails under ASP.NET 2.0. More details after...
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...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.