Hi, <snip> > Now, the test. First, I create a big maildir folder with: > > ------------------------------------------------------------ > #!/bin/sh > > set -e > > dir=maildir-test > rm -rf "$dir" > maildirmake "$dir" > > for i in `seq 5000` > do > date=$((10000000+i)) > cat <<EOF > "$dir/cur/$date.1.host:2,S" > From: <a@b.invalid> > Subject: $date > Message-ID: <$d...@vinc17.org> > > test $i > EOF > done > ------------------------------------------------------------ <snip>
the situation becomes much worse if you generate the filenames from a random sequence. Try to replace the command "seq" by "jot" from the package athena-jot like for i in $(jot 5000 1 5000) That makes the numerical order of the files have a random i-node number sequence . -- Regards, jvp. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/mhg7hi$9pq$1...@ger.gmane.org