🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Gael MARTINEZ Thu, 19 Feb 1998 00:00
inn1.7.2.insync 1.1d and nnrp
#26407
Author: Gael MARTINEZ
Date: Thu, 19 Feb 1998 00:00
61 lines
2785 bytes

Hi

we are using inn-1.7.2insyc.1.1d on sun solaris 2.5.1.

after few tests, tests showed us than when you send a 

GROUP name

to the server, nnrp do a listing of the directory to count news ...
why it didn't use the actived daemon  ? It's kinda heavy when you have a
lot of connexions and a nfs server ... if i'm not wrong this number of
news don't have to be exact.. right ?

Any solution to stop this flooding operation ?

Following the test:

telnet front2 119
Connected to front2
200 grolier InterNetNews NNRP server INN 1.7.2 08-Dec-1997 ready (posting
ok).
group fr.bienvenue
211 7 98 104 fr.bienvenue

The truss of the nnrp process

29657:  poll(0x08043ABC, 1, 600000)                     = 1
29657:  read(0, " g r o u p   f r . b i e".., 1024)     = 20
29657:  time()                                          = 887917687
29657:  gettimeofday(0x080458D4)                        = 0
29657:  time()                                          = 887917687
29657:  putmsg(6, 0x0804580C, 0x08045770, 0)            = 0
29657:  poll(0x08043880, 1, 1000)                       = 1
29657:  getmsg(6, 0x08045810, 0x0804581C, 0x080457FC)   = 0
29657:  time()                                          = 887917687
29657:  chdir("/opt/news/data/articles")                = 0
29657:  chdir("fr/bienvenue")                           = 0
29657:  open(".", O_RDONLY|O_NDELAY)                    = 7
29657:  fcntl(7, F_SETFD, 0x00000001)                   = 0
29657:  fxstat(2, 7, 0x080458F4)                        = 0
29657:  getdents(7, 0x080EA814, 1048)                   = 168
29657:  getdents(7, 0x080EA814, 1048)                   = 0
29657:  close(7)                                        = 0
29657:  write(1, " 2 1 1   7   9 8   1 0 4".., 27)      = 27
29657:  poll(0x08043ABC, 1, 600000)     (sleeping...)


Gael

----------------------------------------------------------------------- 
Gael MARTINEZ                                Mailto:mgc@lena.grolier.fr
Grolier Interactive Europe / Club-Internet 
Responsable Exploitation du Centre Serveur
Tel: +33 1 55 45 47 92  /  Fax: +33 1 55 45 47 10  

Restez Zen .... UniX peut le faire. 


Re: inn1.7.2.insync 1.1d and nnrp
#26429
Author: Another Victim of the Usenet Maf...
Date: Fri, 20 Feb 1998 00:00
28 lines
1779 bytes
On Thu, 19 Feb 1998, Gael MARTINEZ wrote:

> after few tests, tests showed us than when you send a 
> GROUP name
> to the server, nnrp do a listing of the directory to count news ...
> why it didn't use the actived daemon  ? It's kinda heavy when you have a
> lot of connexions and a nfs server ... if i'm not wrong this number of
> news don't have to be exact.. right ?

No, by the RFC, is doesn't have to be accurate...

However, INN does make sure that it is correct, but there is at least one
news server out there (don't remember which one offhand) which in fact
does not necessarily return the correct number.

If you don't get the number of articles correctly when entering the group,
then you have to somehow count the actual number of articles which is
equally or comparably intensive, or take the chance of finding empty
spaces where there should be articles, which, given that the first article
in a group could be a long-running FAQ with Expires: header, could be
quite considerable.


Barry Bouwsma


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