🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Paul Mandell Tue, 22 Jun 1999 00:00
INN 2.2/CNFS on HP-UX 10.20
#38197
Author: Paul Mandell
Date: Tue, 22 Jun 1999 00:00
38 lines
2297 bytes
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.

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.

I can get some status reporting by using "scanlogs norotate". The top of
this seems to show similar info to cnfsstat.

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.

I am not using mmap() BTW.

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?

Thanks in advance for your comments and advice.




Re: INN 2.2/CNFS on HP-UX 10.20
#38207
Author: Russ Allbery
Date: Wed, 23 Jun 1999 00:00
63 lines
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/>

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