IIS 6 Timeouts - or not timing out - doesn’t timeout - the damn timeouts don’t work!

Posted by: scoopseven 16 years, 1 month ago

When IIS acts up, and won't timeout requests. When IIS Tracer keeps saying Preproc Headers, and the requests pile up and never finish. When you'd love to kick IIS in the head because requests won't time out. When IIS 6 requests don't time out. (I tried really hard here people!) Check the IIS 6 Metabase. Make sure you've enabled IIS so that you can edit the MetaBase directly (It's in /system32/inetsrv/MetaBase.xml) and check for these three line items.

HeaderWaitTimeout="30" ConnectionTimeout="240" MinFileBytesPerSec="240"

The first two settings are in seconds. The third is explained by M$ as... "The time-out period is calculated by dividing the size of the entire response (including headers) by the value of the MinFileBytesPerSec property to obtain a maximum allowable response time, in seconds. For example, a 2-KB response (2,048 bytes) is allowed 8.5 seconds to complete if MinFileBytesPerSec has the default value of 240 bytes per second." Great. More details on these settings can be found here.

Make sure you check these setting immediately as problems start to appear. I've had the MetaBase file revert back to defaults as a result of changing configurations in IIS, changing/editing application pools and who knows what else. Also, after these settings have been changed/edited/added in the MetaBase, reboot. They don't seem to kill any already running requests or take effect unless the computer is rebooted.

Currently unrated

Recent Tweets

Recent Posts






RSS / Atom