From: Todd Vargo on 8 Dec 2009 16:43 Mickey wrote: On Dec 8, 11:23 am, "Pegasus [MVP]" <n...(a)microsoft.com> wrote: > "Mickey" <xyxjunkm...(a)gmail.com> wrote in message > > Could you be a little more specific and explain what exactly you mean with > "hosing the server", in particular when using console commands. Also - what > console command did you use? I am repeating what someone else told me... I have not tried this myself but was just trying to offer them a solution based on what I was told... that using the GUI (Windows Explorer) took an impossibly long time to enumerate the files (longer than an hour) and after any attempted action the process started over and eventually locked up the server requiring a reboot. It's moot now. Someone else is cleaning up the files though I wasn't told how. But it seems to be working. Thanks anyway. ************ If they did it any way other than opening a command prompt and typing DEL "path_to_folder\*.log" then too much effort went into it. Although the deed is done now, if the logs needed to be retained, I was going suggest moving the logs into folders or zip files sorted by date. -- Todd Vargo (Post questions to group only. Remove "z" to email personal messages)
From: Bonno Bloksma on 9 Dec 2009 01:48 Hi Todd, > It's moot now. Someone else is cleaning up the files though I wasn't > told how. But it seems to be working. > Thanks anyway. > ************ > > If they did it any way other than opening a command prompt and typing > DEL "path_to_folder\*.log" then too much effort went into it. I have had a server where I tried to do something like that (also with a routine thet kept generating log files every hour without me knowing about it) and kept getting errors about not having enough ....., don't remember what it was, might have been stack or heap memory. When you are talking about millions of files you will be running into strange limitations. > Although the deed is done now, if the logs needed to be retained, I was > going suggest moving the logs into folders or zip files sorted by date. Might have run into the same problem. I'm not sure a standard ZIP file can handle that many filenames or whether the ZIP program can handle the number of files. In my case even braking it up into a bunch of Del a*.* Del b*.* was not enough, I had to break it up into Del aa*.* Del ab*.* and so on. Made a batch file that did this for me and it ran over a day. Bonno Bloksma
First
|
Prev
|
Pages: 1 2 Prev: runas script to launch batch file Next: Pin/Unpin Programs to/from Start Menu |