Article View: news.software.nntp
Article #33983Diablo 1.21-test03 released (doesn't have new signing stuff yet)
From: Matt Dillon
Date: Mon, 21 Dec 1998 00:00
Date: Mon, 21 Dec 1998 00:00
192 lines
9240 bytes
9240 bytes
I've decided to do an interim release. I still haven't put in the
new control message signing stuff (I've been taking it easy in recent
weeks and had to slow down). But I have made a large number of bug
fixes and things and, just today, an avid linux user of Diablo,
Paul Martin, located the 'VFS: No free inodes - contact Linus' bug
in dexpireover.
It turned out to be a mmap()/munmap() bug - I was forgetting to munmap
a segment of memory after finishing it. This led to a buildup of
mmap'd segments without any visible buildup of file descriptors - but
all the while the kernel was internally building up open vnodes. Thus
the error message occured without anyone being able to find why it
was occuring.
Partial release notes have been included below. The distribution is
available on my site, of course:
http://www.backplane.com/diablo/
Note that there was never any test02 dist, so the differences from the
last public distribution and this one cover test02 and test03.
-Matt
RELEASE NOTES
DIABLO NEWS TRANSIT AND READER SYSTEM
Matthew Dillon
dillon@backplane.com
http://www.backplane.com/diablo/
http://www.backplane.com/xmake/
news.software.nntp
Diablo V1.21-test03 ***** EXPERIMENTAL RELEASE ****
Found and fixed bug in dexpireover reported by linux users in
regards to 'NFS: No free inodes - contact Linus' error. Turned
out to be a mmap() that I was forgetting to munmap! Bug finally
located by Paul Martin.
Diablo V1.21-test02 ***** EXPERIMENTAL RELEASE ****
dreaderd main loop polls open descriptors every 5 minutes, workaround
for linux bug. Code will also be used to implement idle timeout later.
Added a little error checking to recvmsg() (should have no realized
effect).
Diablo's X-Trace: generation made to conform more closely to INN-2.x's,
includes PathHost as first element now and moves the username
element. Will probably change the username to a user-id in the next
release to prevent scanners from deriving email addresses from X-Trace.
Test for X-PGP-Sig header migrated from group.c to control.c in order
to centralize authentication tests in preparation for generalizing
the interface.
Control/Authentication interface revamped in preparation for
librarization of authentication.
Bug fixed in lib/dkp.c related to seg-faults occuring in dexpireover
in certain cases.
TUNING_NOTES file played with.
Removed altfeed (feeds/ directory) optimizations that caused
directives in dnewsfeeds for feeds with feeds/ files to be ignored.
Diablo V1.21-test01 ***** EXPERIMENTAL RELEASE **** 23 Oct 1998
( This release is designated experimental due mainly to the change
in the implementation of gropudef/groupref in dnewsfeeds. Sites
running complex dnewsfeeds files should probably not move to this
release. Other sites, including sites running dreaderd, will almost
certainly want to upgrade ).
Groups in dnewsfeeds (groupref, groupdef) are now fully recursive and
ALL DIRECTIVES ARE SUPPORTED IN THE GROUPDEFs. This should greatly
reduce the complexity of some site's newsfeeds. However, the new
recursion implementation has not been fully tested yet.
Added feed-only forks to dreaderd, so you can feed dreaderd without
loading down a reader fork, which would effect other readers using
that fork due to the load. See samples/dreader.hosts, 'f' flag.
feed-only forks so not make connections to the spool/post servers.
NOTE: the article, group, and head commands may not be issued for
'f'eed only connections (i.e. connections without the 'r' flag set).
Moderated postings that send mail to the moderator were improperly
passing certain headers to sendmail, such as Path: and To:, which
would either be improperly executed by sendmail or improperly
forwarded by the moderator.
Seg-fault in diablo fixed: if diablo tries to retrieve an article
past the end of the spool file (e.g., due to the spool file being
truncated in a crash), it seg faulted. Fixed.
dilookup now also understands the output from the didump command.
(e.g. didump | dilookup -s)
-F option add to dreadart (force read, ignore expired flag)
dilookup prints 'not found' entries to stdout rather then stderr
to make piping greps and stuff through it (via -s) easier.
Fixed bug in dexpire: would improperly expire history adds that
occured during the dexpire run itself when reader-mode expiration
was configured. dexpire now just looks for the existance of the
proper spool directory rather then the D.xxxxxxxx/B.xxxx file when
determining whether to expire a history entry.
Added 'diloadfromspool' utility. This utility will scan the entire
spool, a specific set of D.xxxxxxxx directories, or a specific set
of D.xxxxxxxx/B.xxxx spool files and regenerate the history records for
the articles it finds. Currently there is one catch: In order to
properly handle 8-bit-clean articles and ensure the robustness of
the data, the Lines: header must be correct. Unfortunately, the
Lines: header is not always correct so the command needs some more
work (or I need to recalculate Lines: in the feeder).
Diablo V1.20-REL ***** RELEASE ****
Better Statistics Reporting in Diablo server - now includes breakdown
of why articles were accepted or rejected.
Increased diablo's precommit cache from 8192 to 16384 entries (from
128K to 256K of shared memory), and increased collision window from
30 seconds to 2 minutes, and the pre-commit history pre-cache retention
from 10 minutes to 40 minutes.
DReaderD now reports statistics on close: number of groups entered
(group commands), number of articles read (head, article,
or body commands), and number of bytes sent to client.
Added -R option dexpireover - causes it to dynamically resize
the over.* files and completely rewrite the data.* files in
/news/spool/group. This allows fine-grain removal of garbarge from
the overview files at the cost of rewriting every file. For this
reason, 'dexpireover -R -a' should only be run once a week. The
standard dexpireover should continue to be run daily. The standard
dexpireover is much faster, but leaves wasted space inside the
data.* files.
Since dexpireover -R is now able to dynamically resize the overview
indexes, Diablo defaults to creating 512-article indexes rather then
1024-article indexes. On a clean start it may take two or three weeks
for the article indexes for heavily loaded groups to stabilize.
Added -s option to dexpireover. The -s option is implied by the -a
option. This option will allow dexpireover to dynmically resize the
index (over.*) files in /news/spool/group but unlike the -R option
it will not attempt to rewrite the data.* files. The combination of
-a (implying -s) run a daily basis and -R run on a weekly basis
should keep disk usage in /news/spool/group in-check. You can further
refine disk utilization by setting explicit expire times in dexpire.ctl
(see 'x' option in samples/dexpire.ctl)
A WEEKLY crontab entry has been added, you need to add an entry in
your cron to deal with it. See samples/adm/crontab.sample
Updated the cron entries and sample crontab in samples/adm to make use
of the new dpath command. Also: dexpire is now run once an hour rather
then once every four hours, please double-check you crontabs.
Allow .\n to terminate an article as well as .\r\n, because
some dumb newsclients don't pass the CR like they are supposed
to. Well, at least dots are supposed to be escaped so this doesn't
screw up escaping of 8-bit-clean data.
Add a Distribution: header internally based on distrib.pats if none
is specified in the POST or if a blank Distribution: header is
specified in the POST.
Added configuration path elements to diablo.config. You can also
specify the location of diablo.config in the DIABLO_CONFIG_PATH
environment variable or by using the '-C diablo.config.path' option
with any command. Baring that, the default location for the
config file is /news/diablo.config.
dreaderd's debug-aid, -C, has been changed to -X so -C can be used
to specify a different location for the diablo.config file.
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<75n4te$n6f$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <75n4te$n6f$1@flea.best.net> Subject: Diablo 1.21-test03 released (doesn't have new signing stuff yet) Date: Mon, 21 Dec 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 424722572 X-Trace: nntp1.ba.best.com 914298614 216 dillon@206.184.139.131 Organization: BEST Internet Communications, Inc. www.best.com Newsgroups: news.software.nntp