🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41234

Re: inn 2.2.1 cnfsstat on hpux 10.20

#41234
From: Nicholas Geovanis
Date: Tue, 02 Nov 1999 00:00
53 lines
3032 bytes
On Mon, 1 Nov 1999, Nicholas Geovanis wrote:

> On Mon, 1 Nov 1999, Nicholas Geovanis wrote:
> 
> > Went to 2.2.1 over the weekend on a transfer server. Everything is doing
> > OK (=x crossed fingers) except cnfsstat, which has these two problems:
> >   1) It always reports the very first set of stats which it reported,
> >      ie. the time updates OK but the usage numbers are always identical
> >      to its very first report.
> >   2) "cnfsstat -a" hangs.
> > 
> > All cycbuffs are <= 2GB in size. I spent a little time in the perl
> > debugger with it, and it does seem to be reading the cycbuff headers OK,
> > though I haven't yet checked the conversion-to-printable. 
> 
> Turns-out that the perl "read(BUFF, $buff, $headerlength)" always returns
> the same data for each individual cycbuff. Is this a mmap()-support
> problem? By the way, these cycbuffs are within filesystems, not on top of
> the raw device file, for which HPUX doesn't support mmap().

I'm just talking to myself here :-)

As far as dd and od/xd are concerned, the clearly-out-of-date cycbuff
headers which cnfsstat reads from the cycbuffs are correct. IMHO this
means that mmap() isn't working as CNFS expects. The mystery is how the
filesystem manages to function at all (maybe it isn't, and that's why
you'all aren't responding :-). A secondary mystery is why the out-of-date
cycbuff header condition has persisted across one reboot and several inn
restarts.

The following variables are set to the indicated values by configure on my
platform (HPUX 10.20):

     ac_cv_func_mmap_shared       yes
     ac_cv_func_need_msync        no
     ac_cv_subst_act_style        MMAP
     ac_cv_subst_mmap_sync        DONT

I'm wondering if ac_cv_subst_mmap_sync should be DO instead of DONT. There
have been posts here in the past about alleged incompleteness of HP's
mmap() implementation. I'm afraid that without experimentation I don't
have an informed opinion on the subject, but we can say that the above
values represent the current configure's opinion on the subject. What do
you say?

+-------------------->
| Nick Geovanis
| IT Computing Svcs
| Northwestern Univ
V n-geovanis@nwu.edu


Technical Details
Message-ID: <Pine.HPP.3.93.991102131312.29673A-100000@merle.acns.nwu.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-mail
References: <Pine.HPP.3.93.991101145418.21880C-100000@merle.acns.nwu.edu> <Pine.HPP.3.93.991101152935.11231A-100000@merle.acns.nwu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.HPP.3.93.991102131312.29673A-100000@merle.acns.nwu.edu>
Subject: Re: inn 2.2.1 cnfsstat on hpux 10.20
Date: Tue, 02 Nov 1999 00:00:00 +0000
From: Nicholas Geovanis <nickgeo@merle.acns.nwu.edu>
References: <Pine.HPP.3.93.991101145418.21880C-100000@merle.acns.nwu.edu> <Pine.HPP.3.93.991101152935.11231A-100000@merle.acns.nwu.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-mail
X-Deja-AN: 543646795
Distribution: inet
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Northwestern University, Evanston, IL, US
Mime-Version: 1.0
Reply-To: n-geovanis@nwu.edu
Newsgroups: news.software.nntp