[ssundell at pp.htv.fi: Bug#179898: inn2: Problems with history and overview creation]

Marco d'Itri md at Linux.IT
Thu Feb 6 14:19:48 UTC 2003


Any idea?

----- Forwarded message from Sami Sundell <ssundell at pp.htv.fi> -----

Subject: Bug#179898: inn2: Problems with history and overview creation
Reply-To: Sami Sundell <ssundell at pp.htv.fi>, 179898 at bugs.debian.org
From: Sami Sundell <ssundell at pp.htv.fi>
To: Debian Bug Tracking System <submit at bugs.debian.org>

Package: inn2
Version: 2.3.999+20030125-3
Severity: normal
Tags: sid

I'm running inn2 on Debian unstable, in a local setting.

After the latest update something went seriously wrong - Inn2 hanged during
the nightly maintenance.

I tried checking what might be wrong, and finally tried to recreate the
history. Result?

makehistory: no Message-ID header in @030042554646310000000000013000000001@

And the same for every message in spool. Needless to say, there is a
Message-ID for every message.

I tried to check any configuration errors, but so far I haven't found
anything that could have caused this. I have changed nothing for a while,
except the hismethod and all that needed by the upgrade.

I'm using CNFS and timecaf spool methods, and overview data is in ovdb. I
also tried tradindexed, but it changed nothing.

I'm using suck to fetch the news. When suck injects the messages, they work
fine. However, after running the news.daily, inn hangs. Also, the daily
server report lists "Sites sending bad articles", and the "Server" column
has Message-ID's. Weird.

Since the site is only for my personal use, I emptied the spool, fetched
some new articles and retried. No change, inn still hangs and makehistory
finds no Message-ID's.

So, is it just me or is there something severely wrong?

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux server 2.4.19 #1 Fri Nov 15 15:58:07 EET 2002 i686
Locale: LANG=fi_FI, LC_CTYPE=fi_FI

Versions of packages inn2 depends on:
ii  cron                  3.0pl1-73          management of regular background p
ii  exim [mail-transport- 3.36-4             An MTA (Mail Transport Agent)
ii  inn2-inews            2.3.999+20030125-3 NNTP client news injector, from In
ii  libc6                 2.3.1-10           GNU C Library: Shared libraries an
ii  libdb4.0              4.0.14-1           Berkeley v4.0 Database Libraries [
ii  libperl5.8            5.8.0-15           Shared Perl library.
ii  perl                  5.8.0-15           Larry Wall's Practical Extraction 
ii  procps                1:3.1.5-1          The /proc file system utilities
ii  time                  1.7-15             The GNU time command.

-- no debconf information

----- End forwarded message -----
----- Forwarded message from Sami Sundell <ssundell at pp.htv.fi> -----

From: Sami Sundell <ssundell at pp.htv.fi>
To: "Marco d'Itri" <md at linux.it>
Subject: Re: Bug#179898: inn2: Problems with history and overview creation
Reply-To: sami.sundell at iki.fi

On Wed, Feb 05, 2003 at 02:13:22PM +0100, Marco d'Itri wrote:

>  >So, is it just me or is there something severely wrong?

> Just you I fear.
> What hangs, and what is it doing (check with strace -p)?

Extremely good question 8)
I almost hoped that it was a configuration error - it might still be,
but anyway.

I use suck to get the news, and it seems that innd hangs after the
daily maintenance, during the first time that suck tries to inject
messages with the rnews. I'm still not certain about it, but at least
it has done so several times now.

Here's some of the strace for the innd:

select(51, [3 48 50], [], NULL, {300, 0}) = 1 (in [50], left {216,
140000})
gettimeofday({1044532481, 920199}, NULL) = 0
accept(50, 0, NULL)                     = 60
fcntl64(60, F_GETFD)                    = 0
fcntl64(60, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(60, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(60, F_SETFL, O_RDWR|O_NONBLOCK) = 0
time([1044532481])                      = 1044532481
rt_sigaction(SIGPIPE, {0x4030d2be, [], SA_RESTORER, 0x40273898},
{0x401dc6dc, []
, SA_RESTORER|SA_RESTART, 0x40273898}, 8) = 0
send(4, "<60>Feb  6 13:54:41 innd: localh"..., 48, 0) = 48
rt_sigaction(SIGPIPE, {0x401dc6dc, [], SA_RESTORER|SA_RESTART,
0x40273898}, NULL
, 8) = 0
write(60, "200 server.ownnet InterNetNews s"..., 77) = 77
select(61, [3 48 50 60], [], NULL, {300, 0}) = 1 (in [60], left {300,
0})
gettimeofday({1044532481, 922780}, NULL) = 0
read(60, "ihave <40723asstr$1044504605 at ass"..., 8192) = 46
gettimeofday({1044532481, 923099}, NULL) = 0
write(60, "335\r\n", 5)                 = 5
select(61, [3 48 50 60], [], NULL, {300, 0}) = 1 (in [60], left {300,
0})
gettimeofday({1044532481, 923431}, NULL) = 0
read(60, "Message-ID: <40723asstr$10445046"..., 8146) = 4096
select(61, [3 48 50 60], [], NULL, {300, 0}) = 1 (in [60], left {300,
0})
gettimeofday({1044532481, 923903}, NULL) = 0
read(60, "eburns.\r\n\r\n\"I\'m Father Ken,\" he "..., 4050) = 4050
select(61, [3 48 50 60], [], NULL, {300, 0}) = 1 (in [60], left {300,
0})
gettimeofday({1044532481, 924233}, NULL) = 0
mremap(0x4703d000, 12288, 20480, MREMAP_MAYMOVE) = 0x4703d000
read(60, "eping,\" he said.\r\n\r\n\"Oh...\"\r\n\r\n\""..., 8192) =
8192
select(61, [3 48 50 60], [], NULL, {300, 0}) = 1 (in [60], left {300,
0})
gettimeofday({1044532481, 924600}, NULL) = 0
mremap(0x4703d000, 20480, 36864, MREMAP_MAYMOVE) = 0x4703d000
read(60, "This is his room,\" the priest sa"..., 16430) = 16430
select(61, [3 48 50 60], [], NULL, {300, 0}) = 1 (in [60], left {300,
0})
gettimeofday({1044532481, 925027}, NULL) = 0
mremap(0x4703d000, 36864, 69632, MREMAP_MAYMOVE) = 0x4703d000
read(60, "n\r\nhis glass.\r\n\r\n\"About the...ex"..., 32768) = 16384
select(61, [3 48 50 60], [], NULL, {300, 0}) = 1 (in [60], left {300,
0})
gettimeofday({1044532481, 925483}, NULL) = 0
read(60, "rs for\r\nthe benefit of his cock "..., 16384) = 3993
gettimeofday({1044532481, 925702}, NULL) = 0
time(NULL)                              = 1044532481
time(NULL)                              = 1044532481
brk(0)                                  = 0x82a2000
brk(0x82a3000)                          = 0x82a3000
time(NULL)                              = 1044532481
open("/var/log/news/cleanfeed.stats",
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666
) = 62
ioctl(62, SNDCTL_TMR_TIMEBASE, 0xbffff120) = -1 ENOTTY (Inappropriate
ioctl for
device)
_llseek(62, 0, [0], SEEK_CUR)           = 0
fstat64(62, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fcntl64(62, F_SETFD, FD_CLOEXEC)        = 0
time([1044532481])                      = 1044532481
write(62, "Filter started: Thu Feb  6 00:12"..., 3230) = 3230
close(62)                               = 0
time(NULL)                              = 1044532481
brk(0)                                  = 0x82a3000
brk(0x82af000)                          = 0x82af000
time(NULL)                              = 1044532481
lseek(55, 436736, SEEK_SET)             = 436736
writev(55, [{"\0\0\317\232>BM\1\0\0\0\0", 12}, {"Message-ID:
<40723asstr$1044504
6"..., 530}, {"server.ownnet!", 14},
{"nyytiset.pp.htv.fi!fi.sn.net!new"..., 593
}, {"server.ownnet alt.sex.stories.mo"..., 59}, {"\r\n\r\nExile\r\n
\r\n(c) 2003
  Anais Ni"..., 51950}], 6) = 53158
select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)

... and then it continues indefinitely.

There's also the problem with history/Message-ID's - makehistory
doesn't find the Message-ID's, and INN's daily report lists them as
servers in the "Bad article section".

-- 
 Sami Sundell
 sami.sundell at iki.fi

----- End forwarded message -----

-- 
ciao,
Marco


More information about the inn-workers mailing list