🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Matthew Petach Fri, 09 Feb 1996 00:00
INN1.4unoff3 masters
#4770
Author: Matthew Petach
Date: Fri, 09 Feb 1996 00:00
182 lines
9429 bytes
Hi folx!

I'm doing News administration at a site with 19 INN servers,
and the traffic is hammering our FDDI rings.  We're moving
from full peers to master -> slave relationships to keep
everything synchronized, and we're having no end of
troubles.  Our machines are all pretty much identical 
(see below, I don't want to waste space here).

Also, please respond by email to mpetach@leland.stanford.edu,
since the site I administer is having news problems (otherwise,
I wouldn't be posting).

The problem is that our master has the following
entry in the newsfeeds file:
# 
voyager.internex.net\
        :*\
        :Tf,WnR,Ap:
#

And in the nntpsend.ctl file, we have:
#
voyager.internex.net:voyager.internex.net:5m:-t60 -S -T3600
#


The slave server is started with:
##  RFLAG is set below; set FLAGS as appropriate.
RFLAG=""
## FLAGS="-i0"
FLAGS="-i0 -S clients1.news.internex.net"
 

In my estimation, this should work just fine.  Unfortunately,
it doesn't.  Instead, the master builds up a single batch
file for transfer, innxmit kicks off, begins sending the
file, when the next innxmit starts, it begins accumulating
backlogs in files named bcha00.... with a PID tagged on the
end.  It then starts all over at the beginning of the SAME
batch file it was sending before, and retransmits it.  On
the SLAVE end, I see the initial transfer of articles go
across more or less sucessfully, but then when the next
innxmit kicks off, and it goes back to the beginning of
the file, the slave sees nothing but Duplicate articles,
and I end up with a huge directory full of batches that
never get processed.  Here's an ls -al of the out.going dir:
Client1 NEWS>ls -al
total 23140
   4 drwxr-xr-x   2 news     news        1536 Feb  8 17:14 ./
  14 drwxr-xr-x 430 news     news        6656 Feb  8 11:35 ../
   2 -rw-rw-r--   1 news     news         260 Jan 12 16:38 OVERVIEW!
  48 -rw-rw-r--   1 news     news       24207 Feb  8 11:28 bcha0005g
  28 -rw-rw-r--   1 news     news       13705 Feb  8 11:46 bcha000BX
 152 -rw-rw-r--   1 news     news       76879 Feb  8 11:59 bcha000El
  48 -rw-rw-r--   1 news     news       24142 Feb  7 03:38 bcha000KB
 182 -rw-rw-r--   1 news     news       92239 Feb  8 12:19 bcha000Ky
  40 -rw-rw-r--   1 news     news       19921 Feb  7 03:48 bcha000N7
  28 -rw-rw-r--   1 news     news       13363 Feb  7 03:56 bcha000Pw
   8 -rw-rw-r--   1 news     news        3757 Feb  7 04:07 bcha000Sq
  20 -rw-rw-r--   1 news     news        9653 Feb  8 12:46 bcha000Tk
   8 -rw-rw-r--   1 news     news        3757 Feb  7 04:17 bcha000Vk
  48 -rw-rw-r--   1 news     news       23828 Feb  8 12:54 bcha000Wg
  16 -rw-rw-r--   1 news     news        7992 Feb  8 13:05 bcha000Zb
  16 -rw-rw-r--   1 news     news        7992 Feb  8 13:14 bcha000_t
 688 -rw-rw-r--   1 news     news      341527 Feb  8 13:49 bcha000eM
 384 -rw-rw-r--   1 news     news      182443 Feb  8 14:18 bcha000n0
  46 -rw-rw-r--   1 news     news       22539 Feb  8 14:29 bcha000t7
  40 -rw-rw-r--   1 news     news       20017 Feb  8 14:50 bcha000yy
  62 -rw-rw-r--   1 news     news       31623 Feb  8 15:10 bcha0015E
 704 -rw-rw-r--   1 news     news      347419 Feb  7 21:51 bcha004Q7
 336 -rw-rw-r--   1 news     news      159405 Feb  7 22:26 bcha004VK
  82 -rw-rw-r--   1 news     news       41581 Feb  7 22:42 bcha004Yg
 256 -rw-rw-r--   1 news     news      122211 Feb  7 23:08 bcha004_Z
 138 -rw-rw-r--   1 news     news       70274 Feb  7 23:24 bcha004aM
 608 -rw-rw-r--   1 news     news      298968 Feb  8 00:11 bcha004c1
 400 -rw-rw-r--   1 news     news      194866 Feb  8 00:28 bcha004pt
 368 -rw-rw-r--   1 news     news      175118 Feb  8 00:48 bcha004sn
  96 -rw-rw-r--   1 news     news       48798 Feb  8 00:58 bcha004yX
  16 -rw-rw-r--   1 news     news        7590 Feb  8 01:05 bcha0051T
  92 -rw-rw-r--   1 news     news       46986 Feb  8 01:26 bcha0057h
  28 -rw-rw-r--   1 news     news       13956 Feb  8 01:36 bcha005A.
 168 -rw-rw-r--   1 news     news       85181 Feb  8 01:48 bcha005DY
  96 -rw-rw-r--   1 news     news       48811 Feb  8 01:56 bcha005GQ
  40 -rw-rw-r--   1 news     news       20109 Feb  8 02:06 bcha005JQ
 288 -rw-rw-r--   1 news     news      137020 Feb  8 02:18 bcha005MM
 224 -rw-rw-r--   1 news     news      100288 Feb  8 02:28 bcha005PE
 140 -rw-rw-r--   1 news     news       71253 Feb  8 02:37 bcha005S6
  70 -rw-rw-r--   1 news     news       35759 Feb  8 02:46 bcha005V3
  24 -rw-rw-r--   1 news     news       11804 Feb  8 02:55 bcha005Xt
 320 -rw-rw-r--   1 news     news      153263 Feb  8 03:09 bcha005_r
 288 -rw-rw-r--   1 news     news      134871 Feb  8 03:18 bcha005bm
 240 -rw-rw-r--   1 news     news      107092 Feb  8 03:26 bcha005eg
 224 -rw-rw-r--   1 news     news      100676 Feb  8 03:37 bcha005gx
 224 -rw-rw-r--   1 news     news      100676 Feb  8 03:46 bcha005iX
 168 -rw-rw-r--   1 news     news       85299 Feb  8 04:03 bcha005mE
  34 -rw-rw-r--   1 news     news       16878 Feb  8 04:16 bcha005rL
 848 -rw-rw-r--   1 news     news      421436 Feb  8 04:54 bcha005x5
 608 -rw-rw-r--   1 news     news      301019 Feb  8 05:22 bcha0065a
 448 -rw-rw-r--   1 news     news      218919 Feb  8 05:59 bcha006F7
 100 -rw-rw-r--   1 news     news       50534 Feb  8 06:23 bcha006Ii
   8 -rw-rw-r--   1 news     news        3222 Feb  8 06:35 bcha006KW
 848 -rw-rw-r--   1 news     news      420480 Feb  8 07:39 bcha006LU
 432 -rw-rw-r--   1 news     news      205299 Feb  8 08:20 bcha006RT
 352 -rw-rw-r--   1 news     news      166632 Feb  8 08:38 bcha006aq
 288 -rw-rw-r--   1 news     news      132904 Feb  8 08:55 bcha006dn
  50 -rw-rw-r--   1 news     news       25332 Feb  8 09:08 bcha006ja
 186 -rw-rw-r--   1 news     news       95216 Feb  8 09:17 bcha006mY
 126 -rw-rw-r--   1 news     news       63833 Feb  8 09:27 bcha006pQ
  56 -rw-rw-r--   1 news     news       28287 Feb  8 09:36 bcha006sI
   2 -rw-rw-r--   1 news     news         554 Feb  8 09:45 bcha006vF
 272 -rw-rw-r--   1 news     news      126438 Feb  8 10:08 bcha00713
 164 -rw-rw-r--   1 news     news       83845 Feb  8 10:21 bcha0073z
 162 -rw-rw-r--   1 news     news       82018 Feb  8 10:40 bcha007AB
  82 -rw-rw-r--   1 news     news       41674 Feb  8 10:57 bcha007Fy
 288 -rw-rw-r--   1 news     news      132390 Feb  8 11:11 bcha007Jo
   0 -rw-rw-r--   1 news     news           0 Feb  8 17:14 newshub.internex.net
   8 -rw-rw-r--   1 news     news        3372 Feb  8 17:14 newshub.internex.net.nntp
   2 -rw-rw-r--   1 news     news          38 Feb  8 17:17 voyager.internex.net
10256 -rw-rw-r--   1 news     news     5242329 Feb  8 17:14 voyager.internex.net.nntp
Client1 NEWS>


If anyone has ANY kind of a clue on this PLEASE, please let me know
if you can help.

Here's the machine configurations:

Client1 NEWS>uname -a
SunOS Client1 5.4 Generic_101945-34 sun4m sparc
Client1 NEWS>
# /usr/local/bin/sysinfo
 
        GENERAL INFORMATION
 
Host Name           : Client1
Host Aliases        : client1 
Host Address(es)    : 199.2.14.214 
Host ID             : 80f52282
Serial Number       : 16065154
Manufacturer        : Sun (Sun Microsystems)
System Model        : micro COMPstation 5
Main Memory         : 64 MB
Virtual Memory      : 124 MB
ROM Version         : 
CPU Type            : sparc
App Architecture    : sparc
Kernel Architecture : sun4m
OS Name             : SunOS
OS Version          : 5.4
Kernel Version      : SunOS Release 5.4 Version Generic_101945-34 [UNIX(R) System V Release 4.0]
 
        DEVICE INFORMATION
 
micro COMPstation 5 is a "TWS-2100"
    openprom is a "Open Boot PROM" pseudo device
    iommu0 is a "I/O Memory Management Unit" system bus
        sbus0 is a "SBus" system bus
            espdma is a "SCSI DMA" pseudo device
                esp0 is a "Generic SCSI interface" disk controller
                    c0t1d0 (sd1) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
                    c0t2d0 (sd2) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
                    c0t3d0 (sd3) is a "SEAGATE ST31230N" disk drive
                    c0t4d0 (sd4) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
                    c0t5d0 (sd5) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
            ledma is a "LANCE Ethernet DMA" pseudo device
                le0 is a "AMD Lance Am7990" network interface
    obio0 is a "On Board I/O" system bus
        zs0 is a "Zilog 8530" serial communications chip
        zs1 is a "Zilog 8530" serial communications chip
    cpu0 is a CPU
# 



--
************************************************************************
Matthew Nicholas Petach |buckaroo@medisg, mpetach@leland (.stanford.edu)    
"For every problem, there exists a simple and elegant solution which is 
absolutely wrong." -- J. Wagoner, U.C.B. Mathematics

Re: INN1.4unoff3 masters
#4865
Author: bill davidsen
Date: Mon, 12 Feb 1996 00:00
25 lines
1676 bytes
In article <4fe81d$erv@nntp.Stanford.EDU>,
Matthew Petach <mpetach@nyx.Stanford.EDU> wrote:

| I'm doing News administration at a site with 19 INN servers,
| and the traffic is hammering our FDDI rings.  We're moving
| from full peers to master -> slave relationships to keep
| everything synchronized, and we're having no end of
| troubles.  Our machines are all pretty much identical 
| (see below, I don't want to waste space here).

The problem is that you are dropping the socket before delivering
the entire batch and not rewriting the batch file. Or at any rate
that has been my experience with other systems. The good news is
that it happens with peer feeds as well as slave feeds.

My solution is to run nntplink to deliver the data, which also tends
to keep the feeds in sync, reduces disk use, etc. That's not
optimal, I'm working on another which I plan to deploy in about six
weeks. If it works well I'll post it.
--
	-bill davidsen (davidsen@tmr.com)
"As a software development model, Anarchy does not scale well."
		-Dave Welch

Re: INN1.4unoff3 masters
#5172
Author: Matthew Petach
Date: Thu, 22 Feb 1996 00:00
140 lines
5630 bytes
Matthew Petach (mpetach@nyx.Stanford.EDU) wrote:
> Hi folx!


Boy, I hate following up to myself...

But I've still got problems.  Feel free to post, I'm
reading off Stanford until I can get our site back
up and running.

> I'm doing News administration at a site with 19 INN servers,
> and the traffic is hammering our FDDI rings.  We're moving
> from full peers to master -> slave relationships to keep
> everything synchronized, and we're having no end of
> troubles.  Our machines are all pretty much identical 
> (see below, I don't want to waste space here).

> The problem is that our master has the following
> entry in the newsfeeds file:
> # 
> voyager.internex.net\
>         :*\
>         :Tf,WnR,Ap:
> #


Entry now looks like this:
# 
voyager.internex.net\
        :*,!junk*\
        :Tf,WnR,Ap:
#

> And in the nntpsend.ctl file, we have:
> #
> voyager.internex.net:voyager.internex.net:5m:-t60 -S -T3600
> #

After many suggestings from folks out there (THANKS!), my nntpsend.ctl
file now looks like this:
# voyager.internex.net:voyager.internex.net:5m:-t60 -S -T3600
voyager.internex.net:voyager.internex.net::-t60 -r -S
#

We no longer truncate after an hour, and that seems to eliminate
the bcha* files I was suffering from before, but now we have the
problem that the spool files are never cleared.  The slaves keep
seeing the SAME duplicate articles being sent OVER and over again,
and the batch file is now huge...
1248 -rw-rw-r--   1 news     news      623834 Feb 21 17:48 santaclara01.news.internex.net
44320 -rw-rw-r--   1 news     news     22665527 Feb 21 15:54 santaclara01.news.internex.net.nntp
5008 -rw-rw-r--   1 news     news     2552033 Feb 21 17:48 voyager.internex.net
61936 -rw-rw-r--   1 news     news     31684633 Feb 21 10:24 voyager.internex.net.nntp

I added the -r flag to try to forcefully eliminate entries from
the batch file, but no matter what I do, I can't get it to
clean out articles that it's already sent to the slave.

Please, if you have any clues in this matter, have mercy
on us and let us know anything we can attempt.  It is
destroying our network with retransmitted articles; On
average, we see about 1.3 million duplicate article messages
per day on each of the slave machines.

Thanks a million for your assistance!


> The slave server is started with:
> ##  RFLAG is set below; set FLAGS as appropriate.
> RFLAG=""
> ## FLAGS="-i0"
> FLAGS="-i0 -S clients1.news.internex.net"
>  


> If anyone has ANY kind of a clue on this PLEASE, please let me know
> if you can help.

> Here's the machine configurations:

> Client1 NEWS>uname -a
> SunOS Client1 5.4 Generic_101945-34 sun4m sparc
> Client1 NEWS>
> # /usr/local/bin/sysinfo
>  
>         GENERAL INFORMATION
>  
> Host Name           : Client1
> Host Aliases        : client1 
> Host Address(es)    : 199.2.14.214 
> Host ID             : 80f52282
> Serial Number       : 16065154
> Manufacturer        : Sun (Sun Microsystems)
> System Model        : micro COMPstation 5
> Main Memory         : 64 MB
> Virtual Memory      : 124 MB
> ROM Version         : 
> CPU Type            : sparc
> App Architecture    : sparc
> Kernel Architecture : sun4m
> OS Name             : SunOS
> OS Version          : 5.4
> Kernel Version      : SunOS Release 5.4 Version Generic_101945-34 [UNIX(R) System V Release 4.0]
>  
>         DEVICE INFORMATION
>  
> micro COMPstation 5 is a "TWS-2100"
>     openprom is a "Open Boot PROM" pseudo device
>     iommu0 is a "I/O Memory Management Unit" system bus
>         sbus0 is a "SBus" system bus
>             espdma is a "SCSI DMA" pseudo device
>                 esp0 is a "Generic SCSI interface" disk controller
>                     c0t1d0 (sd1) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>                     c0t2d0 (sd2) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>                     c0t3d0 (sd3) is a "SEAGATE ST31230N" disk drive
>                     c0t4d0 (sd4) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>                     c0t5d0 (sd5) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>             ledma is a "LANCE Ethernet DMA" pseudo device
>                 le0 is a "AMD Lance Am7990" network interface
>     obio0 is a "On Board I/O" system bus
>         zs0 is a "Zilog 8530" serial communications chip
>         zs1 is a "Zilog 8530" serial communications chip
>     cpu0 is a CPU
> # 



> --
> ************************************************************************
> Matthew Nicholas Petach |buckaroo@medisg, mpetach@leland (.stanford.edu)    
> "For every problem, there exists a simple and elegant solution which is 
> absolutely wrong." -- J. Wagoner, U.C.B. Mathematics

--
************************************************************************
Matthew Nicholas Petach |buckaroo@medisg, mpetach@leland (.stanford.edu)    
"For every problem, there exists a simple and elegant solution which is 
absolutely wrong." -- J. Wagoner, U.C.B. Mathematics

Re: INN1.4unoff3 masters
#5252
Author: Al Marti
Date: Sat, 24 Feb 1996 00:00
173 lines
6992 bytes
we ran into this exact same problem.  the problem is that the lines in the
slave batch file get very long when an article is crossposted to many
newsgroups.  if the line is longer than NNTP_STRLEN, which i think in 512,
characters you start overwriting buffers.   we use the following patch to
backends/innxmit.c to fix the problem for us.  it may not be the best way
to do it but it has been working for us for several months with no
problems.

-al



1119,1120c1119
<     /* char           buff[NNTP_STRLEN]; /* scarboro */
<     char              buff[2048]; /* better not have lines longer then this */
---
>     char              buff[NNTP_STRLEN];
1521,1522c1520
<       /* scarboro make sure we do not run over the end of the buff string */
<       (void)sprintf(buff, "%s %.2039s", Slavish ? "xreplic" : "ihave", MessageID);
---
>       (void)sprintf(buff, "%s %s", Slavish ? "xreplic" : "ihave", MessageID);


In article <4ggi87$3ng@nntp.Stanford.EDU>,
Matthew Petach <mpetach@nyx.Stanford.EDU> wrote:
>Matthew Petach (mpetach@nyx.Stanford.EDU) wrote:
>> Hi folx!
>
>
>Boy, I hate following up to myself...
>
>But I've still got problems.  Feel free to post, I'm
>reading off Stanford until I can get our site back
>up and running.
>
>> I'm doing News administration at a site with 19 INN servers,
>> and the traffic is hammering our FDDI rings.  We're moving
>> from full peers to master -> slave relationships to keep
>> everything synchronized, and we're having no end of
>> troubles.  Our machines are all pretty much identical 
>> (see below, I don't want to waste space here).
>
>> The problem is that our master has the following
>> entry in the newsfeeds file:
>> # 
>> voyager.internex.net\
>>         :*\
>>         :Tf,WnR,Ap:
>> #
>
>
>Entry now looks like this:
># 
>voyager.internex.net\
>        :*,!junk*\
>        :Tf,WnR,Ap:
>#
>
>> And in the nntpsend.ctl file, we have:
>> #
>> voyager.internex.net:voyager.internex.net:5m:-t60 -S -T3600
>> #
>
>After many suggestings from folks out there (THANKS!), my nntpsend.ctl
>file now looks like this:
># voyager.internex.net:voyager.internex.net:5m:-t60 -S -T3600
>voyager.internex.net:voyager.internex.net::-t60 -r -S
>#
>
>We no longer truncate after an hour, and that seems to eliminate
>the bcha* files I was suffering from before, but now we have the
>problem that the spool files are never cleared.  The slaves keep
>seeing the SAME duplicate articles being sent OVER and over again,
>and the batch file is now huge...
>1248 -rw-rw-r--   1 news     news      623834 Feb 21 17:48 santaclara01.news.internex.net
>44320 -rw-rw-r--   1 news     news     22665527 Feb 21 15:54 santaclara01.news.internex.net.nntp
>5008 -rw-rw-r--   1 news     news     2552033 Feb 21 17:48 voyager.internex.net
>61936 -rw-rw-r--   1 news     news     31684633 Feb 21 10:24 voyager.internex.net.nntp
>
>I added the -r flag to try to forcefully eliminate entries from
>the batch file, but no matter what I do, I can't get it to
>clean out articles that it's already sent to the slave.
>
>Please, if you have any clues in this matter, have mercy
>on us and let us know anything we can attempt.  It is
>destroying our network with retransmitted articles; On
>average, we see about 1.3 million duplicate article messages
>per day on each of the slave machines.
>
>Thanks a million for your assistance!
>
>
>> The slave server is started with:
>> ##  RFLAG is set below; set FLAGS as appropriate.
>> RFLAG=""
>> ## FLAGS="-i0"
>> FLAGS="-i0 -S clients1.news.internex.net"
>>  
>
>
>> If anyone has ANY kind of a clue on this PLEASE, please let me know
>> if you can help.
>
>> Here's the machine configurations:
>
>> Client1 NEWS>uname -a
>> SunOS Client1 5.4 Generic_101945-34 sun4m sparc
>> Client1 NEWS>
>> # /usr/local/bin/sysinfo
>>  
>>         GENERAL INFORMATION
>>  
>> Host Name           : Client1
>> Host Aliases        : client1 
>> Host Address(es)    : 199.2.14.214 
>> Host ID             : 80f52282
>> Serial Number       : 16065154
>> Manufacturer        : Sun (Sun Microsystems)
>> System Model        : micro COMPstation 5
>> Main Memory         : 64 MB
>> Virtual Memory      : 124 MB
>> ROM Version         : 
>> CPU Type            : sparc
>> App Architecture    : sparc
>> Kernel Architecture : sun4m
>> OS Name             : SunOS
>> OS Version          : 5.4
>> Kernel Version      : SunOS Release 5.4 Version Generic_101945-34 [UNIX(R) System V Release 4.0]
>>  
>>         DEVICE INFORMATION
>>  
>> micro COMPstation 5 is a "TWS-2100"
>>     openprom is a "Open Boot PROM" pseudo device
>>     iommu0 is a "I/O Memory Management Unit" system bus
>>         sbus0 is a "SBus" system bus
>>             espdma is a "SCSI DMA" pseudo device
>>                 esp0 is a "Generic SCSI interface" disk controller
>>                     c0t1d0 (sd1) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>>                     c0t2d0 (sd2) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>>                     c0t3d0 (sd3) is a "SEAGATE ST31230N" disk drive
>>                     c0t4d0 (sd4) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>>                     c0t5d0 (sd5) is a "CONNER-CFP2107S2.14GB-2B4B" disk drive
>>             ledma is a "LANCE Ethernet DMA" pseudo device
>>                 le0 is a "AMD Lance Am7990" network interface
>>     obio0 is a "On Board I/O" system bus
>>         zs0 is a "Zilog 8530" serial communications chip
>>         zs1 is a "Zilog 8530" serial communications chip
>>     cpu0 is a CPU
>> # 
>
>
>
>> --
>> ************************************************************************
>> Matthew Nicholas Petach |buckaroo@medisg, mpetach@leland (.stanford.edu)    
>> "For every problem, there exists a simple and elegant solution which is 
>> absolutely wrong." -- J. Wagoner, U.C.B. Mathematics
>
>--
>************************************************************************
>Matthew Nicholas Petach |buckaroo@medisg, mpetach@leland (.stanford.edu)    
>"For every problem, there exists a simple and elegant solution which is 
>absolutely wrong." -- J. Wagoner, U.C.B. Mathematics


-- 
---
Al Marti				University of Colorado, Boulder
Computing and Network Services		Central Resources
Al.Marti@Colorado.EDU			(303)492-4617

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