🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Alan Brown Thu, 23 May 1996 00:00
Re: Linux unoff 4 experiences and queries
#7921
Author: Alan Brown
Date: Thu, 23 May 1996 00:00
57 lines
3134 bytes
On Wed, 22 May 1996, Joe St Sauver wrote:

> You may need to turn off inbound streaming... There's a patch available to 
> do this. Let me know if you need a copy of it.

I think I have it lurking about. Streaming doesn't actually happen much here.
The primary feed is uucp-over-tcp to a box on the network which then 
unpacks and feeds news batches to the news machine (up to 5 in parallel)

The nntp feeds are either low volume or time delayed.

> >The connection timeouts are usually accompanied by a "can't get 
> >hostbyaddr, connection reset by peer" message.
> 
> Ah! This sounds different. My bet based on this is that you have a lame name
> server or two. What do you have in your resolv.conf? Do you have any stale
> addresses in hosts.nntp?

The news box is secondary name server for the network (35 domains). 
resolv.conf points locally in the first instance and then to the primary 
server.

> >From experimentation, Agent's connect timeout is set to 30 seconds after 
> >a IP linkup is established. This should be more than adequate time for 
> >the server to spawn nnrpd IMO.
> 
> Try running nnrpd on port 120; connect directly to port 120 using telnet and
> compare that to connecting directly to port 119 with telnet -- if you see a 
> huge difference, there's a good chance that you have streaming-related
> problems.

When the server isn't streaming there's little appreciable difference in 
startup time. If anything the standalone nnrpd takes a little longer than
innd to display a prompt. (3-5 seconds)

When streaming, prompt display takes up to 10 seconds after connection.

> >The platform is a 64Mb i486 dx2/66 using a single 4Gb barracuda as spool
> >and with os, overviews, logs and news libs all on separate spindles.
> 
> Might want to split your spool and use md to form a striped meta disk if you
> can dig up another barracuda. I'd also probably add more memory if you can
> find the bucks and have the slots..

This is all on the "to do urgently" list already :) 4Gb gives about 3 days
in unread groups and 8 in ones which are read (thanks to Actgroups) with a
fairly strict binary expire policy. (Must look at the poison patch.. :)

>. Also, what version of the Linux kernal
> are you running? Are you using MMAP for the active and the DBZ?

This is kernels 1.33.84 up to 1.99.6. MMAP is enabled for both.

AB

Re: Linux unoff 4 experiences and queries
#7961
Author: Alan Brown
Date: Sat, 25 May 1996 00:00
58 lines
3242 bytes
In article <Pine.SUN.3.90.960523040542.716E-100000@papaioea.manawatu.gen.nz>,
Alan Brown  <alan@manawatu.planet.org.nz> wrote:

>I think I have it lurking about. Streaming doesn't actually happen much here.
>The primary feed is uucp-over-tcp to a box on the network which then 
>unpacks and feeds news batches to the news machine (up to 5 in parallel)

But when streaming does happen..... :( :( :(

OK, there's a serious problem with Streaming feeds on a box which has 
readers connecting.

My first thought, rather than setting up a slave server (we only have 20 
readers simultaneously at most at the moment) is to setup a wrapper 
listening on a different IP address port 119 or get INN to operate on a 
different IP address, leaving Inetd free to fire up nnrpd.

On a linux platform multiple IPs on a single box are easy and can be 
achieved in a couple of way so that part is taken care of. The hard part 
is getting things listening on different addresses....

>> >The connection timeouts are usually accompanied by a "can't get 
>> >hostbyaddr, connection reset by peer" message.

I got this part wrong. The actual message reported is:

May 24 10:05:43 news nnrpd[30427]: ? cant getpeername Transport endpoint is not connected
May 24 10:05:43 news nnrpd[30427]:  exit articles 0 groups 0
May 24 10:05:43 news nnrpd[30427]:  times user 0.020 system 4.830 elapsed 1.521

This appears to be INN noticing the sonnecting reader after it's already 
given up.

Another serious problem is NNRPD breaking while feeding the reader. This
isn't so bad with a traditional windows newsreader such as News Express or
trn, but the "sucking" nntp readers such as Nautilus and Agent get pretty 
upset by it - they abort the transfer rather than reconnecting and 
continuing.

This in turn upsets the users, most of whom aren't terribly technically 
aware....

We encourage the use of caching readers such as Agent as we don't charge
for online time, so have nothing to gain by having people spending hours
online reading news (and gain extra modems by having them offline doing
it) so this is a big problem. Something like 97% of our clients use Agent
to read news. 

Anyone got any ideas on why nnrpd is doing this?

AB
-- 
"But you can't say they have arrived to classify your nervous lies
 What's right, what's not, what may not be. Don't try your tricky tests on me
 For I won't live in fear my friend - that every day could be my end"

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