Thread View: news.software.nntp
6 messages
6 total messages
Started by Paul D. Smith
Mon, 19 Jan 1998 00:00
nntpsend/innxmit hanging?
Author: Paul D. Smith
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
32 lines
1854 bytes
1854 bytes
I've recently installed INN 1.7.2 + Insync 1.1d.
For the most part, everything works great! Love it.
However, one thing seems to be a problem. I'm using nntpsend to forward
messages, started by cron every 10 mins. Every few days or so I'll
notice that the out.going batchfile is getting big. I'll go look and
there's an "in-progress" file xxxx=n sitting there a day or two old, and
I'll see an innxmit process sitting in my process table, doing nothing.
If I "kill <pid>" the innxmit process, it dies without cleaning up the
=n temp file (I do that by hand). Then the next 10 minute invocation
connects and writes immediately, with no problem.
I'm currently running with no extra flags in nntpsend.ctl, just:
host:host::
According to the nntpsend man page, it always uses "-a -t180" when
invoking innxmit, so I don't understand why this happens.
Anyone have any ideas?
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
Re: nntpsend/innxmit hanging?
Author: Charlie Reboot
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
52 lines
2974 bytes
2974 bytes
On 50 Dec 1997, Paul D. Smith wrote:
> However, one thing seems to be a problem. I'm using nntpsend to forward
> messages, started by cron every 10 mins. Every few days or so I'll
> notice that the out.going batchfile is getting big. I'll go look and
> there's an "in-progress" file xxxx=n sitting there a day or two old, and
> I'll see an innxmit process sitting in my process table, doing nothing.
I see this too, at times when the link to the remote host goes down,
or the remote crashes, and doesn't answer. The innxmit needs to have a
timer to detect when the remote peer has taken to long to answer at this
point and if so, bail out.
> If I "kill <pid>" the innxmit process, it dies without cleaning up the
> =n temp file (I do that by hand).
Far better would be to kill -INT <pid>, which would rewrite the =n
work-in-progress file. And there's no need for you to clean up this file.
The next incantation of nntpsend will merge the new batch file with
whatever didn't get sent, and then offer everything.
> According to the nntpsend man page, it always uses "-a -t180" when
> invoking innxmit, so I don't understand why this happens.
You may also want to put a limit on the time for each batch. This
will not stop all occurrences of this, but it may reduce them. Use the -T
flag with the number of seconds until you terminate the innxmit process.
To a relatively fast peer with an innxmit interval of ten minutes, you
might want to set -T to 540 (9 minutes), or 570, or 1140, or something a
bit less than the multiple of your interval to let the previous innxmit
have a chance to clean up, else you'll miss out on the chance to run it at
the next time interval.
The real solution would be to include a timer at the point where it
gets stuck for me (using the -T flag), but that requires coding. Ick.
Alternatively, once or a few times every day, you can kill -INT any
innxmit processes that are there. It's possible that innxmit will ignore
the -INT if it's sent out an article and is waiting for a reply.
Even better, you could try a real-time feeding method which is immune
to this particular problem which batched innxmit is known to have, say,
innfeed.
Barry Bouwsma, Tele Danmark Internet
Re: nntpsend/innxmit hanging?
Author: Paul D. Smith
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
40 lines
2237 bytes
2237 bytes
%% Charlie Reboot <f00fc7c8@int.tele.dk> writes:
>> If I "kill <pid>" the innxmit process, it dies without cleaning up the
>> =n temp file (I do that by hand).
cr> Far better would be to kill -INT <pid>, which would rewrite
cr> the =n work-in-progress file.
Ah. I guess I just ass-u-me'd that TERM would also do this.
Live'n'learn.
>> According to the nntpsend man page, it always uses "-a -t180" when
>> invoking innxmit, so I don't understand why this happens.
cr> You may also want to put a limit on the time for each batch.
cr> This will not stop all occurrences of this, but it may reduce
cr> them.
Good thought.
cr> Even better, you could try a real-time feeding method which is immune
cr> to this particular problem which batched innxmit is known to have, say,
cr> innfeed.
I was using nntpfeed but was seeing problems, so I decided to back off
to the simpler nntpsend for a while.
At the moment all except one of our feeds isn't accepting articles from
us, so we're essentially a leaf node for now :-/, so we're only sending
locally-generated articles and don't really need a streaming feed.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
Re: nntpsend/innxmit hanging?
Author: Martin Svensson
Date: Tue, 20 Jan 1998 00:00
Date: Tue, 20 Jan 1998 00:00
16 lines
862 bytes
862 bytes
Hi! >I've recently installed INN 1.7.2 + Insync 1.1d. I installed 1.7.2 yesterday (my 1.5.1 was acting really strange so I upgraded the whole thing). It's working good, but what is Insync 1.1d? Is it something I need? /Martin
Re: nntpsend/innxmit hanging?
Author: john
Date: Tue, 20 Jan 1998 00:00
Date: Tue, 20 Jan 1998 00:00
17 lines
1207 bytes
1207 bytes
Martin Svensson wrote:
> It's working good, but what is Insync 1.1d? Is it something I need?
http://www.insync.net/~aos/inn.html
You probably don't *need* it, but your server (and users)
will love you if you do install it.
(Whilst you're at it, take a look at cleanfeed as well, theres
a link on that page)
--
John Payne | VM: JOHN at RTP
IBM Global Services NS | email: john@raleigh.ibm.com
OpenNet Services (EMEA) | Intranet http://w3.irc.ibm.com/jpayne
Re: nntpsend/innxmit hanging?
Author: Peter Augustin
Date: Tue, 20 Jan 1998 00:00
Date: Tue, 20 Jan 1998 00:00
17 lines
1228 bytes
1228 bytes
Martin Svensson schrieb:
> I installed 1.7.2 yesterday (my 1.5.1 was acting really strange so I
> upgraded the whole thing).
> It's working good, but what is Insync 1.1d? Is it something I need?
insync is a collection of patches for inn 1.7.2, you can find it
somewhere at http://www.insync.net (sorry, dont know the exact URL). I
would say insync is a must for each fine running inn newsserver.
--
Realname: Peter Augustin EMail: acp@inode.at
Homepage: http://www.inode.at/acp/ IRC: ACP #inode
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