F
frank
Hi all,
I have a largish asp-driven site that's crashing intermittently in a way
that's just causing me to scratch my head a lot. I've not seen this happen in
about five years of developing asp apps. This is what happens:
asp v3
access 2000 database
win 2003 server.
1. It runs on my server and on my test server just fine. Complete test of
every page completes fine.
2. On the production server, it just fails a few times a day. When I say
fails, you don't get any error message, but it just doesn't serve pages. It
sits there and w3wp.exe consumes slowly more memory (About 50k a second), not
returning any pages.
The user experiences a page that is requested, but nothing comes back,
doesn't even timeout.
3. recycling the worker process or restarting IIS clears the problem and it
runs again.
4. It's definitely asp-related becuase when the box is locked up, it still
returns .htm pages and you can still login using remote desktop.
5. I'm pretty good at closing and disposing of objects.
6. We moved the production server to a different box and it made no
difference, still these intermittent freezes.
7. This is the only site on the box.
8. Don't think its an 'infinite loop' problem (where I omitted rs.movenext).
I've been logged into the box by remote access a couple of times when it's
been reported to me by the client and there hasn't been anything like the
100% cpu utilisation I've seen with that problem 1-2% at most.
Questions:
a) Has anyone seen this before? Does anyone know what could be causing it?
b) could using an inappropriate locktype in db connection strings cause this
problem? If not, could connections (But not recordsets) left open cause this
error?
c) is there any way I can get IIS or any other tool to record exactly what
is causing this lurch, or, failing that, record response times for page
requests. Basically, any profiling tips would be really good. I have remote
desktop access to the machine.
Any help greatly appreciated. I'm tearing chunks of hair out here and the
client is livid.
Cheers,
frank
I have a largish asp-driven site that's crashing intermittently in a way
that's just causing me to scratch my head a lot. I've not seen this happen in
about five years of developing asp apps. This is what happens:
asp v3
access 2000 database
win 2003 server.
1. It runs on my server and on my test server just fine. Complete test of
every page completes fine.
2. On the production server, it just fails a few times a day. When I say
fails, you don't get any error message, but it just doesn't serve pages. It
sits there and w3wp.exe consumes slowly more memory (About 50k a second), not
returning any pages.
The user experiences a page that is requested, but nothing comes back,
doesn't even timeout.
3. recycling the worker process or restarting IIS clears the problem and it
runs again.
4. It's definitely asp-related becuase when the box is locked up, it still
returns .htm pages and you can still login using remote desktop.
5. I'm pretty good at closing and disposing of objects.
6. We moved the production server to a different box and it made no
difference, still these intermittent freezes.
7. This is the only site on the box.
8. Don't think its an 'infinite loop' problem (where I omitted rs.movenext).
I've been logged into the box by remote access a couple of times when it's
been reported to me by the client and there hasn't been anything like the
100% cpu utilisation I've seen with that problem 1-2% at most.
Questions:
a) Has anyone seen this before? Does anyone know what could be causing it?
b) could using an inappropriate locktype in db connection strings cause this
problem? If not, could connections (But not recordsets) left open cause this
error?
c) is there any way I can get IIS or any other tool to record exactly what
is causing this lurch, or, failing that, record response times for page
requests. Basically, any profiling tips would be really good. I have remote
desktop access to the machine.
Any help greatly appreciated. I'm tearing chunks of hair out here and the
client is livid.
Cheers,
frank