Article View: news.software.readers
Article #230641Re: [slrn][leafnode] slrn slow reconnection to leafnode server?
From: Troy Piggins
Date: Wed, 25 Feb 2009 20:48
Date: Wed, 25 Feb 2009 20:48
59 lines
3663 bytes
3663 bytes
* houghi wrote :
> Sidney Lambe wrote:
>>> Here I fail to see the relevance. I have some 16.000 (sixteen thousand)
>>> domains in my hosts file, but I have never seen any delay in anything.
>>
>> I don't know either, houghi. But if Troy said it helped, it probably
>> did. Might just be the way leafnode reads the file...
>
> I have no doubt that it helped. I would love to know WHY it helped. That
> way things can be improved.
>
> I am puzzeld, because as far as I know, slrn just reads from the server.
> At that moment leafnode should not be doing anything extra anymore
> concerning DNS related things.
>
> slrn will look up DNS, but when it is in the hosts file, there should be
> no serious delay, even with larger hosts files. So I am curious as to
> why it helped. If it is leafnode, perhaps a bugreport can help it in the
> future. If slrn, the same applies.
G'day houghi,
I don't understand why there is an issue either, but there is a
noticeable difference. I too have large /etc/hosts files and
most other apps are instantaneous. Pinging the hostname is
instantaneous, so it's not a DNS thing.
I thought it may be to do with xinetd, /etc/hosts.allow and
/etc/hosts.deny, but they appear to be "correct" too.
# /etc/hosts.allow
leafnode: 127.0.0.1 192.168.0.1 192.168.1.10
# /etc/hosts.deny
leafnode: ALL
# /etc/xinetd.d/nntp
service nntp
{
flags = NAMEINARGS NOLIBWRAP
socket_type = stream
protocol = tcp
wait = no
user = news
server = /usr/sbin/tcpd
server_args = /usr/local/sbin/leafnode
instances = 7
per_source = 3
}
Only other things I can pin the blame on is iptables rules or
that there is indeed something going on directly with leafnode
and slrn if the connection if from somewhere other than
localhost.
I'll keep digging until it bores me. Not long now.
--
Troy Piggins
Technical Details
Message-ID:
<20090226063957@usenet.piggo.com>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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mailReferences:
<20090225122106@usenet.piggo.com> <9voe76x6i2.ln2@magick.net> <1mte76xhq2.ln2@magick.net> <slrngq9uom.mhs.houghi@pasta.houghi> <vqff76xhq2.ln2@magick.net> <slrngqacms.s58.houghi@pasta.houghi>Show Full Headers
Complete Article Headers
Message-ID: <20090226063957@usenet.piggo.com> Subject: Re: [slrn][leafnode] slrn slow reconnection to leafnode server? Date: Thu, 26 Feb 2009 06:48:15 +1000 From: Troy Piggins <usenet-0902@piggo.com> References: <20090225122106@usenet.piggo.com> <9voe76x6i2.ln2@magick.net> <1mte76xhq2.ln2@magick.net> <slrngq9uom.mhs.houghi@pasta.houghi> <vqff76xhq2.ln2@magick.net> <slrngqacms.s58.houghi@pasta.houghi> 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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 59 Reply-To: usenet-0902@piggo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.eternal-september.org U2FsdGVkX1/vr/3H+AQ4HVLigG6GG2r4p5yui50oy6tyLm/tSXhjaDOu/XFnA8YZV/uCQF5XpzsPJSkeqcrkhvzhUWD3cbrVK3ibVKbCJ+oORkK+9cxAZiO/irkzalhOmd3GpH6fsvjgx89xxmKk9g== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Wed, 25 Feb 2009 20:47:36 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+3E3usBFbD/SijtytKCQjpyWC/fRMAQ2SW4JyESKtJKg== X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) Cancel-Lock: sha1:4/7m+EVi79Yw+Wmssn0OOd9mvY8= User-Agent: slrn/pre1.0.0-2/rt (Linux)