🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264408

Re: slrn very slow to load news

#264408
From: J.B. Nicholson
Date: Mon, 14 Sep 2020 22:16
122 lines
5638 bytes
Ted Heise <theise@panix.com> wrote:
> I will ask if it can be installed.  Since you posted with 
> slrn/1.0.3 I assume that's the latest version?

I think you and your provider would be better off getting whatever the
latest is from upstream -- https://slrn.info/ has good information and
https://slrn.info/download.html has a pointer to the latest with
install directions. This might coincide with what I'm using but the
authoritative info comes from slrn upstream.

Earlier Ted Heise <theise@panix.com> quoted slrn's startup text
and that text included the following lines:
> Loading /usr/share/slrn/slang/slrn.sl
> Reading startup file /etc/news/slrn.rc.
> Reading startup file /u/t/h/theise/.slrnrc.
> Loading /usr/share/slrn/slang/color.sl

In response, I recommended:
>  [...] disabling any macros you're loading (like
>  /usr/share/slrn/slang/color.sl and /usr/share/slrn/slang/slrn.sl)
>  so that you can be sure your settings in your own slrnrc are the
>  only settings you're using.

Ted Heise <theise@panix.com> replied:
> I've never attempted use of slrn macros, so feel pretty sure 
> that's not a factor.

But /usr/share/slrn/slang/*.sl files are being loaded as per the slrn
startup text above. Those are slrn macros and/or slrn settings. It's
usually a good idea to remove as many variables as possible when
trying to figure out what's really going on.

If you can compile and run your own copy of slrn, you could make it
not read any other slrn rc file but yours. That would help debugging
here, just to eliminate variables.



Let's look at the log data you posted.

Unfortunately the log slrn makes doesn't come with time/date stamps so
we don't have that information in the log to identify where things are
slow. I've asked slrn's author John E. Davis to consider adding this
for a future version of slrn.

For now we can work around this if you telnet to the NNTP port (port
119/TCP) of your news server, nyx2.nyx.net:

  $ telnet nyx2.nyx.net nntp

or

  $ telnet nyx2.nyx.net 119

and issue the same commands slrn issued, in the same order, manually
by typing them in or copy/paste. Each command should give you feedback
and you can look to see how long each command takes to process.

Quoting the log data posted:
> ---------- begin slrn.log --------------------
>
>
> !Connecting to server...
><200 nyx2.nyx.net NNTPCache server V3.0.1 [see www.nntpcache.org]  (c) 1996-2002 Julian Assange <proff@iq.org> Feb 21 2004 ready (posting ok, 110715 groups available).
>>MODE READER
>>
>
><200 nyx2.nyx.net NNTPCache server V3.0.1 [see www.nntpcache.org]  (c) 1996-2002 Julian Assange <proff@iq.org> Feb 21 2004 ready (posting ok, 110715 groups available).
>>XOVER
>>
>
><412 Not in a newsgroup
>>XHDR Path
>>
>
> !Disconnecting from server.
> !Disconnecting from server.
> !Disconnecting from server.
> !Disconnecting from server.

This makes me wonder what's going on server-side: it's not normal for
the client to have to reconnect to the server at this point.

Resuming quoting the log, slrn reconnects and:
> !Connecting to server...
><200 nyx2.nyx.net NNTPCache server V3.0.1 [see www.nntpcache.org]  (c) 1996-2002 Julian Assange <proff@iq.org> Feb 21 2004 ready (posting ok, 110715 groups available).
>>MODE READER

Now slrn is telling your NNTP server it's a newsreader for the second
time. This too should not be needed but is needed because of the
earlier disconnect.

The rest of the log struck me as normal, but the aforementioned
disconnects are suspicious to me because when I connect to NNTP
servers I don't have to reconnect at that point in a session.

From what I'm seeing in your posted log data there's nothing slrn is
doing that would identify slrn specifically. Perhaps other newsreaders
don't issue the "MODE READER" command. You could try the other
commands slrn issues and skip "MODE READER" to see if that speeds
things up.



With regard to NNTPCache, I suspect this program is not being actively
developed in a typical public-facing way. I'm not able to connect to
any of:

  http://www.nntpcache.org
  https://www.nntpcache.org
  http://nntpcache.org
  https://nntpcache.org

and get a useful webpage in return. I see it's a JS-based website
(with data from cloudfront.net and Google AdSense) but even on a
system with JS enabled for all domains I get a blank page in
Firefox. So if this is a known problem, I'm not sure where NNTPCache's
current bug database is, for instance.

It looks like there's a mailing list archive at
https://www.spinics.net/lists/nntpcache/ if you want to see if other
users see this disconnecting behavior or experience slow access.
Technical Details
Message-ID: <slrnrlvqts.fh4.jbn@forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <slrnrls5jj.kmb.theise@panix2.panix.com> <slrnrltca4.bfr.jbn@forestfield.org> <slrnrlv90e.geo.theise@panix2.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnrlvqts.fh4.jbn@forestfield.org>
Subject: Re: slrn very slow to load news
Date: Mon, 14 Sep 2020 22:16:28 +0000
From: "J.B. Nicholson" <jbn@forestfield.org>
References: <slrnrls5jj.kmb.theise@panix2.panix.com> <slrnrltca4.bfr.jbn@forestfield.org> <slrnrlv90e.geo.theise@panix2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
X-User-Id: eJwVysEBwCAIA8CVqhLQcYA0+49ge+/D8uEd5nCDoKxWbTceHtsRism3sKgcrNAHldzPbPvXBUG5Emo=
User-Agent: slrn/1.0.3 (Linux)
Organization: solani.org
Injection-Date: Mon, 14 Sep 2020 22:16:28 -0000 (UTC)
Cancel-Lock: sha1:AZyPfkg7orO0Ghron7FkfHM+iSU=
Injection-Info: solani.org; logging-data="16592"; mail-complaints-to="abuse@news.solani.org"