PDA

View Full Version : Site search script!


Reformer
11-12-2003, 12:34 PM
Isnt there a site search script that doesnt kill the harddrives, like a script that makes a txt file with all your online files and then searches in the txt file rather then searching the hdd and in that way just killing your hd.

There is this funtion in raiden for dupecheck.. you can add your online/offline files and it checks the file when someone is uploading. This should work with search to i think!

wooolF[RM]
11-12-2003, 12:39 PM
Originally posted by Reformer
searching the hdd and in that way just killing your hd. So u're trying to say that [Windows button]+[F] (search function) implemented by Windows on all Windows OS killing your HDD? What a noncense :p :D

ioA have search function :)

Reformer
11-12-2003, 12:57 PM
Originally posted by wooolF[RM]
So u're trying to say that [Windows button]+[F] (search function) implemented by Windows on all Windows OS killing your HDD? What a noncense :p :D

ioA have search function :)

no.. but how often do you use it.. think of users using site search like ALOT.. i dont think its good for the hdd in time..

and ioa site search are using the windows search it seems.. well.. i think its better with a database search.

Zer0Racer
11-12-2003, 01:43 PM
I'm not gonna repost. Hey Reformer, read this: http://www.ioftpd.com/board/showthread.php?s=&postid=12045#post12045

ioA searches 15000 dirs in a second, if not less. Just set it up properly.

wooolF[RM]
11-12-2003, 01:47 PM
Originally posted by Reformer
no.. but how often do you use it.. think of users using site search like ALOT.. i dont think its good for the hdd in time..

and ioa site search are using the windows search it seems.. well.. i think its better with a database search. do u have ANY idea how fast and how many times hdd head writes to the HDD? and how many times it reads... u should invistigate some then :rolleyes:

Reformer
11-12-2003, 07:09 PM
Originally posted by wooolF[RM]
do u have ANY idea how fast and how many times hdd head writes to the HDD? and how many times it reads... u should invistigate some then :rolleyes:

does it matter?

if you could either run or walk and you would come to the same point @ the same time.. what would you do.. i would walk.. so what i mean if there is a way thats not as tuff for the hdd as another.. why do it in the hard way.. i mean.. whatever you say, the hdd will get worn out faster if you read or write with it all the time.. when you got like 15-20 users downloading and uploading and at the same time.. maybe 3 users are searching the entire hd's.. it has to work more and it gets warmer.. warmer hdds isnt as good as less warm hdd's.. thats my point..

Reformer
11-12-2003, 07:11 PM
Originally posted by Zer0Racer
I'm not gonna repost. Hey Reformer, read this: http://www.ioftpd.com/board/showthread.php?s=&postid=12045#post12045

ioA searches 15000 dirs in a second, if not less. Just set it up properly.

cant read that thread

wooolF[RM]
11-13-2003, 07:17 AM
Originally posted by Reformer
it has to work more and it gets warmer.. warmer hdds isnt as good as less warm hdd's.. thats my point.. Normally when people run a server they think of cooling... but of course not everyone think of it... or think at all :rolleyes:

Reformer
11-13-2003, 10:43 AM
Originally posted by wooolF[RM]
Normally when people run a server they think of cooling... but of course not everyone think of it... or think at all :rolleyes:

well.. ive built an own rack for the hdds with 2 100mm fans from each side.. so.. your not talkiing about me :) hehe

Harm
11-13-2003, 11:45 AM
Reformer: you can't see that thread because you aren't a registered ioFTPD user.

ioA search works very well when it is configured properly.

Some examples (thanks to Zer0Racer):

Search_Path=<physical path>|<VFS path>|<level to be searched>
You don't need to ask ioA to search through 99 levels of directories where only 1 or 2 would be enough.
Searching for files isn't really needed.


Anyway, latest ioBanana has a SITE DUPE command. This one searches for dupes in its current_dirs.log file.

WarC
11-13-2003, 05:35 PM
small note. ioA dont use any windows stuff at all. its a brutal recursive function that hammers thrue your dirs. As Zer0Racer says its darn fast if correcly configured.