Article View: news.software.nntp
Article #23539Preliminary release-notes for Diablo 1.14, release still scheduled for sunday evening
From: Matt Dillon
Date: Sat, 22 Nov 1997 00:00
Date: Sat, 22 Nov 1997 00:00
146 lines
7557 bytes
7557 bytes
Diablo 1.14 is still on track for a sunday evening release. I'm life
testing the last of the features on news1 now.
The release notes are included below. If you have any last minute
requests or I missed anything, please email me. Note that I am planning
a release next week and the week after as well, so I'm not going to rush
to get every last little thing into this release.
-Matt
Diablo V1.14 -- NOTE: remove /news/dexpire.factor if it exists
-- NOTE: /news/dexpire.ctl must be reorganized a bit
-- NOTE: new REQUIRED configuration file added
*NOTE* NO reader support yet, but I'm getting close.
Added general key-token-value database support and added preliminary
active file support through the key-token-value database. This is
good enough to allow diablo to generate Xref: headers. However, no
control message support has been added yet (that's going to be
a reader-side function). The dactive file is implemented as a
shared binary key-token-pair database and is intended to (optionally)
hold additional information such as the moderator email, newsgroup
description, and control PGP keys. The format is extensible. While
the dactive file is human readable, it should never be edited manually
while diablo-related processes are active. Use the supplied utilities
instead. THIS SUPPORT IS UNDER DEVELOPMENT AND SHOULD NOT BE CONSIDERED
PRODUCTION YET.
New configuration file, diablo.config added. See the sample
diablo.config file. This file is REQUIRED. Diablo will refuse
to start if this file is missing.
All entries in diablo.hosts are REQUIRED to have a label, and that
label is REQUIRED to exist in the dnewsfeeds file. Diablo will now
generate a 502 if a label is missing. Note that you can direct
incoming-only feeds to the same label if you wish.
DEXPIRE.CTL works again. In prior releases dexpire.ctl served only
to reject articles that were too large. The spool storage & expiration
scheme has been redone in this release so time-grouped expires work
again, allowing you to control expiration based on group. Note
that the expiration does not currently work for the control.* pseudo
group, but it will in a future release. There is a cost though:
while the number of physical files is not expected to increase, the
number of open file descriptors will multiply by about 6x if you use
the feature.
The new reader-mode expiration code is NOT turned on by default
because I do not want to trip people up. Please review the top of
samples/diablo.config to see how to turn it on.
The system-wide or max-per-user file descriptor limit should be at
least 4096 to accomodate an increase in the number of open
descriptors if you configure expiration for reader operation.
The remember time, in days, may be set in diablo.config rather then
hacking lib/vendor.h if you wish. This allows many diablo
installations to compile straight out of the box without having to
edit lib/vendor.h.
The new CRC64 algorithm can be used for the hash. The sample
diablo.config includes a 'hash' algorithm specification. The older
hash algorithm is called 'prime'. The new one is called 'crc'. The
sample diablo.config uses 'crc/prime' which means to use crc, but
to fallback to prime on lookup if it fails to find a record with crc.
To avoid blowing your history, you should leave the method set to
crc/prime for about a week and then set it to just crc.
While the new spool setup is backwards compatible to the previous
setup, more care must be taken when removing spool directories to
prevent corruption. If you remove spool directories manually and
the diablo server is running, you must rename the directory prior
to rm -rf'ing it to be 100% safe. The new dexpire does this, of
course.
DEXPIRE.CTL now uses a percentage expire. That is, you specify
a percentage of the best case expire (1-100) that you wish
and diablo expires articles accordingly. See the samples/dexpire.ctl
file. Diablo will dynamically and automatically conform itself
to your expiration parameters but you must edit the file with the
new scheme in mind for it to make sense.
Added new utility, dreadart, to read articles and/or verify their
consistancy in the spool given the message-id.
The maximum number of parallel feeds from any given client may now
be specified on a label-by-label basis. It is still a per-ip
limit so you can still collapse many different incoming feeds into a
single label and have the label-specified limit work on a per-host
basis. see the 'maxconnect' definition in samples/dnewsfeeds
Added 'nomismatch' option to dnewsfeeds (see samples/dnewsfeeds)
to surpress MISMATCH testing of the incoming Path: header.
Added '-c commonpath' option to diablo. This adds a common path
name to the Path: header if it does not already exist in the Path:
header. See the manual page for diablo.
Fixed a bug in diablo that would cause the dnewsfeeds file to be
read over and over again, eating cpu.
Added sub-second realtime capability: the combination of rtflush in
dnewsfeeds, and 'realtime' + 'd-1' in dnntpspool.ctl. If the system
supports usleep(), usleep(20000) is called (20 mS) rather then
sleep(1). May require some configuration munging for you system.
Not suggested.
BODY and ARTICLE nntp commands added. Like the HEAD command, articles
can be retrieved by message-id.
dexpire will remove files called 'core' or '*.core' in the spool
directory as it comes across them.
Diablo V1.13
Bug in spam cache file descriptor handling fixed... fcntl locks
require us to obtain discrete descriptors by calling open() after
any fork rather then before or they will not work properly if
a process gets killed. Due to the stability of diablo, this should
not have caused any problems in 1.12, but needed to be fixed anyway.
Bug in dnewslink quit code.. it would send the quit twice at the
end which would result in an <interrupt/error> in the logs. Apart
from the bogus log message, the bug had no other effect. This threw
a few people off who were looking for errors when, in fact, there
were none.
Bug in dnewslink reconnect code. When moving on to a new batchfile,
does not fix StreamPend when pending streaming objects are refiled
due to a timeout or remote close. Would result in dnewslink exiting
after processing one queue file rather then going on to the next
queue file.
Bug in dnewslink close/reopen (for logging) code... it would again
loose track of StreamPend. It would also lose track of the number
of potential receive bytes (which it calculates to guarentee that the
server does not block writing responses back to the dnewslink client).
Iain's latest diablo-stats included
Technical Details
Message-ID:
<657gbo$jj5$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: <657gbo$jj5$1@flea.best.net> Subject: Preliminary release-notes for Diablo 1.14, release still scheduled for sunday evening Date: Sat, 22 Nov 1997 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: 291632184 X-Trace: 880231609 13077 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp