🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Fredrik Lindgren Mon, 31 Aug 1998 00:00
Diablo Reader oddity...
#31001
Author: Fredrik Lindgren
Date: Mon, 31 Aug 1998 00:00
30 lines
1364 bytes
Hi!

I'm running Diablo Reader on a Linux machine and it's working
great. I'm seeing one little problem with regards to the number
of active users though. This is how it looks:

fli@news:/news/log$ grep ACTV dreaderd.status | wc
    500    3532   60000
fli@news:/news/log$ netstat -n | grep :119 | grep ESTABLISHED | wc
    112     784   10304

This doesn't add up... I guess there must be some problem
with connections not being closed properly. The 112
connections seems correct if you exclude all the lines
saying "(startup)" from the dreaderd.status file.

Anyone else seeing this kind of behavior?

Also, I saw a notice saying that it doesn't seem to be
possible to have more than 1024 articles in a group.
I didn't see any replies to that, and it sure looks
like this is the case to me?!

Regards,
  Fredrik Lindgren




Re: Diablo Reader oddity...
#30987
Author: Matt Dillon
Date: Mon, 31 Aug 1998 00:00
55 lines
2701 bytes
:In article <35ea97e4.0@news.sto.telegate.se>,
:Fredrik Lindgren <fredrik@tfi.net> wrote:
:>Hi!
:>
:>I'm running Diablo Reader on a Linux machine and it's working
:>great. I'm seeing one little problem with regards to the number
:>of active users though. This is how it looks:
:>
:>fli@news:/news/log$ grep ACTV dreaderd.status | wc
:>    500    3532   60000
:>fli@news:/news/log$ netstat -n | grep :119 | grep ESTABLISHED | wc
:>    112     784   10304
:>
:>This doesn't add up... I guess there must be some problem
:>with connections not being closed properly. The 112
:>connections seems correct if you exclude all the lines
:>saying "(startup)" from the dreaderd.status file.
:>
:>Anyone else seeing this kind of behavior?

    What test release ?  dreaderd.status did have some
    problem in earlier test releases, but they should be
    mostly fixed in the last few releases.

    The only known problem with dreaderd.status in
    the current release occurs if you get more
    connections then the configured maximum.  It looses
    track of the per-process spool/poster connect count.
    But it still gets the total number of active
    connections right :-)

:>Also, I saw a notice saying that it doesn't seem to be
:>possible to have more than 1024 articles in a group.
:>I didn't see any replies to that, and it sure looks
:>like this is the case to me?!

    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...

    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.

:>Regards,
:>  Fredrik Lindgren

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

Re: Diablo Reader oddity...
#31112
Author: Fredrik Lindgren
Date: Wed, 02 Sep 1998 00:00
81 lines
3559 bytes
Matt Dillon <dillon@best.net> wrote in message 6seo18$nuv$1@flea.best.net...
>:In article <35ea97e4.0@news.sto.telegate.se>,
>:Fredrik Lindgren <fredrik@tfi.net> wrote:
>:>Hi!
>:>
>:>I'm running Diablo Reader on a Linux machine and it's working
>:>great. I'm seeing one little problem with regards to the number
>:>of active users though. This is how it looks:
>:>
>:>fli@news:/news/log$ grep ACTV dreaderd.status | wc
>:>    500    3532   60000
>:>fli@news:/news/log$ netstat -n | grep :119 | grep ESTABLISHED | wc
>:>    112     784   10304
>:>
>:>This doesn't add up... I guess there must be some problem
>:>with connections not being closed properly. The 112
>:>connections seems correct if you exclude all the lines
>:>saying "(startup)" from the dreaderd.status file.
>:>
>:>Anyone else seeing this kind of behavior?
>
>    What test release ?  dreaderd.status did have some
>    problem in earlier test releases, but they should be
>    mostly fixed in the last few releases.

Duh! I always forget the most inportant stuff.. That was test15
now I'm on test17.

>    The only known problem with dreaderd.status in
>    the current release occurs if you get more
>    connections then the configured maximum.  It looses
>    track of the per-process spool/poster connect count.
>    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
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.

>:>Also, I saw a notice saying that it doesn't seem to be
>:>possible to have more than 1024 articles in a group.
>:>I didn't see any replies to that, and it sure looks
>:>like this is the case to me?!
>
>    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?

>    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




Re: Diablo Reader oddity...
#31158
Author: 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)

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