Thread View: news.software.nntp
3 messages
3 total messages
Started by Butch Kemper
Thu, 22 Feb 1996 00:00
innd: ME cant dbzstore Cross-device link
Author: Butch Kemper
Date: Thu, 22 Feb 1996 00:00
Date: Thu, 22 Feb 1996 00:00
31 lines
1455 bytes
1455 bytes
The expire process said:
Expire messages:
expire begin Thu Feb 22 01:30:35 CST 1996: (-v1 -l)
Can't store key, No such file or directory
Expire errors: history files not updated.
Article lines processed 831932
Articles retained 717200
Entries expired 114732
Files unlinked 155597
Old entries dropped 112216
Old entries retained 876167
expire end Thu Feb 22 06:40:29 CST 1996
Innd said in the log:
Feb 22 05:53:41 brazos innd: ME cant dbzstore Cross-device link
Can anyone offer me some advice on what is happening and what to do about
it. Things have been running very smoothy until now.
Thanks.
Butch
--
Butch Kemper | Free sound advice available
Brazos Information Highway Services | "95% sound and 5% advice"
409-693-9336 | Refunds cheerfully provided
Re: innd: ME cant dbzstore Cross-device link
Author: kostya
Date: Fri, 23 Feb 1996 00:00
Date: Fri, 23 Feb 1996 00:00
109 lines
3651 bytes
3651 bytes
In article <kemper-2202960852100001@port2.xyplex-2.bihs.net> kemper@bihs.net
(Butch Kemper) writes:
>The expire process said:
>
>Expire messages:
>expire begin Thu Feb 22 01:30:35 CST 1996: (-v1 -l)
> Can't store key, No such file or directory
> Expire errors: history files not updated.
> Article lines processed 831932
> Articles retained 717200
> Entries expired 114732
> Files unlinked 155597
> Old entries dropped 112216
> Old entries retained 876167
> expire end Thu Feb 22 06:40:29 CST 1996
>
>Innd said in the log:
>
>Feb 22 05:53:41 brazos innd: ME cant dbzstore Cross-device link
>
>Can anyone offer me some advice on what is happening and what to do about
>it. Things have been running very smoothy until now.
>
>Thanks.
>
>Butch
>
We had the same problem. Innd crashed twice with this message:
innd: ME cant dbzstore Interrupted system call
Someone said that inn1.4unoff3 survived this. Maybe it was fixed in that
version.
And there were more than two messages. Here is the list of incorrect cancel
messages that I found. Only two of them caused problems.
<312be30f.230929747@news.ak.net>
<312be33a.230973515@news.ak.net>
<312be369.231020511@news.ak.net>
<312be2de.230881309@news.ak.net> *
<312be3b9.231099808@news.ak.net>
<312be3e5.231144236@news.ak.net>
<312be107.230410169@bogus.id.net> *
So expire didn't like that and didn't update any of the history* files. And
that is bad, because it will happen again next night and so on.
In the history file you will find a line with one of those message ids and next
line will have more than one message id in it - ids of cancelled massages. That
second line if too long causes dbzstore to fail. So we need to remove those
second lines.
To fix this I did the following:
1. ctlinnd throttle "fix"
2. removed bad lines from history file - lines that have more than one message
id. I wrote a smiple C program to do that. Run it like this:
fixh >history.n
It creates a new history file without those lines.
3. Then rebuild dbz files:
makehistory -f history.n -r
If everything is ok:
mv history.n history
mv history.n.dir history.dir
mv history.n.pag history.pag
4. ctlinnd go "fix"
Took about 10 minutes on P100 with 110M history.
Here is the source of fixh:
---------------------------------
#include <stdio.h>
#include <string.h>
#define BUFSZ 10000
#define HISTORY "/var/news/etc/history"
char line[BUFSZ];
main()
{
FILE *hp;
char *lp, *gp;
if ((hp = fopen(HISTORY, "r")) == NULL) {
printf("can't open history file\n");
exit(1);
}
while (fgets(line, BUFSZ, hp) != NULL) {
lp = rindex(line, '<');
gp = index(line, '>');
if (!(lp && gp && lp > gp))
fputs(line, stdout);
}
fclose(hp);
}
Re: innd: ME cant dbzstore Cross-device link
Author: Dave Barr
Date: Fri, 23 Feb 1996 00:00
Date: Fri, 23 Feb 1996 00:00
16 lines
1131 bytes
1131 bytes
In article <4gla62$936@kaleka.seanet.com>, <kostya@osd.com> wrote: >innd: ME cant dbzstore Interrupted system call > >Someone said that inn1.4unoff3 survived this. Maybe it was fixed in that >version. There was some code in one of the last unoff releases which would have handled this a bit more gracefully, but obviously it's not perfect yet. unoff4 will fix this. I added code which will ignore such malformed messages for Control: cancel and Supercedes: --Dave
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads