🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Brad Knowles Sat, 29 Jan 2000 00:00
Diablo problems?
#43771
Author: Brad Knowles
Date: Sat, 29 Jan 2000 00:00
85 lines
4126 bytes
Folks,

    I got to wondering a bit as to where all my disk space was going in 
/usr/news.  I found two major subdirectories -- dqueue and poster.


    The first one I know about -- that's where diablo stores the list of 
article ids to be offered to the various peers, etc....  However, 
looking at this a bit more, I see:

        ls -1 | sed 's/\..*$//' | sort | uniq -c | sort -nr | head
        2299 teleglobe
         191 
          13 verio-small
          13 renaissance-small
          13 mediaways-small
          13 maz-small
          13 mathworks-small
           7 zjucn-small
           7 uio-small
           7 uio-big

    It seems like I have a problem, with almost 2300 files queued for a 
single peer.  Looking at my dnntpspool.ctl for this peer, I have:

        # Format:                 
        # spoolfile machine                 maxfileq    options  
        teleglobe   pollux.teleglobe.net    0   n1 realtime nobatch

    So, can I assume that "0" means unlimited, even though "realtime" 
and "nobatch" are specified?  Any ideas why this is not documented 
anywhere?

    Here's my next question -- any ideas how a single queue file could 
be allowed to grow to almost 4GB in size?  Witness:

        ls -las | sort -nr +5 | head
        3715216 -rw-r--r--   1 news  news  3802511283 Jan 29 11:54 
uio-small
          22848 -rw-r--r--   1 news  news    23370841 Jan 29 11:54 
uio-big

    Virtually all the other files in this directory are no more than 
750KB in size.  Yet, this one file is 3.541GB.  Looking in 
dnntpspool.ctl again, I'm wondering if this is the problem:

        #uio-small  news-feed.ifi.uio.no    6   n8 realtime
        #uio-big    news-feed.ifi.uio.no    6   n2 realtime

    Yet, they hadn't been commented out of dnewsfeeds.  Sigh....

    I think I've solved both of these problems, but I would appreciate 
confirmation.


    Now, the stuff in poster -- I thought that the actual articles to be 
fed were stored in /usr/news/spool, and not /usr/news/poster?  I mean, 
this is why I created it as a 24.851GB filesystem, and I see that right 
now it's sitting at 87% utilization, so I have to assume that there are 
some articles down there.

    So, what the heck is this /usr/news/poster directory?  If it's for 
storage of articles that were posted locally, then why isn't this a 
subdirectory of /usr/news/spool, where articles are supposed to be kept?

    I don't have all that much disk space on /usr/news, and if there's 
going to be significant amounts of space used for things like storing 
news articles, I need to know these sorts of things when I'm building 
the machines....


    Thankfully, my script to watch the disk space on my memory-based 
filesystem I use for /usr/news/history was bombing.  If it hadn't been 
bombing and I hadn't had to log on to fix it, and I hadn't decided to 
take a look at what else might need fixing, I might have run out of disk 
space on /usr/news before I ran out of space on /usr/news/history....

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Diablo problems?
#43767
Author: Brad Knowles
Date: Sat, 29 Jan 2000 00:00
38 lines
2520 bytes
In article <86ujar$ras$1@wave.pipex.net>, Russell Vincent 
<russellv-n@uk.uu.net> wrote:

> You could check the source - it's pretty good for documentation.
> Looking at dspoolout.c, it would appear that older queue files are
> never removed if maxq is set to '0'.

    Yeah, well "Use the Source, Luke!" is never a solution I've been 
particularly good at -- I'm an administrator, and I haven't done any 
real programming in over ten years.  I've been meaning for the past 
couple of years to find some project (such as Diablo) to force me to get 
back into programming, because I consider this an important aspect of 
being a well-rounded admin.  But it hasn't happened yet.

> It may be that the commenting change in dnewsfeeds didn't take
> effect. I have seen something similar before, but couldn't see
> anything obvious in the source to cause it.

    I hadn't commented that entry out of dnewsfeeds, although I had 
commented it out of dnntpspool.ctl.  I just went in today and commented 
them out of my diablo.hosts and dnewsfeeds files.  We'll see what 
happens.

> There is no reference to the word 'poster' in the src of 1.27. Check
> your diablo.config file perhaps?

    Hmm.  What about the sources for 1.24?  I'll check the diablo.config 
file when I can, but I'm wondering if this is something that has since 
been removed or changed....

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Diablo problems?
#43777
Author: Russell Vincent
Date: Sat, 29 Jan 2000 00:00
27 lines
1769 bytes
Brad Knowles <brad@shub-internet.org> wrote:

>     I hadn't commented that entry out of dnewsfeeds, although I had 
> commented it out of dnntpspool.ctl.  I just went in today and commented 
> them out of my diablo.hosts and dnewsfeeds files.  We'll see what 
> happens.

Aaah - that would explain it. The diablo process will keep writing
to the queue file until the dnewsfeed entry is removed. It is
dspoolout that rotates the spool files, removing old ones and
running dnewslink. Documented quite nicely in the man page.

The diablo process doesn't even look at dnntpspool.ctl.

>     Hmm.  What about the sources for 1.24?  I'll check the diablo.config 
> file when I can, but I'm wondering if this is something that has since 
> been removed or changed....

Nothing.

/news/src/diablo-1.24-REL>grep poster * */* */*/*
RELEASE_NOTES:  Fixed ps status line reporting of number of active spooler and poster

 -Russell


Re: Diablo problems?
#43782
Author: Russell Vincent
Date: Sat, 29 Jan 2000 00:00
34 lines
2016 bytes
Brad Knowles <brad@shub-internet.org> wrote:

>     So, can I assume that "0" means unlimited, even though "realtime" 
> and "nobatch" are specified?  Any ideas why this is not documented 
> anywhere?

You could check the source - it's pretty good for documentation.
Looking at dspoolout.c, it would appear that older queue files are
never removed if maxq is set to '0'.

samples/dnntpspool.ctl does say that you should use a value of '1' if
using nobatch. I haven't seen anywhere that suggests a value of '0',
so you are using an undocumented value.

>     Virtually all the other files in this directory are no more than 
> 750KB in size.  Yet, this one file is 3.541GB.  Looking in 
> dnntpspool.ctl again, I'm wondering if this is the problem:

>         #uio-small  news-feed.ifi.uio.no    6   n8 realtime
>         #uio-big    news-feed.ifi.uio.no    6   n2 realtime

It may be that the commenting change in dnewsfeeds didn't take
effect. I have seen something similar before, but couldn't see
anything obvious in the source to cause it.

>     So, what the heck is this /usr/news/poster directory?  If it's for 

There is no reference to the word 'poster' in the src of 1.27. Check
your diablo.config file perhaps?

 -Russell


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