Article View: news.software.nntp
Article #36120INN 2.2 on HP-UX 10.20
From: Arthur Hagen
Date: Tue, 23 Mar 1999 00:00
Date: Tue, 23 Mar 1999 00:00
98 lines
4690 bytes
4690 bytes
I've scanned through this as well as the hp news groups quite thoroughly,
but haven't found these problems addressed before.
I'm trying to get INN 2.2 to work properly on a HP-UX 10.20 machine.
First of all, not using cnfs was a very bad idea. It seems that vxfs
can't handle having half a million inodes (even if you've bumped up the
kernel parameters) and will among other things take more than half a
minute for a simple sync, and several minutes to do "bdf". HP support
was unable to help (after installing the patch bundle they put together
for us, the system got *slower*, and now they've given up), so I guess
vxfs simply isn't capable of large busy file systems. Ah well.
So storage API and CNFS it is then.
As we have the HP ANSI C compilers, we wanted to use them, as they sure
create much faster code for the PA-RISC cpu's than gcc does.
That created the first problem. We had to take the path with gcc in it
out, in order not to get gcc. The configure script is *bad*, as it will
still use gnu utilities incompatible with the ANSI C compiler even if
you specify a different cc. Well, on to the real problems.
After a few minor changes (changing LOG_FACILITY, cause syslogd can't
understand news.*, and changing the CFLAGS to "-Ae +O2 +Onolimit +ESlit")
we got it to compile, and installed it. Since there's no /dev/zero
to dd from on HP-UX, and no mkfile command, I had to write a tiny perl
script to create the cycbuff files. Knowing HP-UX and never to trust it,
I kept the file sizes for each cycbuff file at less than 2G.
Time to start.
Then the problems began.
Problem #1:
New articles aren't available until after news.daily has been run.
Some of them never become available, cause they time out before then.
Problem #2:
Stopping innd (ctlinnd shutdown) and restarting it will start up again
with 0 articles in the cycbuffs!
Problem #3:
You can't add another cycbuff while the server is throttled. It will
complain a few dozen times a second to the errlog that the buffer isn't
initialized. And if you stop innd first, see problem #2.
Problem #4:
The overview directory fills up with garbage directories, like
"=?ISO-8859-1?Q?Re:_Con-Erlebnisbericht,_m=F6gl/" and "\304p/".
This looks to me like the header parsing has some serious problems,
and that the name extracted isn't the name of the newsgroup.
Problem #5:
Because vxfs is so unforgivingly slow, I need to run two scripts every
day to find and remove all empty files and directories in the overview
directory. Else the server becomes slower and slower the more files
that's created. Wasn't unified overviews supposed to address this
problem? Why is both overviews and unified overviews created, and the
overviews never cleaned out?
Problem #6:
Sometimes there are entries in the history where the '[' or ']'
characters are part of the msgid hash. Not often, but I suspect it
leads to at least some lost articles.
Running out of space for mmaps and number of open files has been dealt
with, but the above problems still have me baffled. Is it INN 2.2 or
is it HP-UX? Or just the combination? mmap has been turned off, as
some posts regarding older versions of HP-UX and INND seemed to
suggest, but that didn't help any.
The newsfeeds setup (local part) is as following:
ME:\
*,!junk,!local*,!alt.binaries.ware*,!alt.binaires.*,!*.jobs\
::
overview!:\
*\
:Tc,Ao,WhR:/var/news/bin/overchan
innfeed!:\
!*,\
:Tc,Wnm*,S16384:/var/news/bin/startinnfeed
controlchan!:\
!*,control,control.*,!control.cancel\
:Tc,Wnsm:/var/news/bin/controlchan
Other data available on request.
Anyone got any suggestions? "I built it fine with gcc" isn't a helpful
answer here. It's the specific problems that I want to address, and
find out WHY, so the problems can be avoided in the future.
Regards,
--
*Art
Technical Details
Message-ID:
<oju8d7.4us2.ln@flying.broomstick.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-mailShow Full Headers
Complete Article Headers
Message-ID: <oju8d7.4us2.ln@flying.broomstick.com> Subject: INN 2.2 on HP-UX 10.20 Date: Tue, 23 Mar 1999 00:00:00 +0000 From: art@flying.broomstick.com (Arthur Hagen) 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: 458105308 X-Complaints-To: abuse@globalone.no X-Trace: bone.globalone.no 922222022 5413 194.52.172.70 (23 Mar 1999 20:47:02 GMT) Organization: Broomstick Net Services Keywords: HP-UX, HPUX, INN, CNFS Reply-To: art@broomstick.com NNTP-Posting-Date: 23 Mar 1999 20:47:02 GMT Newsgroups: news.software.nntp