Difference between revisions of "Microsoft KB Archive/169778"

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - ">" to ">")
 
Line 78: Line 78:
 
<div class="indent">
 
<div class="indent">
  
<span class="kbd userinput"> nntpbld -w <n&gt; </span>
+
<span class="kbd userinput"> nntpbld -w <n> </span>
  
  

Latest revision as of 20:41, 20 July 2020

Article ID: 169778

Article Last Modified on 9/30/2003



APPLIES TO

  • Microsoft Commercial Internet System 1.0 Service Pack 2



This article was previously published under Q169778


SYMPTOMS

After a news server hash table or Group.1st becomes corrupted, it is often necessary to rebuild the server by running the following command:

nntpbld -c -G -e


On a very large news server which contains several gigabytes of news articles, this process can take 24 to 48 hours. During this time the news service must remain offline while the rebuild takes place.

CAUSE

The original version of Nntpbld.exe is not multithreaded and it deletes the existing *.xix files before it attempts to rebuild the server. This adds a great deal of time to the rebuild process.

RESOLUTION

Microsoft has added two switches to the nntpbld command with Service Pack 2 for Microsoft Commercial Internet System. The first switch allows the administrator to bypass deleting the *.xix files, and use the information that already exists to rebuild the hash tables. The second switch allows the command to be multithreaded. These two enhancements greatly decrease the amount of time required to rebuild a news server.

This update adds two switches to the Nntpbld.exe program. The information about these switches is not contained in the documentation.

-w Switch

This switch allows the nntpbld command to be multithreaded. This increases the performance of the rebuild with no negative side effects. An example of this command would be

nntpbld -w <n>


where n is the number of threads to use. The maximum number that can be used is 64 and a value of O defaults to 2 * number of processors.

-x Switch

If this switch is specified, nntpbld does not rebuild the *.xix files; it uses the existing information to rebuild the server. The downside of running a rebuild with this switch is that if the *.xix files are already corrupted, using this command may cause the xover data for that group to also become corrupted, thus causing more problems. Therefore, Microsoft recommends that you run the command and include the -x switch

nntpbld -x -w 64


rather than running it with just the -w switch

nntpbld -w 64


if you are sure only the hash tables are corrupted.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Commercial Internet System, version 1.0.


Additional query words: INN INS NEWS DNEWS NMDIMS

Keywords: kbbug KB169778