64-bit highmarks in active files
Julien ÉLIE
julien at trigofacile.com
Tue Aug 19 21:29:29 UTC 2008
Hi Russ,
>> Aug 19 08:27:31 news innd: tradindexed: cannot write index record for 2147483647 in
>> /home/news/work/testserver/spool/overview/t/t/trigofacile.test.IDX: Invalid argument
>> Aug 19 08:27:31 news innd: SERVER cant store overview for @0500000000077FFFFFFF0000000000000000@
>
> My guess is that the problem here is unrelated to the size of the article
> number itself and is due to the gap. The IDX file for tradindexed
> overview has one record per article number, so when you have a gap that
> large, INN tried to create and then mmap a *huge* file. You probably
> don't have enough addressable memory to do that.
% 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 :)
Hmm... I see "total 28K"... It should be "total 663M". (Unless the file
is considered as empty and filled with nought?)
By way of comparison, my local news.lists.filters has 224,424 articles and:
% ll
total 42M
-rw-rw-r-- 1 news news 36M 2008-08-19 22:46 news.lists.filters.DAT
-rw-rw-r-- 1 news news 7,8M 2008-08-19 22:46 news.lists.filters.IDX
--
Julien ÉLIE
« Constitutiones tempore posteriores potiores prioribus. »
More information about the inn-workers
mailing list