Thread View: news.software.nntp
5 messages
5 total messages
Started by Matt Dillon
Thu, 08 May 1997 00:00
Diablo V1.08 RELEASED (Major Release)
Author: Matt Dillon
Date: Thu, 08 May 1997 00:00
Date: Thu, 08 May 1997 00:00
113 lines
5584 bytes
5584 bytes
Diablo V1.08 has been released. This released represents a MAJOR
upgrade. Please read the RELEASE_NOTES and INSTALL instructions
carefully, especially if you are upgrading from 1.07.
This release of diablo will cut your disk I/O in half (or, alternately,
double your performance from 1.07).
The release notes are included below. SUN/SOLARIS users should note
that I put in the statvfs() stuff, but I do not know whether it works
'out of the box' or not. Please email any problems to
diablo-bugs@backplane.com
The URL is:
http://www.backplane.com/diablo/
For people who do not know what Diablo is: Diablo is a news transit
system. It does not have news reader capability. It generally has
multiples of performance over INN for news transit.
Diablo 1.08 is a bit experimental. I have only been running it on news1
for 24 hours. If you are squeemish, wait for 1.09.
I expect to release 1.09 relatively soon with additional performance
improvements for heavily loaded sites... basically I had to remove the
collision avoidance I had in 1.07's diablo and intend to put that back
in (and make it better) in 1.09.
-Matt
Diablo V1.08 *** NOTE ** DHISTORY FILE RELOAD REQUIRED IF UPGRADING ***
** HISTORY AND SPOOL FILE FORMAT CHANGE. The format change requires
that you ensure that ALL of your diablo binaries are replaced. You
must regenerate your dhistory file
Major stability fixes to dhistory file operation... I have found that
if the /news partition runs out of space or many processes are
write()ing to dhistory in O_APPEND mode, that O_APPEND writes aren't
as atomic as I thought they were. dhistory appends are now
serialized and *ACTIVELY* realigned if their alignment gets screwed
up. This should make the dhistory file much, much, much more robust.
Major stability fixes to dqueue files. Feeds no longer must be
flushed on fork, and files are written in multiples of one line.
If a write files, the file is truncated to remove the partial line
in order to prevent corruption if a disk fills up.
Stability fixes to article files... now does a sanity check (looks
for the \0 terminator for the article in a multi-article file) to
catch corrupted files.
didump -x does a better job filtering out bogus dhistory entries.
Major, Major, Major changes in the spool file format, dhistory file
format, and queue file format. Read the section at the end of the
INSTALL file for instructions on how to upgrade without blowing up
your news server.
* spool files may now contain multiple articles separated by \0.
spool files are now named solely based on their gmtime and
iteration number.
* queue files include offset/length pairs to allow dnewslink to
access the new spool files.
* The dhistory file now has a proper header structure, and History
entries now contain two additional fields (offset, bytes) .. used
to store the offset,length information for article lookups.
The dynamic pipe sizing has been removed from dnewslink. It
doesn't work very well when feeds get behind and just slows
things down more.
dexpire is temporarily braindead... it now expires in straight FIFO
fashion, so most of dexpire.ctl is no longer relevant (except for
expirations of 0 which cause an article to be rejected)... I have
a medium term plan to make expiration specifications work again, but
it will be a few releases at the very least.
diablo, dnewslink, and dexpire now use chdir() caching to reduce
the path lengths for remove(), open(), etc... which is a big win
for the kernel.
diablo now records rejection statistics properly. It previously
did not count.
diablo now records and returns the errno error string on fatal
errors.
addition of 'delgroupany' command to dnewsfeeds file. Similar
to 'delgroup', except acts the same as INN's '@group'... i.e.
if the group appears in the Newsgroups line at all, the article
is rejected, even if there are other groups in the line that pass
the filter.
addition of 'maxpath' command to dnewsfeeds file. Allows you
to filter feed based on the number of elements in the Path:
header.
addition of the 'groupdef' command and 'groupref' command (see the
sample dnewsfeeds file). Rather then repeat the same group access
list over and over again in each feed, you can now collect them
together in one place and reference them from your feeds.
statvfs support added for SUN.
Linux compilation problem (was Re: Diablo V1.08 RELEASED (Major Release))
Author: Matt Dillon
Date: Thu, 08 May 1997 00:00
Date: Thu, 08 May 1997 00:00
27 lines
1470 bytes
1470 bytes
:In article <5ks1ie$bei$1@flea.best.net>,
:Matt Dillon <dillon@flea.best.net> wrote:
:> Diablo V1.08 has been released. This released represents a MAJOR
> upgrade. Please read the RELEASE_NOTES and INSTALL instructions
:...
There is a linux compilation problem in release V1.08. the problem
stems from diablo doing this:
fileno(fi) = -1;
Why? Well, because I use fdopen() and I don't want fclose() to close
the descriptor. I can't dup() the descriptor for the fdopen() because
closing the dup'd descriptor will release the record locks, so I'm
stuck.
Anyone have any solutions? The only thing I can think of is to
manually overwrite the appropriate field in the FILE structure.
stdio needs a library call to disconnect a descriptor from a stdio
file handle...
-Matt
Re: Linux compilation problem (was Re: Diablo V1.08 RELEASED (Major Release))
Author: Manuel J. Galan
Date: Sat, 10 May 1997 00:00
Date: Sat, 10 May 1997 00:00
42 lines
2130 bytes
2130 bytes
In article <5ktamh$i6l$1@flea.best.net>,
dillon@flea.best.net (Matt Dillon) writes:
>:In article <5ks1ie$bei$1@flea.best.net>,
>:Matt Dillon <dillon@flea.best.net> wrote:
>:> Diablo V1.08 has been released. This released represents a MAJOR
>> upgrade. Please read the RELEASE_NOTES and INSTALL instructions
>:...
>
> There is a linux compilation problem in release V1.08. the problem
> stems from diablo doing this:
>
> fileno(fi) = -1;
>
> Why? Well, because I use fdopen() and I don't want fclose() to close
> the descriptor. I can't dup() the descriptor for the fdopen() because
> closing the dup'd descriptor will release the record locks, so I'm
> stuck.
>
> Anyone have any solutions? The only thing I can think of is to
> manually overwrite the appropriate field in the FILE structure.
Quick and 'dirty' hack Matt, will this work?
---------------------------------------------------------------------------
--- diablo.c Mon May 5 07:09:26 1997
+++ diablo.c.linux Sat May 10 15:05:28 1997
@@ -1587,7 +1587,7 @@
* force an illegal descriptor because we will loose our
* flock if we close a dup(), so we can't use a dup.
*/
- fileno(fo) = -1;
+ fo->_fileno = -1; /* XXX */
fclose(fo);
}
---------------------------------------------------------------------------
--
Manuel J. Galan
Re: Diablo V1.08 RELEASED (Major Release)
Author: Al
Date: Tue, 13 May 1997 00:00
Date: Tue, 13 May 1997 00:00
133 lines
6378 bytes
6378 bytes
Matt Dillon (dillon@flea.best.net) wrote: <snip> : The release notes are included below. SUN/SOLARIS users should note : that I put in the statvfs() stuff, but I do not know whether it works : 'out of the box' or not. Please email any problems to : diablo-bugs@backplane.com Has anyone gotten 1.08 to work sucessfully on Solaris? I had to fix a few statvfs-oriented problems in dexpire, but my problem is newslink. I wholly replaced my binary tree, and my adm scripts, but newslink is having a lot of problems. At least half of the newslink sessions end with "interrupt/error" messages, which appear to be coming from EPIPE interrupts (Broken Pipe).. Perusing the debug info has shown different odd things, including dnewslink being unable to find articles in an article file when I can manually find them. (ie. dnewslink can find abc@xyz.com, but a grep finds it and its article immediately.) If anyone has had success with 1.08 on Solaris, what is going wrong here? Thanks, Al Dowski Systems Engineering Manager Aimnet Corporation : : The URL is: : : http://www.backplane.com/diablo/ : : For people who do not know what Diablo is: Diablo is a news transit : system. It does not have news reader capability. It generally has : multiples of performance over INN for news transit. : : Diablo 1.08 is a bit experimental. I have only been running it on news1 : for 24 hours. If you are squeemish, wait for 1.09. : : I expect to release 1.09 relatively soon with additional performance : improvements for heavily loaded sites... basically I had to remove the : collision avoidance I had in 1.07's diablo and intend to put that back : in (and make it better) in 1.09. : : -Matt : : : Diablo V1.08 *** NOTE ** DHISTORY FILE RELOAD REQUIRED IF UPGRADING *** : : ** HISTORY AND SPOOL FILE FORMAT CHANGE. The format change requires : that you ensure that ALL of your diablo binaries are replaced. You : must regenerate your dhistory file : : Major stability fixes to dhistory file operation... I have found that : if the /news partition runs out of space or many processes are : write()ing to dhistory in O_APPEND mode, that O_APPEND writes aren't : as atomic as I thought they were. dhistory appends are now : serialized and *ACTIVELY* realigned if their alignment gets screwed : up. This should make the dhistory file much, much, much more robust. : : Major stability fixes to dqueue files. Feeds no longer must be : flushed on fork, and files are written in multiples of one line. : If a write files, the file is truncated to remove the partial line : in order to prevent corruption if a disk fills up. : : Stability fixes to article files... now does a sanity check (looks : for the \0 terminator for the article in a multi-article file) to : catch corrupted files. : : didump -x does a better job filtering out bogus dhistory entries. : : Major, Major, Major changes in the spool file format, dhistory file : format, and queue file format. Read the section at the end of the : INSTALL file for instructions on how to upgrade without blowing up : your news server. : : * spool files may now contain multiple articles separated by \0. : spool files are now named solely based on their gmtime and : iteration number. : : * queue files include offset/length pairs to allow dnewslink to : access the new spool files. : : * The dhistory file now has a proper header structure, and History : entries now contain two additional fields (offset, bytes) .. used : to store the offset,length information for article lookups. : : The dynamic pipe sizing has been removed from dnewslink. It : doesn't work very well when feeds get behind and just slows : things down more. : : dexpire is temporarily braindead... it now expires in straight FIFO : fashion, so most of dexpire.ctl is no longer relevant (except for : expirations of 0 which cause an article to be rejected)... I have : a medium term plan to make expiration specifications work again, but : it will be a few releases at the very least. : : : diablo, dnewslink, and dexpire now use chdir() caching to reduce : the path lengths for remove(), open(), etc... which is a big win : for the kernel. : : diablo now records rejection statistics properly. It previously : did not count. : : diablo now records and returns the errno error string on fatal : errors. : : addition of 'delgroupany' command to dnewsfeeds file. Similar : to 'delgroup', except acts the same as INN's '@group'... i.e. : if the group appears in the Newsgroups line at all, the article : is rejected, even if there are other groups in the line that pass : the filter. : : addition of 'maxpath' command to dnewsfeeds file. Allows you : to filter feed based on the number of elements in the Path: : header. : : addition of the 'groupdef' command and 'groupref' command (see the : sample dnewsfeeds file). Rather then repeat the same group access : list over and over again in each feed, you can now collect them : together in one place and reference them from your feeds. : : statvfs support added for SUN. : : -- Al Dowski Systems Engineering Manager Aimnet Corporation
Re: Linux compilation problem (was Re: Diablo V1.08 RELEASED (Major Release))
Author: Joshua Goodall
Date: Sun, 25 May 1997 00:00
Date: Sun, 25 May 1997 00:00
17 lines
1293 bytes
1293 bytes
Manuel J. Galan <root@ulpgc.es> wrote in news.software.nntp:
> Quick and 'dirty' hack Matt, will this work?
[snip]
> + fo->_fileno = -1; /* XXX */
Worked for me; I tried it, compiled it and tested it (admittedly not under
heavy load) before I saw this thread - 1.08 turning over nicely.
--
Joshua Goodall NNTP/Linux/RISCOS/ISDN/Flute/Saxophones/Tea
#include <disclaimer.h> mailto:jjg@dcs.ed.ac.uk
...I am not a number, I am a free(3) man(1)!
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