View Complete Thread
  • Re: Error 500.13 (Server too busy) with many sites on one machine

    Mar 04, 2008 12:03 AM|jn00s|LINK

    Hi,
    I am still trying to find the cause and solution to this problem. No matter what I do I cannot host more than 80 sites per web server, regardless of available resources. Performance monitor shows ASP Requests Queued hovering at around 140 with the server fully loaded. Given there are 3000 available queue slots this seems just about right for a busy server. I tried turning on IIS logging for one of the sites that was throwing the 500.13 error and it did not seem to give me any clues but here's a sample anyway:

    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2008-03-04 04:45:33
    #Fields: date time cs-method cs-uri-stem cs-uri-query s-port cs-username sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken 
    2008-03-04 04:45:33 GET /Default.asp |-|ASP_0148|Server_Too_Busy 80 - 500 0 0 1765 459 31
    2008-03-04 04:45:33 GET /Default.asp |-|ASP_0148|Server_Too_Busy 80 - 500 0 0 1765 459 31
    2008-03-04 04:45:34 GET /Default.asp |-|ASP_0148|Server_Too_Busy 80 - 500 0 0 1765 459 15
    2008-03-04 04:45:34 GET /Default.asp |-|ASP_0148|Server_Too_Busy 80 - 500 0 0 1765 459 15
    2008-03-04 04:45:34 GET /Default.asp |-|ASP_0148|Server_Too_Busy 80 - 500 0 0 1765 459 15
    2008-03-04 04:45:35 GET /Default.asp |-|ASP_0148|Server_Too_Busy 80 - 500 0 0 1765 459 31
    2008-03-04 04:45:35 GET /Default.asp |-|ASP_0148|Server_Too_Busy 80 - 500 0 0 1765 459 31
    

    The pages on the working sites don't seem to be hanging up at all, everything is responding very quickly. I am using ASPCache for dataset caching so db access is minimal, my SQL server is nearly idle.

    One other observation I made is that sometimes the non-working sites will start working a few minutes after first being tried. However simply hitting them does not seem to cure the problem. I set up a script to hit all 340 sites in succession every 20 minutes and record how many are up and how many are down. Regardless of how many servers I have or how fast their hardware is, I can get no more than about 80 sites to work on each server. I recently consolidated from 3 weaker servers to one very fast server and the results were quite predictable given the 80 site/server rule. Before I was averaging about 200 sites up (out of 340 total) and now with everything on one server I'm averaging about 60, occasionally peaking in the 80s.