title: High CPU and Memory usage from .NET MVC app
body: <p>We are seeing a very high amount of CPU and memory usage from one of our .NET MVC apps and can't seem to track down what the cause of it is. Our group does not have access to the web server itself but instead gets notified automatically when certain limits are hit (90+% of CPU or memory). Running locally we can't seem to find the problem. Some items we <em>think</em> might be the culprit </p>
  
  <ul>
  <li>The app has a number of threads running in the background when users take certain actions</li>
  <li>We are using memcached (on a different machine than the web server)</li>
  <li>We are using web sockets</li>
  </ul>
  
  <p>Other than that the app is pretty standard as far as web applications go. Couple of forms here, login/logout there, some admin capabilities to manage users and data; nothing super fancy.</p>
  
  <p>I'm looking at two different solutions and wondering what would be best.</p>
  
  <ol>
  <li>Create a page inside the app itself (available only to app admins) that shows information about memory and CPU being used. Are there examples of this or is it even possible?</li>
  <li>Use some type of 3rd party profiling service or application that gets installed on the web servers and allows us to drive down to find what is causing the high CPU and memory usage in the app. </li>
  </ol>