🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Glenn Fullager Fri, 10 May 1996 00:00
out.going question
#7488
Author: Glenn Fullager
Date: Fri, 10 May 1996 00:00
34 lines
1839 bytes
I have a Sun running INN1.4sec and nntplink to it's downstream feeds.

Quick question about the /var/spool/news/out.going directory.  An "ls
-al"
produces:

total 42278
drwxrwsr-x  2 news          512 May 10 09:37 .
drwxr-xr-x 38 news         1024 Mar 14 17:33 ..
-rw-rw-r--  1 news       338959 May 10 09:37
cdn_news.telecom.com.au.16811
-rw-rw-r--  1 news           38 May 10 09:41
cdn_news.telecom.com.au.link
-rw-rw-r--  1 news     27742066 May 10 09:06 cdn_news.telecom.com.au.old
-rw-rw-r--  1 news          629 Apr 13 17:00 harbinger.cc.monash.edu.au
-rw-rw-r--  1 news       849937 May 10 09:44 news.tansu.com.au.12489.tmp
-rw-rw-r--  1 news           38 May 10 08:27 news.tansu.com.au.link
-rw-rw-r--  1 news     14290763 May 10 09:06 news.tansu.com.au.old
-rw-rw-r--  1 news           38 May 10 08:27 news.telstra.com.au.link

There are obviously different sets of files for each of my newsfeeds,
but 
what is the significance of the .extensions on each of them (ie: .link,
.old, .pid and .tmp)?  Why are the .old files so big?

I have checked the FAQ's and the man pages and can't find any reference
to
them.

Thanks, Glenn.
glenn@omen.dn.itg.telecom.com.au

Re: out.going question
#7479
Author: Clayton O'Neill
Date: Fri, 10 May 1996 00:00
65 lines
3613 bytes
On Fri, 10 May 1996 09:56:05 +1000, Glenn Fullager <glenn@omen.dn.itg.telecom.com.au> wrote:
>total 42278
>drwxrwsr-x  2 news          512 May 10 09:37 .
>drwxr-xr-x 38 news         1024 Mar 14 17:33 ..
>-rw-rw-r--  1 news       338959 May 10 09:37
>cdn_news.telecom.com.au.16811
>-rw-rw-r--  1 news           38 May 10 09:41
>cdn_news.telecom.com.au.link
>-rw-rw-r--  1 news     27742066 May 10 09:06 cdn_news.telecom.com.au.old
>-rw-rw-r--  1 news          629 Apr 13 17:00 harbinger.cc.monash.edu.au
>-rw-rw-r--  1 news       849937 May 10 09:44 news.tansu.com.au.12489.tmp
>-rw-rw-r--  1 news           38 May 10 08:27 news.tansu.com.au.link
>-rw-rw-r--  1 news     14290763 May 10 09:06 news.tansu.com.au.old
>-rw-rw-r--  1 news           38 May 10 08:27 news.telstra.com.au.link
>
>There are obviously different sets of files for each of my newsfeeds,
>but 
>what is the significance of the .extensions on each of them (ie: .link,
>.old, .pid and .tmp)?  Why are the .old files so big?
>
>I have checked the FAQ's and the man pages and can't find any reference
>to
>them.

Please wrap your messages at 70 columns in the future.

The .pid files hold the process id of the nntplink process for that site.  I
don't see these running in stdin mode, so I assume that you are running these
as a funnel or log feed.

The .link files hold information of the state of the feed such as the last
time an article was sent and last time it had a problem feeding, etc.
linkinfo (comes with nntplink) will decode this for you.

The .tmp files are the batchfiles for feeds where nntplink was receiving
articles from INN faster than the remote site could receive them. 

The .old files are a combination of all of the older .tmp files.  That is to
say, the links program (which you are probably running out of your crontab)
appends the contents of all of the .tmp files that it can find to the end
of the .old file.  

As to why the .old files keep growing, there are several possiblilities.
The most likely is that you are running links clean ever so often out of 
your crontab to restart nntplink in batch file mode on those .old files.  
However, the recieving site is still not able to accept the articles fast
enough to clear it's backlog.  If the remote site supports streaming then you
may want to consider switching to rebatch for this and upgrading to a version
of INN that supports streaming.

Another possiblity is that the nntplink processes are getting hung up somehow.
This would mean that it would not release the lock file on the batchfile and
subsequently the backlog grows enormous. 

If you have any other questions or if this isn't clear, feel free to mail me.

-- 
-------------------------------------------------------------------------
Clayton O'Neill             Business-->                   Premier One Inc
whatever@oneill.net                                   clayton@premier.net
http://www.oneill.net       <--Personal            http://www.premier.net


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