🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Steinar Haug Fri, 16 Jun 1995 00:00
Re: [newgroup+MMAP] problem on HP-UX running INN1.4 - long
#3649
Author: Steinar Haug
Date: Fri, 16 Jun 1995 00:00
27 lines
1645 bytes
> I've been using MMAP for history and active for quite a while without
> any problems so far and am running on a HP 715, hpux 9.01. I'll mail
> ya my patches, kernel configs and inn configs seperately since its pretty
> long.

I've also been using MMAP for history and active on HP, and hadn't seen
any problems until recently. However, during the last few days I've seen
two cases of the following:

1. ctlinnd pause
2. ctlinnd newgroup (repeated quickly several times, as in pasting from
another window)
3. ctlinnd reload active

and the active file is corrupted (and innd dies when I do ctlinnd go).

It doesn't seem to happen unless I do the ctlinnd newgroup commands
rapidly.

I'm not sure these problems are related to MMAP, but the active file
corruption is quite clear. Fortunately I usually make a backup before
I create many groups...

Steinar Haug, SINTEF RUNIT, University of Trondheim, NORWAY
Email: Steinar.Haug@runit.sintef.no

Re: [newgroup+MMAP] problem on HP-UX running INN1.4 - long
#3648
Author: Dave Barr
Date: Fri, 16 Jun 1995 00:00
24 lines
1629 bytes
In article <STEINAR.HAUG.95Jun16212047@bokfink.runit.sintef.no>,
Steinar Haug <Steinar.Haug@runit.sintef.no> wrote:
>1. ctlinnd pause
>2. ctlinnd newgroup (repeated quickly several times, as in pasting from
>another window)
>3. ctlinnd reload active
>
>and the active file is corrupted (and innd dies when I do ctlinnd go).

Yes, this is a long-standing known bug.  multiple newgroups or rmgroups
while the server is paused/throttled will hose the active file.

I'm not sure if the fix incorporated in my unoff1 release cures
the problem, though it's supposed to help.

The workaround is not not pause the server.  The "reload active"
command is never necessary, and is just a waste.  If you want
to do it really quickly, then write a script which appends new entries
to the active and active.times files and run _that_ while the server
is paused and then reload the active file.

--Dave

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