rkt logo

INN FAQ Part 7

NOTE: The maintainers of the INN FAQ stopped publishing in December 1997.
An important update to this topic is provided by Mib Software in the Usenet RKT for Subscribers.

Subject: (7.39) Inn hangs during renumbering the active file


Q: Is it normal for INN to hang during a renumber?

Yes. Innd doesn't accept incoming articles as they might change the
contents of a directory / the number count in active while renumber
tries to adjust these numbers. If it would accept these articles then you
would get '400 File exists writing article file' errors, which you could get
rid of by ctlinnd renumber ...

Internally, renumber is a loop the calls NGrenumber on each group in
active. NGrenumber then renumbers the group. So while Innd is in this
loop it can't accept connections.

If you are worried by the long time the server does not accept
connections,
then do something like (from news.daily):

        while read GROUP hi lo flag ; do
            ctlinnd -s renumber ${GROUP} 2>&1
            sleep ${RENUMBER}
        done <${ACTIVE}

This will renumber separately each group leaving the possibility to
get connections while sleep()ing.

------------------------------

[Source: INN FAQ Part 7 Archive-name: usenet/software/inn-faq/part7]
[Last Changed: $Date: 1997/09/16 01:25:57 $ $Revision: 2.25 $]
[Copyright: 1997 Heiko Rupp, portions by Tom Limoncelli, Rich Salz, et al.]