Thread View: news.software.nntp
3 messages
3 total messages
Started by bill davidsen
Tue, 28 Jul 1998 00:00
inn-2.[01] - still too fragile for production?
Author: bill davidsen
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
33 lines
2037 bytes
2037 bytes
I'm about to give up on inn-2 for the moment, because it doesn't seem robust enough to run under normal conditions. Operating systems do crash, hardware fails, uninteruptable power supplies aren't. Unfortunately the only recovery seems to be to scrap the entire existing article base and rebuild after an unclean shutdown. I have tried rebuilding the history: makehistory -o -O -Iexix.file that works fine... Then I try expireindex: sort -t' ' +1 -2 exix.file | expireindex -a -o -z Can't malloc 0 bytes, Invalid argumentBroken pipe It would appear that makehistory built something that expireindex can't eat. I'm sure there are bad things in the cycbufs, that's why they call it a crash, but I would hope the makehistory has some brains to avoid using corrupted entries. AIX 4.2.1.0, inn-2.0, inn-2.1 doesn't help, and I did replicate it on Linux but it took three stabs of the reset switch (harder filesystem?). Unless someone has some magic I have to bail on this, it's the second time I've lost a ~200GB server to this problem. -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
Re: inn-2.[01] - still too fragile for production?
Author: bill davidsen
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
27 lines
1738 bytes
1738 bytes
In article <6pla8q$c90$1@newssvr09-int.news.prodigy.com>, bill davidsen <davidsen@tmr.com> wrote: | I have tried rebuilding the history: | makehistory -o -O -Iexix.file | that works fine... | | Then I try expireindex: | sort -t' ' +1 -2 exix.file | expireindex -a -o -z | Can't malloc 0 bytes, Invalid argumentBroken pipe | | It would appear that makehistory built something that expireindex can't | eat. I'm sure there are bad things in the cycbufs, that's why they call | it a crash, but I would hope the makehistory has some brains to avoid | using corrupted entries. So far I've found bugs in both makehistory and expireindex, I hope to post patches not later than Monday. -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
Re: inn-2.[01] - still too fragile for production?
Author: bill davidsen
Date: Mon, 03 Aug 1998 00:00
Date: Mon, 03 Aug 1998 00:00
40 lines
2547 bytes
2547 bytes
In article <6pla8q$c90$1@newssvr09-int.news.prodigy.com>, bill davidsen <davidsen@tmr.com> wrote: | I'm about to give up on inn-2 for the moment, because it doesn't seem | robust enough to run under normal conditions. Operating systems do | crash, hardware fails, uninteruptable power supplies aren't. | Unfortunately the only recovery seems to be to scrap the entire existing | article base and rebuild after an unclean shutdown. | | I have tried rebuilding the history: | makehistory -o -O -Iexix.file | that works fine... | | Then I try expireindex: | sort -t' ' +1 -2 exix.file | expireindex -a -o -z | Can't malloc 0 bytes, Invalid argumentBroken pipe On AIX the solution to the 2nd part seems to be to set the overviewmmap to "true," since if you don't expireindex will fail. However, if overviewmmap isn't set back to "false" before start nnrpd as a daemon it seems to run for a while and then just drop new connections. Could be running the system out of VM, didn't spend the weekend doing news after all, my wife dragged me off to have fun. makehistory definitely has a problem, but I don't like my solution well enough to share yet, if you get corruption on a system failure, it happily generates itemsm to expireindex which have non-numeric article numbers and invalid group names. My impression is that the development work for 2.x was done by people who didn't check the non-mmap cases and had really huge machines. And didn't want to support AIX, obviously... -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
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