Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

Large Virtual Directory slow on first access, then fast!

$
0
0

I'm relatively new to IIS 7, but have been using IIS 6 for many years now. I have an existing .net 3.5 web application that serves up some user images from a virtual directory via unc path( ex. \\server1\share1 ). My IIS 6 is blazing fast, and not surprisingly my IIS 7 site on the same server hardware is even faster! My problem is that when IIS 7 is restarted, the first access to the user images is very slow( about 45 seconds ). All subsequent requests are subsecond. I've tested with a unc path that points to an directory with 10 files and the first access becomes subsecond. This leads me to believe that the folder size is the culprit. The share currently have about 150,000 files. I've tried turning compression on and add with no results. Any help would be greatly appreciated.

 


Viewing all articles
Browse latest Browse all 7363

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>