64-bit highmarks in active files

Russ Allbery rra at stanford.edu
Tue Aug 19 21:53:56 UTC 2008

Julien ÉLIE <julien at trigofacile.com> writes:

> % tail -n2 trigofacile.test.DAT
> 2047483647      test [...]
> 2147483647      test [...]
> % ll
> total 28K
> -rw-rw-r-- 1 news news  12K 2008-08-19 08:27 trigofacile.test.DAT
> -rw-rw-r-- 1 news news 663M 2008-08-19 08:26 trigofacile.test.IDX
> The file trigofacile.test.IDX was correctly updated when I fed the
> article 2,047,483,647.  It is only for an article strictly >
> 2,147,483,647 (considered as 2,147,483,647 by INN) that such an error
> occurs for tradindexed.
> So the gap is not that huge :)

Oh, okay.  So indeed, that's some other problem.  (It's probably
internally wrapping the number and then failing because the number is
below the low-water mark.  I found a bunch of problems with large article
numbers in INN that were going to be hard to fix and then didn't do
anything more along those lines.)

> Hmm...  I see "total 28K"...  It should be "total 663M".  (Unless the
> file is considered as empty and filled with nought?)

Correct, it's a sparse file.

Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

More information about the inn-workers mailing list