title: Monitoring AppDomain resources and setting thresholds
body: <p>My company hosts components authored by third parties.  Each component is hosted in its own AppDomain, but may share a server with other components.  Recently, I believe that one or more badly written components have been misbehaving and consuming too many resources, causing server crashes.  I would like to be able to:</p>
  
  <ol>
  <li><p>Ascertain which component is the guilty party or, in other words, to determine how many resources each component's appdomain is comsunimg (memory, OS handles, CPU cycles etc).</p></li>
  <li><p>Put thresholds on appdomains, so even if a component does go crazy, the resources it can consume are limited, and it should hopefully not affect the performance of other components on the same server.</p></li>
  </ol>
  
  <p>Anyone got any ideas?</p>