🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #254360

Re: slrn-- decrease timeout time?

#254360
From: Whiskers
Date: Wed, 17 Apr 2013 22:44
46 lines
3550 bytes
On 2013-04-17, unruh <unruh@invalid.ca> wrote:
> On 2013-04-17, Whiskers <catwheezel@operamail.com> wrote:
>> On 2013-04-17, unruh <unruh@invalid.ca> wrote:
>>> How do I decrease the timeout time of slrn. I am using a news source
>>> which will occassionally get stuck, and slrn will sit there for many
>>> minutes before it finally times out. If I kill that version and try
>>> again with another version of slrn, the posts come up immediately. Ie,
>>> there seems to be some sort of baleful interaction between slrn and
>>> whatever the server software is. I would like the timeout time
>>> decreased to say 20 sec, since if something has not come back before
>>> then, there is something seriously wrong with the link.
>>
>> Perhaps running slrn from a 'wrapper script' using 'timeout' is worth a
>> try?  Not something I've ever tried, though!
>
> No, that would "timeout" the whole SLRN, not the specific connection or
> posting I am working on now. Ie, I might spend and hour on slrn, but in
> the middle of that suddenly have to wait 3 min for the timout on a
> reading or a posting. The wrapper script cannot see that that is what is
> happening. 

So slrn's attempts to log in are what need to be fed through something that
times out after 'long enough'.

> Where in slrn is the timout determined?

There isn't a mention of it in the manual, so I expect it's in the source
code.

[...]

Perhaps slrnpull or Leafnode (or other proxy server) would make life
easier.

I wonder if what's really happening is that your server is dropping the
session while slrn thinks it's still connected, or that slrn is trying to
make a new session each time it wants to fetch or post something and the
server is still holding older sessions as active so that sometimes it hits
its 'number of sessions per user' limit.  If slrn sent an nntp QUIT command
as soon as it had finished the current jobs, that would seem to eliminate
those problems; I don't know if slrn actually does send a QUIT.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <slrnkmu9e0.7ud.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!nntp.giganews.com!19no96879265wie.1!news-out.google.com!hg5ni10967wib.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <CAzbt.157272$Z16.19477@newsfe04.iad> <slrnkmu0ch.46o.catwheezel@ID-107770.user.individual.net> <nTDbt.73619$Mu5.23092@newsfe27.iad>

Show Full Headers
Complete Article Headers
Message-ID: <slrnkmu9e0.7ud.catwheezel@ID-107770.user.individual.net>
Subject: Re: slrn-- decrease timeout time?
Date: Wed, 17 Apr 2013 23:44:16 +0100
From: Whiskers <catwheezel@operamail.com>
References: <CAzbt.157272$Z16.19477@newsfe04.iad> <slrnkmu0ch.46o.catwheezel@ID-107770.user.individual.net> <nTDbt.73619$Mu5.23092@newsfe27.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!nntp.giganews.com!19no96879265wie.1!news-out.google.com!hg5ni10967wib.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
X-Received: by 10.180.20.105 with SMTP id m9mr6538903wie.5.1366238599919;
MIME-Version: 1.0
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 46
X-Trace: individual.net sZf+/2SNYyeoNF0a1A3VNwzSWvybtYopkxkbckN3i9N4y99X72
X-Orig-Path: tavy.mobile.private!not-for-mail
Cancel-Lock: sha1:5kXePsyDl8yFvTEH+jLp/+/sZf4=
X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_
 "Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00
 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@
 p&  g^8<z5>HA
User-Agent: slrn/1.0.1 (Linux)
X-Original-Bytes: 3286