🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by David Guntner Sun, 11 Feb 1996 00:00
Strange expire behavour with INN1.4unoff3
#4830
Author: David Guntner
Date: Sun, 11 Feb 1996 00:00
110 lines
5297 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Here's the setup.  Recently, I was able to expand the news spool on a
site I run by NFS mounting a couple of 1.9 Gig partitions on the server. 
The NFS server is a Sparc 20 running Solaris, and the server is an IBM
RS/6000 running AIX 3.2.5 (yea, I know, rotten OS for news, but it's what
I've got).  I've got /usr/spool/news and /news1 mounted as the
partitions.  Under /usr/spool/news I've got comp and rec linked "ln -s"
as /news1/comp and /news1/rec.

Last night was the first expire to run since moving the spool to the NFS
partitions.  It starts at 0030 each night.  I logged in at 0230 and found
that the expireover part of it was still running with a high CPU time.  I
did a "kill -1" on it (the expireover), figuring it must be hung.  The
next ps showed that the expirerm and fastrm running, and a few df
commands confirmed that articles were going away.  I logged in this
morning at 1000 and found that *that* was still running, and a df showed
that *lots* of articles were gone.  I killed the whole thing at that
point, realizing that *something* was wrong.  When I moved articles from
the old spool to the new location, I got lots of error messages
complaining about various files (articles) not being found, but I figured
that they were just symlinks pointing to other articles that didn't exist
because they hadn't been moved yet (I moved by heirarchy, rec first, then
comp, then sci, etc.).  Should I have done an "expireover -a" after the
move?  Would not having done so cause behavour such as this?  I found a
file with following in the /tmp directory on the server, in case it's any
help:

Server status:
Server running
Allowing remote connections
Parameters c 14 i 50 (0) l 1000000 o 1987 t 300 normal specified
Not reserved
Readers separate enabled

Disk usage:
/dev/lv00      1945600  628772   67%   47589     9% /u
{nfs.machine}:/usr0  1952573 1274580   34%   -       -    /usr/spool/news
{nfs.machine}:/usr2  1952573 1284886   34%   -       -    /news1

[The dashes (-) in the above are because df won't report inodes on the
 NFS partitions for some reason.]

Batch file sizes:
[deleted]

Log file sizes:
  44 binary.log       0 newgroup.log  1500 news.notice    200 unwanted.log
  24 control.log   22576 news           20 nntpsend.log
   4 errlog           4 news.crit       48 rebatch.log
   0 expire.log       4 news.err         0 rmgroup.log

Lock files:
LOCK.innwatch  LOCK.rebatch

Server connections:
remconn:4		control:11		localconn:13		
OVERVIEW!:16:proc:31387	 purge-binaries:17:proc:35484
[deleted]

sort: Write error while sorting.
/usr/local/news/bin/news.daily: 38921 Hangup

[That was where I did the "kill -1" on the expireover.]

Can't open directory "/usr/spool/news/rec/sport/table-soccer/817"
Can't open directory "/usr/spool/news/misc/business/records-mgmt/404"
Can't open directory "/usr/spool/news/alt/politics/correct/42604"
Can't open directory "/usr/spool/news/soc/culture/african/american/65316"
Can't open directory "/usr/spool/news/rec/music/makers/bands/3353"
Can't open directory "/usr/spool/news/rec/music/gdead/71156"

[deleted]

Can't open directory "/usr/spool/news/comp/os/ms-windows/networking/ras/1499"
Can't open directory "/usr/spool/news/rec/pets/birds/18759"
Can't open directory "/usr/spool/news/rec/games/trading-cards/marketplace/magic/sales/26598"
Can't open directory "/usr/spool/news/misc/jobs/offered/335605"
Can't open directory "/usr/spool/news/soc/culture/tamil/15309"
fastrm: unlink /usr/spool/news/comp/emacs/xemacs/5584: Interrupted system call
/usr/local/news/bin/expirerm: 18348 Terminated


I'm really at a loss as to what would cause this.  Any help would be
appreciated.  Please copy via E-Mail if you reply to this.  I use the
server to do most of my new sreading, and I'm unsure if I'll see a
posted-only reply.

Oh yea, and please don't suggest moving the server to the Sparc.  For
various reasons, it would be impractical (and probably impossible). :-)

                        --Dave

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQCVAgUBMR4b3A0Aj0bAuAXFAQGWBAP/W071zEk4toLPTKGoq1Bcw03i+Keicd/I
dYAVGPALAW0FJJJWSV98wUSbGiBvMc6LUjndV+cWSxH9dgEzT/OisAgT0Kn1iW8D
3CTr/dCA9z1cnihzFIWx43SMSt1rmWq61cj2xu9unrqQcuAK7lQ4+/LR+3vxdeUY
G0eXgKFZxDU=
=p0wg
-----END PGP SIGNATURE-----
-- 
      Concerned about your message security?  Read alt.security.pgp!
    David Guntner    Internet: davidg@netcom.com    Finger or key server
    Vicksburg, MS       GEnie: Just say NO!          for PGP Public key
  GO d? s:+ !a C++(++++) US(++) P+ E- W+ N++(+++)@ !o K w(---) M-- V-- PS
          PE Y+ PGP++ t+ 5++ X R tv+ b+ DI+ !D G e/* h r* y+(*)

Re: Strange expire behavour with INN1.4unoff3
#4840
Author: Dave Barr
Date: Mon, 12 Feb 1996 00:00
12 lines
906 bytes
In article <davidgDMMEB1.C64@netcom.com>,
David Guntner <davidg@netcom.com> wrote:
>Here's the setup.  Recently, I was able to expand the news spool on a
>site I run by NFS mounting a couple of 1.9 Gig partitions on the server. 

Whoa, holdit.

This won't work.  Spool partitions must be local.  Sorry.

--Dave

Re: Strange expire behavour with INN1.4unoff3
#4886
Author: Heiko W.Rupp
Date: Tue, 13 Feb 1996 00:00
20 lines
1500 bytes
In <4fokah$jm8@usenetw1.news.prodigy.com>, bill davidsen wrote:
:|In article <4fnr6m$g42@dodgson.math.psu.edu>,
:|Dave Barr <barr@math.psu.edu> wrote:
:|| >site I run by NFS mounting a couple of 1.9 Gig partitions on the server. 
:|| This won't work.  Spool partitions must be local.  Sorry.

:|I'm looking for a polite way to say... well, hogwash!

I also had positive experiences when having spool on a NetApp FAServer; 
I tried this for a week on part of the spool when we had that filer for 
testing and it was quite fast; I guess such a filer with a FDDI interface 
could do a good job for a large site which has one machine that fills 
the spool and many machines read from it (for large user reader bases).

-- 
Heiko W.Rupp        Gerwigstr.5        D-76131  Karlsruhe    +49 721 9661524
10 + 10 - er wollt nicht mehr stehn.


Re: Strange expire behavour with INN1.4unoff3
#4894
Author: USENET news
Date: Tue, 13 Feb 1996 00:00
33 lines
2160 bytes
In article <4fqnko$d1o@dodgson.math.psu.edu>,
Dave Barr <barr@math.psu.edu> wrote:
>In article <4fokah$jm8@usenetw1.news.prodigy.com>,
>bill davidsen <davidsen@tmr.com> wrote:
>>In article <4fnr6m$g42@dodgson.math.psu.edu>,
>>Dave Barr <barr@math.psu.edu> wrote:
>>| This won't work.  Spool partitions must be local.  Sorry.
>>
>>I'm looking for a polite way to say... well, hogwash!
>
>Well then I guess someone should change the FAQ.

I thought the issue wasn't that it wouldn't (sometimes, for some people)
work, but that NFS doesn't (or didn't necessarily, depending on version
and implementation) support filesystem semantics that were de facto
essential for reliability. I.e. it may work, but it may instead be a
disaster.

If that *is* the reason, whether it works is likely to depend on the
particular server implementation involved (and perhaps client, for that
matter), including reliability in the face of network, client, or server
overload, as well as questions like whether accessing the spool over the
network rather than locally will hit performance too seriously to make it
usable on a busy server (or maybe any server with a full feed, given the
daily volume of news being seen currently, and typically doubling each
year).

                                John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk    (alias {newsmaster,news,usenet}@news.cam.ac.uk)

Re: Strange expire behavour with INN1.4unoff3
#4899
Author: bill davidsen
Date: Tue, 13 Feb 1996 00:00
35 lines
1988 bytes
In article <4fnr6m$g42@dodgson.math.psu.edu>,
Dave Barr <barr@math.psu.edu> wrote:
| In article <davidgDMMEB1.C64@netcom.com>,
| David Guntner <davidg@netcom.com> wrote:
| >Here's the setup.  Recently, I was able to expand the news spool on a
| >site I run by NFS mounting a couple of 1.9 Gig partitions on the server. 
| 
| Whoa, holdit.
| 
| This won't work.  Spool partitions must be local.  Sorry.

I'm looking for a polite way to say... well, hogwash!

There are two ways to do NFS spools. One is to NFS mount some space
in the news hierarchy:
  mount bigbox:/var/spool/spare /var/spool/news/alt

the other is to mount and link it:
  mount bigbox:/var/spool/spare /mnt
  ln -s /mnt/alt /var/spool/news/alt

The first way works pretty invisibly, and you don't usually have
problems. The second requires reading all the parts of the install
and FAQ about using symbolic links in a news spool. You have things
to change, and you WILL have a performance hit due to it. Not
usually a huge one, but the symlink makes things a bit more complex.

I am pretty sure that the problem is caused by using the symlink,
and that some changes in the expire options will fix the problem.
--
	-bill davidsen (davidsen@tmr.com)
"As a software development model, Anarchy does not scale well."
		-Dave Welch

Re: Strange expire behavour with INN1.4unoff3
#4917
Author: Dave Barr
Date: Tue, 13 Feb 1996 00:00
13 lines
1041 bytes
In article <4fokah$jm8@usenetw1.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>In article <4fnr6m$g42@dodgson.math.psu.edu>,
>Dave Barr <barr@math.psu.edu> wrote:
>| This won't work.  Spool partitions must be local.  Sorry.
>
>I'm looking for a polite way to say... well, hogwash!

Well then I guess someone should change the FAQ.

--Dave

Re: Strange expire behavour with INN1.4unoff3
#4954
Author: Jerry Aguirre
Date: Wed, 14 Feb 1996 00:00
47 lines
2878 bytes
In article <4fr3lb$a1i@lyra.csx.cam.ac.uk> news@news.cam.ac.uk (USENET news) writes:
>I thought the issue wasn't that it wouldn't (sometimes, for some people)
>work, but that NFS doesn't (or didn't necessarily, depending on version
>and implementation) support filesystem semantics that were de facto
>essential for reliability. I.e. it may work, but it may instead be a
>disaster.

There are several versions of news software and a nearly infinite
combination of server configurations.  Some probably won't work
correctly.  The issues with NFS mounted file systems are:

	1 - Can not find out inode usage.

	2 - Performance, especially of writes.

	3 - Tricky semantics especially for file locking.

The inode usage is not that critical if you have enough to begin with.
You just have to modify innwatch to not care about inodes on the spool
partition.  If you built the filesystem correctly your never going to
run out anyway.  If you didn't build it with enough inodes then NFS is
the least of your problems.

The performance issue obviously depends on your usage.  It might be
fast enough.  It also depends a lot on the hardware and software being
used.  I have measured that file creation on an NFS mounted partion with
a write cache is faster than creation on a local disk!

The tricky usages, for file locking and such, varies between the
different software.  INN uses a lot less locking in general because the
single innd daemon does all article related updates.  The output
queue processing and NOV need some locking though.

But I am not ware of any news software that does locking in the
article spool!  I ran an NFS mounted spool back in the B news days
and never had problems.  All the other directories, history, outgoing
queues, etc. were on local drives.

So I think that if you had NOV, NEWSLIB, BATCH, etc. mounted on
local drives then there would be no problem with having the SPOOL
mounted via NFS.  This presumes that the INN server is the only
system to write to that filesystem and mounts it "hard".

If your trying someting tricky like running expire or batching
on a different system then that might be a little more risky.

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