🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31158

Re: Diablo Reader oddity...

#31158
From: Matt Dillon
Date: Thu, 03 Sep 1998 00:00
70 lines
3261 bytes
:In article <35ecf769.0@news.sto.telegate.se>,
:Fredrik Lindgren <fredrik@tfi.net> wrote:
:>Matt Dillon <dillon@best.net> wrote in message 6seo18$nuv$1@flea.best.net...
:>>:In article <35ea97e4.0@news.sto.telegate.se>,
:..
:>>    But it still gets the total number of active
:>>    connections right :-)
:>
:>Hmm, it still looks weird.
:>
:>fli@news:/news/log$ grep ACTV dreaderd.status | wc
:>    143    1001   17160
:>fli@news:/news/log$ netstat -n | grep :119 | grep ESTABLISHED | wc
:>     88     616    8096
:>
:>Several of the hosts listed as active is not responding to pings
:>so they're definitely not there anymore..
:>
:>Even though I'm at a loss when it comes to programming, a friend
:>and I had a look at the source last night. Could it be that the
:>thread is "lost" somehow (It gets put in the background waiting

    It's possible.  It doesn't happen to me on FreeBSD, but I've been
    through enough revisions to know that I could be making an 
    assumption somewhere in the code that doesn't hold true for
    all OS's.

:>to send the greeting, but it has actually allready sent all the
:>data so it won't wake up again). That would explain that the
:>connections get stuck in the (startup) state.

    Shouldn't.  If the socket times out, the code will pick it up and
    close it.

    If linux has an always-keepalive configuration flag, you want to
    set it.

:>>    At the moment this value is hardwired.  You can increase it,
:>>    but doing so will greatly increase the amount of space used
:>>    by the over.* files... by several gigs.  I intend to eventually
:>>    make the parameter dynamic so if you are willing to wait...
:>
:>Ah, so bringing it up to 2048 would double the size, right?

    Yes.  The index files are around 32K for 1K articles.  But there's
    an index file for *each* newsgroup.  30,000 groups x 32K = 1G
    not including the overview data itself.  Multiply by two and you
    add another baseline gig to the overview hierarchy.

:>>    You definitely want to upgraade to the latest release.
:>>    Carefully read the samples/diablo.config file, a number
:>>    of variables have been added to handle spool stabilization
:>>    and other issues.
:>
:>Yes, like I sayd above I have done that.
:>
:>Thanks!
:>
:>Regards,
:>  Fredrik Lindgren
:>  Sonera, International Service Center

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Technical Details
Message-ID: <6sms90$jau$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-mail
References: <35ea97e4.0@news.sto.telegate.se> <6seo18$nuv$1@flea.best.net> <35ecf769.0@news.sto.telegate.se>

Show Full Headers
Complete Article Headers
Message-ID: <6sms90$jau$1@flea.best.net>
Subject: Re: Diablo Reader oddity...
Date: Thu, 03 Sep 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <35ea97e4.0@news.sto.telegate.se> <6seo18$nuv$1@flea.best.net> <35ecf769.0@news.sto.telegate.se>
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: 387595200
X-Trace: 904852728 2795 dillon 206.184.139.131
Organization: Best Internet Communications, Inc.
Newsgroups: news.software.nntp