🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #43274

Re: Diablo problems and questions

#43274
From: Joe Greco
Date: Thu, 13 Jan 2000 00:00
109 lines
5462 bytes
In news.software.nntp article <BBsf4.4521$v31.417082@ptah.visi.com>, drechsau+usenet@yuck.net (Mike Horwath) wrote:
:So, I am trying t set up front end reader boxen.
:
:Others have done this, so I am trying.  How can I fail? :)
:
:First, I can't seem to master the dexpire.ctl file.
:
:Here is what I want:
:
:	visi.*,mn.* groups to never expire

I don't know that that's possible.  The overview system is mildly cyclic in
design, last I looked, and the only way to do this would be to make sure
that the overview size is substantially larger than the maximum number of
posts that you'd have.  This is _hard_ with Diablo.  :-/

Note:  Diablo does seem to have a 65536 message per group limit.  I never
bothered checking to see what the logic behind that was, I think it may be
an arbitrary limit.

:	alt.* < 32K in size to be about 10-14 days
:	alt.* > 32K in size to be about 5 days
:	big 8 to be about 25-30 days
:	everything else to be 10-14 days
:
:I can't seem to do this no matter what I try.

Are you using "xNNN" to set the maximum number of days?  Diablo uses this
exclusively for overview (despite comments about FreeSpaceTarget expiration,
which it doesn't actually have).

:As to my questions:
:
:	in dexpire.ctl, the 'a' flag lets you set the initial size of
:	the group according to the samples.  This doesn't seem to work
:	and to get it to 'grow', I must run dexpreover on a regular
:	basis until it reaches a normal size.  This is annoying in
:	that I know approximately what size each group will get to
:	based on my current reader server and I would like to have
:	that work right from the start.  Since you can't edit the
:	overview files in place because other processes have it open,
:	the only way to actually resize the overviews is to stop the
:	server, run dexpireover, start the server, repeat every couple
:	hours for a couple days.
:
:	I have 2 machines synced together by having a third diablo
:	server running master and issuing the numbers.  The thing is,
:	the 2 servers get out of sync with each other because of the
:	problem listed above.

What does "out of sync" mean?  That they may not have the same starting
number?  I've never found this to be an issue.

I too have had some excitement trying to get "a" to work.  Every time I
run into one of these little config file things that works differently
than documented, I usually track it back to twisty compatibility logic
(or pre-config-file code) in Matt's stuff.  I ran into this with the
history size in diablo.config, for example, I really _did_ want a 64m
table.

I think in the case of MaxArts, I decided that it really did the wrong
thing in the event that you want to start out large.  The dexpireover
runs will gleefully adjust it much lower, since the group starts out
empty, which basically kills the whole point.  This is exactly the wrong
thing to do in the event of a group which might experience bursty and
rather high volume traffic during those bursts.  The admin who is trying
to tune for that scenario is much smarter than the code, which should not
second-guess such a directive.  This is a bug that should be fixed, but
I think I didn't have any real good ideas when I looked at it, short of
adding something like a ForcedMinimumSize field to the overview data file,
or breaking some of the library functions a bit.

I've also found that dexpireover will happily oscillate between two values
for a group if you decide to run it several times in a row.  :-/

One thing I can definitely say I despise about Diablo is the carefully
structured lib system that makes it a real $#@&$ to make minor changes
that were easy to do under things like INN...  :-(

:Anyone recode the authentication model for Diablo yet?  This is a
:biggy for me but I can leave customers pointing to the current reader
:box for some time but I would so much rather let the front end servers
:take the load.  I don't care if it is flat file or RADIUS, I just want
:a working authentication system, ala Typhoon :)

Hmm?  The flat file stuff works fine, although it might not scale to a
large number of users.

:Any suggestions as to how to configure the reader processes for a
:medium number of users per machine?
:
:I would like to handle 300-500 clients per machine (2 machines today,
:more in the future).
:
:Right now it is configured as such:
:
:	readerforks 15
:	readderthreads 30
:	readerdns 24
:
:Anyone have a reason to change that around some?  Maybe more 'forks'
:and less 'threads'?

Yeah, try reversing them.  And you shouldn't need so many DNS processes.
I run 20 on a machine configured to handle 2000 clients.

... JG

Technical Details
Message-ID: <387ea64f$0$1405@news.execpc.com>
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
References: <BBsf4.4521$v31.417082@ptah.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <387ea64f$0$1405@news.execpc.com>
Subject: Re: Diablo problems and questions
Date: Thu, 13 Jan 2000 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <BBsf4.4521$v31.417082@ptah.visi.com>
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: 572421455
Sender: jgreco@earth.execpc.com
X-Trace: Tl\okXWcmLgI5[332>a9YkbfNiaEHUgJgRYcgIRLSUEmCG8k_nL:R9g\RMmAYdR`Dm21Vkhja922fl=jlCRBl;3c4dTgmFn@Shg
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com