namazu-users-en
[Top] [All Lists]

[Namazu-users-en] Re: Namazu-users-en Digest, Vol 1, Issue 1

2004-06-09 07:47:15
At Tue, 8 Jun 2004 09:30:25 +0200 (MEST),
fuerst(_at_)gmx(_dot_)li wrote:
I've set those line inactive and let mknmz run again. It has slowed down,
but I let it run until...who knows...(started at Friday, now it's file 36141
out of 60603 files). 
Is it possible it get slower and slower the more files are to dig? It's not
moving right now, but over the night it has done some files (4000 files)?

Yes, mknmz will be slow when the target files are growing. mknmz uses
File::Find perl module to digging directories, and it's very slow.

If you want to get faster, try to the following sequence:

$ find $dir -type f > filelist
$ mknmz -F filelist

find(1) is faster than File::Find.
-- 
NOKUBI Takatsugu
E-mail: knok(_at_)daionet(_dot_)gr(_dot_)jp
        knok(_at_)namazu(_dot_)org / knok(_at_)debian(_dot_)org
<Prev in Thread] Current Thread [Next in Thread>