Home > OS >  How about iis 6.0 is the original connection close is modified to keep Alive
How about iis 6.0 is the original connection close is modified to keep Alive

Time:09-29

Win2003 iis 6, I will be on site properties panel "Keep HTTP connection" on the check, the timeout time for 120 seconds, which is the default setting, but why baidu adsense crawling inside the header, connect the value is "close", not "Keep Alive -" expectations. I expect the IIS stay connected in order to improve the efficiency, thank you,

CodePudding user response:

1, when your Server memory is enough, the KeepAlive=On or Off little influence On the performance of system,
2, when you are on the Server of a static page (mostly in the Html, images, Css, Js), suggested that open the KeepAlive,
More than 3, when your Server for the dynamic request (because connect to the database, more access to file system), KeepAlive off, will save some memory, to save the memory is just can be a Cache file system (the vmstat command Cache in a column), reduce I/O pressure,
PS: when the KeepAlive=On KeepAliveTimeOut set actually is also a problem, set too short, can lead to the Apache frequent connection is established, to cause the Cpu pressure, set up is too long, the system will accumulate useless Http connection, consume large amounts of memory, specific set how much, can adjust constantly, because of your web site to browse and server configuration,
  • Related