Article View: news.software.nntp
Article #38207Re: INN 2.2/CNFS on HP-UX 10.20
From: Russ Allbery
Date: Wed, 23 Jun 1999 00:00
Date: Wed, 23 Jun 1999 00:00
63 lines
3519 bytes
3519 bytes
Paul Mandell <mandellp@ebrd.com> writes: > Has anyone had any sucess running INN 2.2 (with CNFS) on HP-UX 10.20? > Everything looks fine at a glance but I have noticed the occasional > header appearing in the wrong group and the message for that header is > unrelated to the header and the newsgroup. I have checked if it is > crossposted but it is not, it just doesn't seem to belong in that group. Sounds like overview problems. Lots of people have reported overview problems in INN 2.2. I'd love to offer you a solution, but the solution we took with INN 2.3 was to just junk the entire overview scheme in 2.2 in favor of going back to a separate overview file for each newsgroup. > Also my cnfstat is broken and just seems to show a snapshot of the > status of my buffers when I created them. If I use the -a switch I get > the "Oldest" line showing a date stamp of when I last restarted with > rc.news and the "Newest" line showing when I initialised the cycbuffs. > The usage is always 0% with 0.27Mb of each of my 10 1Gb buffers used > which I know is wrong considering it's ben running for a week. No idea what would be causing this. I've not seen this before. cnfsstat just opens the cycbuff and reads the header, so that would seem to indicate that the header isn't getting updated properly, but I would think that would cause far more problems than you're seeing. > I fear this may be related to the way I initialised the cycbuffs. Not > having access to /dev/zero on HP-UX, I plumped for /dev/zero on my > Solaris/SCO box (can remember which) and then created the file there, > compressed and copied across. > I now have made /dev/full (mknod /dev/full c 3 0x3) which seems to > function just as /dev/zero when used with dd. perl -e '1 while syswrite (STDOUT, "\0" x 1024, 1024)' | dd of=/path/... may also be a suitable imitation. I haven't tested that, though. Not familiar with /dev/full. > Should I abandon everything and re-initialise my cycbuffs with > /dev/full? Should I forget INN 2.2 on HP-UX and think about using DNEWS > and/or DIABLO? We've had bad reports on HP-UX, but mostly about mmap(). I don't know if you'd fare better with Diablo; it makes heavy use of shared memory, so you could be trading one problem set for another depending on how good HP-UX's implementation of shared memory is. I've overall been fairly unimpressed by HP-UX, but that's just my personal opinion. Anyway, I don't see why the files you created on your other box wouldn't work; all it wants is a file full of nuls and that should transfer just fine. Actually, all it needs is a file that's the right size and starts with nuls; you can fill it with random junk and I doubt it cares. A one-liner in Perl that just opens the file and does a seek to the right length minus one and writes a single null byte should even work. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yl909bcehx.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<376F50FE.3E4E4EE9@ebrd.com>Show Full Headers
Complete Article Headers
Message-ID: <yl909bcehx.fsf@windlord.stanford.edu> Subject: Re: INN 2.2/CNFS on HP-UX 10.20 Date: Wed, 23 Jun 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <376F50FE.3E4E4EE9@ebrd.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 492910853 Organization: The Eyrie Newsgroups: news.software.nntp