🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #129618

Re: Trouble with leafnode

#129618
From: Mike Graham
Date: Mon, 28 Jul 2003 11:39
90 lines
5846 bytes
In article <7da2gb.26.ln@mis.configured-host.de>, Martin Brunzel wrote:

> Just to be sure: You're not using a server with about 80.000
> groups? It *could* be, that the file grows larger in that
> case.

  No, I've got about five groups.  8-)  Just me.  Desktop system.

> Well, I don't think so, either. If you want to check, just do
> a second login and 'df' while fetching the groups. ;-)

Filesystem            Size  Used Avail Use% Mounted on
/dev/hdb5             3.2G  1.5G  1.5G  50% /
/dev/hdb1             241M  7.6M  221M   4% /boot
none                  253M     0  253M   0% /dev/shm
/dev/hdb8              24G  3.1G   21G  14% /home
/dev/hda1              49G   39G   11G  80% /mnt/windows
/dev/hda5              63G   63G  844M  99% /mnt/media
/dev/hdb7             9.9G  2.6G  6.9G  27% /usr
/dev/hdd5              30G   16K   30G   1% /mnt/storage
/dev/hdd6              30G  1.9G   28G   7% /mnt/backup
/dev/hdd7              30G   16K   30G   1% /mnt/other
/dev/hdd8              24G   16K   24G   1% /mnt/crud
[mike@zippy mike]$

  Plenty of free space.  Somewhere around 200 gigabytes free on the system,
and still 1.5 gigabyte free on the root partition.

> Are you sure, that groupinfo is the file containing the groups
> of the "internet" news servers? I'd think, groupinfo only
> contains the local groups and administrative information.

  I don't have any local groups.  I understand that the next major revision
from the one that I have will *allow* local groups, but to my knowledge the
version that I run can't handle it.  Or maybe it's SLRN that can't handle it
yet... I'm not positive, but I think it's leafnode that can't handle it with
the version that I'm running.  The groupinfo file gets touched along with
the file for whichever news server I'm using.  Right now the directory looks
like:

[mike@zippy leaf.node]$ ls -al
total 1540
drwxr-xr-x    2 news     news         4096 Jul 28 07:21 ./
drwxr-xr-x   12 news     news         4096 Jul 26 17:48 ../
-rw-rw-r--    1 news     news      1554075 Jul 28 07:21 groupinfo
-rw-rw-r--    1 news     news          173 Jul 28 07:21 news.sprint.ca
-rw-rw-r--    1 news     news          173 Jul 27 10:54 nntp.uunet.ca
[mike@zippy leaf.node]$

  And you can see that when I ran the fetch a couple of minutes ago to do
that 'df' during the download, it touched groupinfo and news.sprint.ca, and
that's it.  The groupinfo file *does* seem to have all of the internet
groups in it.  Here's a small, but somewhat relevant section:

news.software.nn 1 1 1059265647 Discussion about the "nn" news reader package.
news.software.nntp 1 1 1059265647 The Network News Transfer Protocol.
news.software.readers 203 3 1059265647 Discussion of software used to read network news.

  The groupinfo file gets touched every time, but it was being touched
while I still had the problem, so it would appear that it's not being
touched for date-code reasons but simply because it gets updated every time
I download.  
  This is starting to make more sense.  Remember how I had set the active
timeout to 365 days at your suggestion, and that fixed the problem?  Well
now that I think about it that little file 'active.read' must exist to be
the dete that the active file (group listings) was last read.  I touched the
active.read file and changed the timeout back to 90 days and it didn't
reread the active file, so by all experimentatal indications active.read is
the one and only thing that leafnode checks to see when the active file was
last read.  So, the actual *problem* is that the active.read file isn't
being touched when I download the active file.
  Is there anything wrong with the permissions that I have on it?

[mike@zippy news]$ ls -al /var/spool/news
total 56
drwxr-xr-x   12 news     news         4096 Jul 26 17:48 ./
drwxr-xr-x   11 root     root         4096 Jan  2  2003 ../
-rw-rw-r--    1 news     news            0 Jul 27 09:07 active.read

  That date that is on it is the time when I touched it myself as root. 
Running leafnode -f *should*, one would think, touch the file, but it
doesn't.  Perhaps the ultimate cause of the problem is that I use 'sudo' to
run leafnode?  I don't run it as root. 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Mike Graham                  | Metalworker, rustic, part-time zealot.
mike@metalmangler.com        | 
<http://www.metalmangler.com>| Caledon, Ontario, Canada
Technical Details
Message-ID: <slrnbia2se.gt9.mike@zippy.metalmangler.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!east1.newsfeed.sprint-canada.net!HME1-2.newsfeed.sprint.ca!newscontent-01.sprint.ca.POSTED!zippy.metalmangler.com!news
References: <slrnbi5sjb.2bc.mike@zippy.metalmangler.com> <t1gbv-4ph.ln1@news.gates_of_hell.INVALID> <slrnbi66qj.299.mike@zippy.metalmangler.com> <83tvfb.87.ln@mis.configured-host.de> <slrnbi7cpi.2d7.mike@zippy.metalmangler.com> <ksd0gb.66.ln@mis.configured-host.de> <slrnbi7jag.27r.mike@zippy.metalmangler.com> <7da2gb.26.ln@mis.configured-host.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbia2se.gt9.mike@zippy.metalmangler.com>
Subject: Re: Trouble with leafnode
Date: Mon, 28 Jul 2003 07:39:58 -0400
From: Mike Graham <mike@metalmangler.com>
References: <slrnbi5sjb.2bc.mike@zippy.metalmangler.com> <t1gbv-4ph.ln1@news.gates_of_hell.INVALID> <slrnbi66qj.299.mike@zippy.metalmangler.com> <83tvfb.87.ln@mis.configured-host.de> <slrnbi7cpi.2d7.mike@zippy.metalmangler.com> <ksd0gb.66.ln@mis.configured-host.de> <slrnbi7jag.27r.mike@zippy.metalmangler.com> <7da2gb.26.ln@mis.configured-host.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!east1.newsfeed.sprint-canada.net!HME1-2.newsfeed.sprint.ca!newscontent-01.sprint.ca.POSTED!zippy.metalmangler.com!news
Newsgroups: news.software.readers
Reply-To: mike@metalmangler.com
User-Agent: slrn/0.9.7.4 (Linux)
Lines: 89
NNTP-Posting-Host: 149.99.114.2
X-Complaints-To: abuse@sprint.ca
X-Trace: newscontent-01.sprint.ca 1059392610 149.99.114.2 (Mon, 28 Jul 2003 07:43:30 EDT)
NNTP-Posting-Date: Mon, 28 Jul 2003 07:43:30 EDT
Organization: Sprint Canada Inc.