Hmm... weird. I created a FOR loop that called iisvdir.vbs to create 10,000
virtual directories pointing to different directories, and it's munching
through all 10,000 without a stall. The only problem I've been observing is
that WMI will have problems every 1500 vdirs or so (that's a separate bug),
but otherwise, the 10,000th vdir created as fast as the first vdir.
As it's a script, you can easily attach a script debugger like VS to the
script, step through it, and see the exact line of code that's taking a long
time for you. I would be interested to know what line it is.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"David Nickel" <dnickel.RemoveThis@aug.edu> wrote in message
news:qnoemvoq6515dl05pfqulgordoj3e4gh12@4ax.com...
On Tue, 16 Sep 2003 21:14:31 +0200, "Massimo" <barone.RemoveThis@mclink.it>
wrote:
>"www.ttdown.com" <dnickel.RemoveThis@aug.edu> ha scritto nel messaggio
>news:hslemvc6tjufkl31cekr5tmlk3popvtvlv@4ax.com...
>
>> I am doing some testing with II6 and Windows 2003 Server. The
>> webserver will host over 7,000 virtual directories (Student Web
>> Server). When creating the directories with the iisvdir.vbs and
>> iisftpdr.vbs, everything works great at the begininng. But after 1,000
>> directories it takes the scripts longer and longer to complete. My
>> guess is that the vbs scripts are doing some error checking but this
>> is ridiculous. At 5,000 virtual directories it will take the vbs
>> scripts 3 minutes each to create a directory.
>> We are currently using IIS5 and we were hoping that IIS6 was going to
>> fix this problem, before we say the hell with it and go back to
>> Apache. If anybody knows of a more efficient way of creating the
>> virtual directories or any advice that would be useful it would be
>> much appreciated.
>
>Just a guess, but... have you tried creating the vdirs in smaller batches
>(i.e. ~1000 at a time) ?
>This way, you could do some check between them (memory usage ?), and maybe
>take some cleaning measures (restarting IIS ?).
>
>Massimo
I tried that also but have the same problem. It is like to scripts are
looking through the metabase for a duplicate name or something. But
the bigger the metabase gets the longer it takes them.
Thanks,
David<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: IIS6 and mass creation of virtual directories