473,657 Members | 2,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Nasty problem with the .net site ...

Hi there,

I'm about to commit suicide :) Since a couple of weeks I have a persistent
problem with the performance of my sites (well, actually it's one particular
site). For some reason the site is very unresponsive.

What happens? Well, the site just becomes unresponsive after some time. It
hangs, without giving an error whatsoever, not to the user, no errors in the
Event Viewer either. The processor isn't going sky-high, no excessive
RAM-usage, etc. Everything looks normal.

The funny thing is, this site has worked good for very long time (+3 years),
and there is no significant change. Apparantly something must have changed,
but I can't recall/find what did change.

I'd think it has something to do with a database call that is not being
closed, but I double-checked everything and can't seem to find anything.

What do I do, to get it working again, each time it hangs: I just "recycle"
the AppPool in the IIS Mgmt Console, and then it works again for some time
(depending whether it's busy on the server on not, this can be 2 minutes or 4
to 5 hours).

Does anyone has some kind of advice where I should continue my search? I've
tried a lot of things, like caching data from the database, so I would reduce
my database-traffic (site and database run on separate servers, website is
IIS 6 with aps.net v2.0, database-server is sql2000).

I'm not looking for an exact fix (which should be cool, but with the
information given, I don't see that happening), but would be nice to hear
from you guys if someone had similar problems in the past and how you got it
fixed (or how you could locate the problem).

Tx in advance!

Greetingz,
Koen Hoorelbeke.

Apr 6 '06 #1
4 1234
Have you considered that it may not be a problem with the site, but a problem
with the server. Have you tried loading the site onto another server for
testing purposes to see if it does the same thing.

"Koen Hoorelbeke" wrote:
Hi there,

I'm about to commit suicide :) Since a couple of weeks I have a persistent
problem with the performance of my sites (well, actually it's one particular
site). For some reason the site is very unresponsive.

What happens? Well, the site just becomes unresponsive after some time. It
hangs, without giving an error whatsoever, not to the user, no errors in the
Event Viewer either. The processor isn't going sky-high, no excessive
RAM-usage, etc. Everything looks normal.

The funny thing is, this site has worked good for very long time (+3 years),
and there is no significant change. Apparantly something must have changed,
but I can't recall/find what did change.

I'd think it has something to do with a database call that is not being
closed, but I double-checked everything and can't seem to find anything.

What do I do, to get it working again, each time it hangs: I just "recycle"
the AppPool in the IIS Mgmt Console, and then it works again for some time
(depending whether it's busy on the server on not, this can be 2 minutes or 4
to 5 hours).

Does anyone has some kind of advice where I should continue my search? I've
tried a lot of things, like caching data from the database, so I would reduce
my database-traffic (site and database run on separate servers, website is
IIS 6 with aps.net v2.0, database-server is sql2000).

I'm not looking for an exact fix (which should be cool, but with the
information given, I don't see that happening), but would be nice to hear
from you guys if someone had similar problems in the past and how you got it
fixed (or how you could locate the problem).

Tx in advance!

Greetingz,
Koen Hoorelbeke.
-

Apr 6 '06 #2
Hi Koen,

Sounds like a tricky one. I don't know what to suggest really, other
than turning on as much ASP.NET tracing as you can, and perhaps using
SQL Server Profiler to try and identify any queries, transactions or
connections that aren't terminating properly.

As a temporary measure, maybe you could configure the application pool
to recycle the ASP.NET worker process every hour (or maybe a certain
number of requests) and see if it makes any difference.

Good luck,

Chris

Apr 6 '06 #3
Put away the knife, rope, or (if you're a wuss) pills. Use adplus and
the Win debugging tools to get a look into what's going on with the IIS
process when it "hangs". If you're unable to read the dumps yourself
then try posting to one of the windows debugging forums or contacting
Microsoft PSS.

http://support.microsoft.com/default...b;en-us;286350

Apr 6 '06 #4
Tx for the advice. I tried this one, but the outcome was rather catastrophic
:( Ran it on the webserver (in production) and as a result memory usage went
sky-high. Couldn't get the processes stopped, eventually the machine went
dead. And since I tried it at night (luckily), I had to wait till the
sys-admin went to the colocation to give it a hard reset in the morning.

But I think I found the reason of all my problems. Eventually I could
isolate a webservice which went crazy after a certain amount of time.
Actually the webservice didn't do anything wrong. But I copied it from
another server and on that server it was housed in it's own application. On
the new server it didn't, and for some reason it got mixed up with the parent
application after some load.

Weird that I didn't have this problem in my development environment.

Oh well, learned something again :) It's one of those things that I had to
do under deadline-pressure. Seemed ok to do at that time. Lesson learned:
never give in to mgmt when it comes to critical applications.

Tx all for the input!

Greetingz,
Koen Hoorelbeke.

"wf****@gmail.c om" wrote:
Put away the knife, rope, or (if you're a wuss) pills. Use adplus and
the Win debugging tools to get a look into what's going on with the IIS
process when it "hangs". If you're unable to read the dumps yourself
then try posting to one of the windows debugging forums or contacting
Microsoft PSS.

http://support.microsoft.com/default...b;en-us;286350

Apr 7 '06 #5

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

Similar topics

1
1571
by: Derek Fountain | last post by:
I've received some input from the user's browser, checked it for unpleasant stuff, and determined that it contains characters I'm not happy with. I'd like to store it or email it to an administrator for inspection (so attack types can be monitored and so on). What steps should I take to ensure that the code that delivers the email or writes to the log file doesn't get exploited by something which I know is nasty? I thought of base64...
48
4619
by: Zenobia | last post by:
Recently I was editing a document in GoLive 6. I like GoLive because it has some nice features such as: * rewrite source code * check syntax * global search & replace (through several files at once) * regular expression search & replace. Normally my documents are encoded with the ISO setting. Recently I was writing an XHTML document. After changing the encoding to UTF-8 I used the
7
18909
by: Marek Mänd | last post by:
When using <TABLE rules="all"> Mozilla 1.6 and previous versions draw a nasty interiour border, which doesnt go away though I have on TD's css border:none set. Is it something wrong with my stylehseet or is it a bug of mozilla? I am asking this because of IE and Opera work differently here. <style>
0
1765
by: Jonas Smithson | last post by:
<div style="position: relative;> <!-- I'm the parent --> blah blah blah <div style="position: absolute; bottom: 0;> <!-- I'm the child --> blah blah blah </div> </div> The bottom of the child div lines up with the bottom of the parent div in Win IE6 and in Win NS6. However, Mac IE5 has a nasty bug -- it lines up the bottom of the child div with the *top of the body* -- I kid you
8
12275
by: Mark Johnson | last post by:
Using: VS 2003 NET C# for Framework and Framework Compact Trying : Moving a Card (Bitmap) as in Solitare (PC + WinCe) Version on OnMouseMove Problem : The affected drawing Area by Invalidate (or Invalidate(Rectangle)) flickers in a nasty way when repainting. This does not happen in the Solitare (PC + WinCe) Versions a well as in a Card game where I have the C++ Source. The use of an empty OnPaintBackground brings no visable results.
19
1805
by: Jerry | last post by:
I managed to narrow this down to a very simple expression. try this: private void Bug() { bool b = false; Test(3, (b || b) && b && !b); } private void Works() {
1
3840
by: Dejan Vesic | last post by:
I found nasty "documentation" bug; ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemglobalizationcultureinfoclasstopic.htm claims that proper culture info name for Serbian (Cyrillic) - Serbia is "Cy-sr-SP" but if you try this, you will get "Culture name Cy-sr-SP is not supported" exception. If you set up culture info via System.Globalization.CultureInfo(0x081A) and than retrieve
1
4874
by: james | last post by:
I am creating an connection string at runtime using decryption (crypto libraries). i have a very unpridictable error while assinging the generated connection string to the connection property. my code is something like this ... Public Function DbconnStr(ByVal UID As String, ByVal Pwd As String, _ ByVal ServerName As String,
5
1269
by: Mark Olbert | last post by:
I just spent several frustrating hours tracking down a subtle problem involving a simple web page. I'm sharing the solution so as to spare others a similar experience. The web page has only three controls, all of which are bound to SqlDataSource controls: two dropdowns and a repeater. However, the contents of the second dropdown depend upon the selection made in the first dropdown, and the contents of the repeater depend upon the...
0
8392
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
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,...
0
7321
agi2029
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...
1
6163
isladogs
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...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1607
bsmnconsultancy
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...

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.