Permanent pread of history.hash file

Sebastian Wiesinger inn at tracker.fire-world.de
Thu Jul 10 20:11:57 UTC 2008


Hi!

While transferring my articles from one INN to another, I noticed that
the new innd almost permanently does a pread on the history.hash file.

This didn't stop after the transfer was finished, and is still
happening. Both systems run Debian 4.0 with inn 2.4.3. The old system
was a 32bit system, the new one is an amd64 x86_64 system.

This was not happening with the old innd.

strace'ing the new inn gives constant preads like this:

pread(13, "\220\20470\3t", 6, 44838060) = 6
pread(13, "\241\32:;\315\362", 6, 44838066) = 6
pread(13, "\331\214\246D\177A", 6, 44838072) = 6
pread(13, "P\201\363\254\271\345", 6, 44838078) = 6
pread(13, "\34m\201Fr;", 6, 44838084)   = 6
pread(13, "\226\266f\334\335t", 6, 44838090) = 6
pread(13, "\356\33\253\355\301\33", 6, 44838096) = 6
pread(13, "\324c\24\223\332\347", 6, 44838102) = 6
pread(13, "\345\3773b\n%", 6, 44838108) = 6
pread(13, ")w\214\231\207\236", 6, 44838114) = 6


and so on. Endlessly. FD13 is the history.hash:

innd 14714 news 13u REG 9,1 51299112 999478 /var/lib/news/history.hash


On the old system there was nothing like that. I just checked with
another inn and there is no trace of pread. Only output like this:

gettimeofday({1215720351, 96087}, NULL) = 0
write(22, "438 <g55q2u$u0j$1 at svr7.m-online."..., 38) = 38
read(34, "CHECK <g55q2u$u0j$1 at svr7.m-onlin"..., 8192) = 40
gettimeofday({1215720351, 96287}, NULL) = 0
write(34, "438 <g55q2u$u0j$1 at svr7.m-online."..., 38) = 38
select(55, [3 13 15 21 22 23 34 41 50 54], [], NULL, {300, 0}) = 1 (in [54], left {299, 972000})
gettimeofday({1215720351, 124522}, NULL) = 0
read(54, "CHECK <g55q2u$u0j$1 at svr7.m-onlin"..., 4096) = 40
gettimeofday({1215720351, 124657}, NULL) = 0
write(54, "438 <g55q2u$u0j$1 at svr7.m-online."..., 38) = 38
select(55, [3 13 15 21 22 23 34 41 50 54], [], NULL, {300, 0}) = 1 (in [50], left {299, 896000})

And other things like writes to the overview files.


Any idea what is going wrong with my new inn? Or is this normal behaviour?


Thanks in advance,

Sebastian

-- 
GPG Key-ID: 0x76B79F20 (0x1B6034F476B79F20)
'Are you Death?' ... IT'S THE SCYTHE, ISN'T IT? PEOPLE ALWAYS NOTICE THE SCYTHE.
            -- Terry Pratchett, The Fifth Elephant


More information about the inn-workers mailing list