Thread View: news.software.nntp
4 messages
4 total messages
Started by system PRIVILEGED account
Wed, 24 Jun 1998 00:00
INN2 and expire policy
Author: system PRIVILEGED account
Date: Wed, 24 Jun 1998 00:00
Date: Wed, 24 Jun 1998 00:00
31 lines
1917 bytes
1917 bytes
Thanks to all the developers for the new release. We have been installing it on a DEC Alpha 3.2c over the past few days. A few bugs thrown up - the two worst being a compiler exit 1 with either GNU or DEC compiler because of a redefined variable, and makehistory -i did not work correctly - left .n files instead. We would like some guidance on the expire philosophy if cnfs storage is used. Expire on full newsfeed is known to be pretty intensive and certainly takes up a couple of hours on our system. If cnfs is truly cyclic then can we not just forget expire and accept by default that the expiry will take place - albeit variably - when the metabuff is full? This would beef up the overall system by removing the necessity for two or three heavy expire processes a day. Is our logic correct or do you get a hit from somewhere else, or can you just plain not do it! Incidentally, as an ISP, it has been great to bind the INN2 to a different address and port on the same Alpha for testing purposes without affecting normal news flow. We are currently trying to feed inn2 from inn1.4unoff to test the cyclic buffers and watch what happens. Havent yet twigged how to get the articles accepted by inn2 but working on it. Stuart McKenzie MANNET (Isle of Man)
Re: INN2 and expire policy
Author: Thomas Neumann
Date: Thu, 25 Jun 1998 00:00
Date: Thu, 25 Jun 1998 00:00
43 lines
2376 bytes
2376 bytes
system PRIVILEGED account <root@mcb.net> writes: > Thanks to all the developers for the new release. We have been installing > it on a DEC Alpha 3.2c over the past few days. A few bugs thrown up - the > two worst being a compiler exit 1 with either GNU or DEC compiler because > of a redefined variable, Have you submitted a patch to fix this 'redefined variable' thingy? > and makehistory -i did not work correctly - left > .n files instead. You need to use '-o' if you don't want .n files. > We would like some guidance on the expire philosophy if cnfs storage is > used. Expire on full newsfeed is known to be pretty intensive and > certainly takes up a couple of hours on our system. With CNFS it should not take that long. > If cnfs is truly > cyclic then can we not just forget expire and accept by default that the > expiry will take place - albeit variably - when the metabuff is full? Yes, almost. The articles in the CNFS get overwritten (and thus expired, in a sense) automatically due to the cyclic nature of the CNFS files, but you still need expire to remove overview records for articles that no longer exist (due to being overwritten within the CNFS). > Incidentally, as an ISP, it has been great to bind the INN2 to a different > address and port on the same Alpha for testing purposes without affecting > normal news flow. We are currently trying to feed inn2 from inn1.4unoff > to test the cyclic buffers and watch what happens. Havent yet twigged how > to get the articles accepted by inn2 but working on it. What's your problem in getting inn2 to accept the articles? -t
Re: INN2 and expire policy
Author: Demo Account
Date: Thu, 25 Jun 1998 00:00
Date: Thu, 25 Jun 1998 00:00
100 lines
4232 bytes
4232 bytes
In article <863ect7iq9.fsf@smart.ruhr.de>, Thomas Neumann <tom@smart.ruhr.de> writes > A few bugs thrown up - the >> two worst being a compiler exit 1 with either GNU or DEC compiler because >> of a redefined variable, > >Have you submitted a patch to fix this 'redefined variable' thingy? will do. pse mail the address to send this to . > >> and makehistory -i did not work correctly - left >> .n files instead. > >You need to use '-o' if you don't want .n files. Other threads running show the error makehistory -i causes a dbzinit error. We read the code and deduced what was wrong - pretty minor really. As is the fact that inncheck not quite up to date, several fields not yet checked for so are reported as 'bad' in inn.conf. On the whole excellent and a VERY good configure. > >> We would like some guidance on the expire philosophy if cnfs storage is >> used. Expire on full newsfeed is known to be pretty intensive and >> certainly takes up a couple of hours on our system. > >With CNFS it should not take that long. > >> If cnfs is truly >> cyclic then can we not just forget expire and accept by default that the >> expiry will take place - albeit variably - when the metabuff is full? > >Yes, almost. The articles in the CNFS get overwritten (and thus >expired, in a sense) automatically due to the cyclic nature >of the CNFS files, but you still need expire to remove overview >records for articles that no longer exist (due to being >overwritten within the CNFS). Good that you say it will take less time and I now realise the requirement for overview to be brought up to date. > >> Incidentally, as an ISP, it has been great to bind the INN2 to a different >> address and port on the same Alpha for testing purposes without affecting >> normal news flow. We are currently trying to feed inn2 from inn1.4unoff >> to test the cyclic buffers and watch what happens. Havent yet twigged how >> to get the articles accepted by inn2 but working on it. > >What's your problem in getting inn2 to accept the articles? OK fixed now. I should have said that we could get outside feeds and posting to work without problem: it was only the feed from the same machine. If it is a help for anybody who only has one machine but wants to keep current news handling going while they test out INN2, here is how we did it. 1 Assign a new ip address and name in the dns - preferably on a different class C to current news service. 2 Say 1.? is called news then 2.0 is news2 3 Use bind address and port fields in inn.conf to reflect news2 and the port you have chosen ( we chose 120 which was not assigned in /etc/services). Set it in /etc/services. 4 Create a feed out of news to news2 (we chose to test with !*,comp.*) 5 Ensure access and incoming in news2 set for incoming feed 6 Alter nntpsend.ctl in news and REMEMBER the port parameter (this is what we forgot :) ) 7 In the DEC Alpha use ifconfig alias command to add the news2 ip address. If I have remembered everything this should now work. Of course I appreciate that if you have a spare machine all this is entirely unncessary, but we dont have a spare UNIX machine - only pentiums as our five servers are dedicated to the web. As a matter of interest we set up one metabuff with three cycbuffs of 10mb each on three separate drives to see what is happening. The speed is truly impressive and no problems with test reading yet. Stuart McKenzie -- Demo Account
Re: INN2 and expire policy
Author: John Line
Date: Mon, 29 Jun 1998 00:00
Date: Mon, 29 Jun 1998 00:00
51 lines
3236 bytes
3236 bytes
In article <6n072g$bo3$1@danube.inka.de>,
Olaf Titz <olaf@bigred.inka.de> wrote:
>When testing my first 2.0-prerelease installation, I've gotten
>corrupted history/overview more than once, so I quickly came up with
>the appended script that does a full rebuild of history and overview.
>(Nb. makehistory with SAPI is _much_ faster than in 1.x, so this isn't
>as scary as it looks.)
This reminds me that I was intending to ask a related question...
I've had a couple of system crashes (memory problems) recently on our main
news server (running 1.7.2), and as with crashes in the past found that some
of the overview files were corrupt (NULs, other junk; on Solaris 2.6). Also
some of the articles being written at the time had junk contents although
the inodes/directories had been updated, but that's also "routine".
Coincidentally, soon after that I saw comments about how critical the
overview data is to INN 2.0 operation (with storage API, at least) - where
for INN 1.7.2 a corrupt overview file may cause a performance hit for the
affected group if it has a lot of articles, but is otherwise ignorable.
With INN 1.7.2 and earlier, crashes have not (so far; I know saying it is
risky :-) trashed anything critical (history, active file) except when the
disk was dying, whereas trashing overview files and article files that were
being written at the time of the crash seems routine. [I've also had a few
harmless junk lines get into the history text file, not a problem.]
Now INN 2.0 has been in use for a while, I'd be interested to hear about
experiences with the different storage methods (and any other differences
that may depend on configuration choices), in general or specific to Solaris
2.x:
(a) How common is it, and how severe are the consequences, for "significant"
INN 2.0 files/data (i.e. ignoring loss of content for a few articles being
written at the time) to be corrupted by crashes? In 1.7.2 and earlier, the
really critical ones seem relatively immune to problems (at least on Solaris
2.x, may vary with OS file-handling strategy).
(b) How quick/easy is to clean up the significant problems, and get INN
running normally again, in those cases? Are there any critical files which
seem prone to getting trashed and cannot be fixed very rapidly before
restarting the server, or done later (with minor impact in the meantime)
with the server already running?
John Line
--
Cambridge University Computing Service - USENET news manager
newsmaster@ucs.cam.ac.uk
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