Yaron
Yaron

Reputation: 1620

COMET chat application - IIS7 slows down over time

I have built a chat application which uses this code to push messages to clients (web pages) and to monitor online users and their information. Basically, the code creates and manages a custom thread pool for maintaining the list of connected users & their state.

The application was hosted on a shared hosting account (IIS6), and worked fine.

After moving the site (ASP.Net App) to a dedicated virtual server it seems I have a problem where IIS7 gets slower and slower as time passes, and my only "solution" is to restart IIS.

I am trying to look at the performance counters and have do idea on which one to look.

Upvotes: 2

Views: 1597

Answers (2)

Zuuum
Zuuum

Reputation: 1485

You may try performance optimization tool for IIS -> here

or

Chat sample applications in there

On the other hand, perfmon can be useful : read this article

Upvotes: 3

Kev
Kev

Reputation: 119816

If you have RDP access you should install a performance and memory profiler to see where the bottlenecks are happening.

The RedGate tools are pretty good and come with a 15 day free trial:

Performance Optimization and Debugging

The application may be blocking somewhere, it'd be well worth browsing over to Tess Ferrandez's blog. She has some fantastic articles on tracking down performance and memory issues:

Performance issues and hangs

.NET Debugging Demos - Information and setup instructions

Upvotes: 0

Related Questions