Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

IIS6 and mass creation of virtual directories

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  HTTP 405 - Resource not allowed error  
Author Message
dnickel

External


Since: Sep 16, 2003
Posts: 1



(Msg. 1) Posted: Tue Sep 16, 2003 5:45 pm
Post subject: IIS6 and mass creation of virtual directories
Archived from groups: microsoft>public>inetserver>iis (more info?)

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.
Thanks,
David

 >> Stay informed about: IIS6 and mass creation of virtual directories 
Back to top
Login to vote
barone

External


Since: Sep 12, 2003
Posts: 47



(Msg. 2) Posted: Wed Sep 17, 2003 12:14 am
Post subject: Re: IIS6 and mass creation of virtual directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"www.ttdown.com" <dnickel DeleteThis @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<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS6 and mass creation of virtual directories 
Back to top
Login to vote
dnickel1

External


Since: Sep 16, 2003
Posts: 2



(Msg. 3) Posted: Wed Sep 17, 2003 12:14 am
Post subject: Re: IIS6 and mass creation of virtual directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 16 Sep 2003 21:14:31 +0200, "Massimo" <barone.TakeThisOut@mclink.it>
wrote:

 >"www.ttdown.com" <dnickel.TakeThisOut@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 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 4) Posted: Thu Sep 18, 2003 3:38 am
Post subject: Re: IIS6 and mass creation of virtual directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 
Back to top
Login to vote
dnickel1

External


Since: Sep 16, 2003
Posts: 2



(Msg. 5) Posted: Mon Sep 22, 2003 12:13 pm
Post subject: Re: IIS6 and mass creation of virtual directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am calling the iisvdir.vbs and iisftpdir.vbs scripts from a perl
script. I commented out the iisftpdir.vbs script and just created the
web virtual directories and it worked beautifully. I created 6,200
virtual directories in 1 hour and 20 minutes. It looks like the
problem is with the iisftpdir.vbs scripts. If I am not mistaken if you
setup the root of your ftp site to the the root of my userdir
directories it will automatically map to the correct directory based
on the user's login name.

Does anybody know if in IIS6 you still have to use adsutil to set the
Default Logon Domain for Ftp users? Also is there anything special you
have to do to get ftp to map usernames to user directories with the
same name, so I do not have to create 6,0000 plus ftp directories?

Thanks,
David

On Thu, 18 Sep 2003 00:38:51 -0700, "David Wang [Msft]"
<someone.DeleteThis@online.microsoft.com> wrote:

 >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.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 and mass creation of virtual directories 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Automatic creation of virtual directories - Is it possible to set up IIS to automatically add virtual directories for each newly created web/ftp site? If so, how is it done? Thanks Will -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

mass adding domains.. - are there any scripts/3rd party programs that let you mass add domains based on a template/default settings? preferrably it would add site, both web and ftp, and perhaps user too. tips are welcome

virtual directory - I'm trying to add a virtual directory to my Default Web Server on my Windows 2000 box (running IIS 5.0). I can do this successfully, but I want to set the value of AccessFlags. Can someone give me an example of how to do this usin ABO and C++? I've..

Virtual directories - Is it possible to: I have to move a directory of pdf's to another drive. is there a way to have a directory on the C drive point to a directory on the D drive? The C is filling and the pdf's are growning... Thx, L

Virtual Directory Issue - Dear Gurus! (WinXP Pro, VS.NET 2002(VB)) I am currently having a problem with virtual directories. When I create directories under my VS.Net application they dint appear in IIS Manager!! but if you try to create another with the same name it says that...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]