Thread View: news.software.nntp
8 messages
8 total messages
Started by Dan Smith
Fri, 08 Jun 2001 07:40
INN: Clients take a long time to connect
Author: Dan Smith
Date: Fri, 08 Jun 2001 07:40
Date: Fri, 08 Jun 2001 07:40
7 lines
1186 bytes
1186 bytes
When connecting remotely, clients connect at a slow, but reasonable pace. However, readers run on the same machine as the server connect VERY slow. It's fast once they're connected, but it takes a while to establish the initial connection. --Dan
Re: INN: Clients take a long time to connect
Author: Russ Allbery
Date: Fri, 08 Jun 2001 23:10
Date: Fri, 08 Jun 2001 23:10
17 lines
1642 bytes
1642 bytes
Dan Smith <dsmith@arcadis-us.com> writes:
> When connecting remotely, clients connect at a slow, but reasonable
> pace. However, readers run on the same machine as the server connect
> VERY slow. It's fast once they're connected, but it takes a while to
> establish the initial connection.
This is a wild guess, but I bet this is the difference between having innd
hand things off to nnrpd immediately because the host isn't in
incoming.conf and the client having to send MODE READER.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN: Clients take a long time to connect
Author: Dan Smith
Date: Mon, 11 Jun 2001 07:24
Date: Mon, 11 Jun 2001 07:24
8 lines
1138 bytes
1138 bytes
OK, so what is the solution? Isn't incoming.conf for newsfeeders? Thanks! --Dan
Re: INN: Clients take a long time to connect
Author: Dan Smith
Date: Mon, 11 Jun 2001 08:04
Date: Mon, 11 Jun 2001 08:04
8 lines
1331 bytes
1331 bytes
Wait, wait.. Is nnrp what actually handles the readers? So innd just holds the database and nnrp talks to it on behalf of the reader? If I do that, does nnrp support the ihave command? --DAn
Re: INN: Clients take a long time to connect
Author: Russ Allbery
Date: Mon, 11 Jun 2001 11:46
Date: Mon, 11 Jun 2001 11:46
18 lines
1570 bytes
1570 bytes
Dan Smith <dsmith@arcadis-us.com> writes:
> OK, so what is the solution?
Running nnrpd separately from innd (in other words, moving innd to some
port other than 119 -- 433 is traditional -- and running nnrpd on 119
either with -D or through inetd or some equivalent) works pretty well.
> Isn't incoming.conf for newsfeeders?
Yes.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN: Clients take a long time to connect
Author: Russ Allbery
Date: Mon, 11 Jun 2001 13:24
Date: Mon, 11 Jun 2001 13:24
25 lines
1819 bytes
1819 bytes
Dan Smith <dsmith@arcadis-us.com> writes:
> Wait, wait..
> Is nnrp what actually handles the readers?
Right.
> So innd just holds the database and nnrp talks to it on behalf of the
> reader?
innd accepts posts from other servers, stores them, and sends them out to
other servers. nnrpd handles reader connections. nnrpd only talks to
innd to submit posts; it reads the news spool directly.
> If I do that, does nnrp support the ihave command?
No, because IHAVE is not a reader command.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN: Clients take a long time to connect
Author: those who know me have no need o...
Date: Tue, 12 Jun 2001 02:38
Date: Tue, 12 Jun 2001 02:38
32 lines
2294 bytes
2294 bytes
<m31yor4gym.fsf@intrepid.dansmithnet.com> divulged: >OK, so what is the solution? first find out if that (innd hand-off to nnrpd) is even the problem. it might be that your tcp/ip stack is woefully inefficient at short-circuiting connections to itself for all we know. are you using NNTPHOST=localhost or NNTPHOST=fqdn? if you use telnet to the server (``telnet $NNTPHOST 119'') how long does it take before the first response? if it takes a long time do you have good nameserver response time (for ptr resolution requests)? (you can test this somewhat by disconnecting then quickly connecting again, if the response is much faster than dns is at least part of the problem.) are you greeted with an inn or nnrp banner? if it's inn's banner how long does ``mode reader'' take to respond? repeat. was it a lot faster? if so add memory. if dns is part of the problem running a caching resolver on your news server might help. install one and run the tests again. all the same questions but with the "other" NNTPHOST? if switching achieved the same speeds as you see with remote readers then indeed the tcp/ip stack is (at least part of) the problem, and you should just change all your NNTPHOST related settings, e.g., /etc/nntp_server or /usr/lib/nntp_server or nnrpdposthost. -- okay, have a sig then
Re: INN: Clients take a long time to connect
Author: bill davidsen
Date: Mon, 09 Jul 2001 17:55
Date: Mon, 09 Jul 2001 17:55
15 lines
1697 bytes
1697 bytes
In article <m3ofrzfmgm.fsf@intrepid.dansmithnet.com>, Dan Smith <dsmith@arcadis-us.com> wrote: | When connecting remotely, clients connect at a slow, but reasonable | pace. However, readers run on the same machine as the server connect | VERY slow. It's fast once they're connected, but it takes a while to | establish the initial connection. The first thing I would check is how fast your DNS is working. Slow DNS will slow all connects. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "I am lost. I am out looking for myself. If I should come back before I return, please ask me to wait." -seen in a doctor's office
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