Thread View: news.software.nntp
3 messages
3 total messages
Started by Josh Wilmes - Admin
Fri, 23 May 1997 00:00
nnrpd from inetd?
Author: Josh Wilmes - Admin
Date: Fri, 23 May 1997 00:00
Date: Fri, 23 May 1997 00:00
16 lines
849 bytes
849 bytes
I've seen some people mention running nnrpd from inetd as a performance measure.. I'd like to try it, but I've never seen the exact procedure posted. Can I just run it, or is a patch necessary to make it hand off to innd for feeders? Also, is the innd-timer patch available for 1.5.1? Are there other recommended patches for 1.5.1? Thanks.. --Josh
Re: nnrpd from inetd?
Author: Nick Christenson
Date: Fri, 23 May 1997 00:00
Date: Fri, 23 May 1997 00:00
18 lines
1096 bytes
1096 bytes
In article <slrn5obr04.2bs.josh@sky.net>, Josh Wilmes - Admin <josh@sky.net> wrote: > >I've seen some people mention running nnrpd from inetd as a performance >measure.. I'd like to try it, but I've never seen the exact procedure posted. >Can I just run it, or is a patch necessary to make it hand off to innd for >feeders? It's pretty much ready to run. Use the "-s nntpserver" flag and make sure the client is in nntpserver's hosts.nntp. -- Nick Christenson EarthLink Network, Inc. npc@earthlink.net
Re: nnrpd from inetd?
Author: Joshua Goodall
Date: Sun, 25 May 1997 00:00
Date: Sun, 25 May 1997 00:00
58 lines
3111 bytes
3111 bytes
Josh Wilmes - Admin <josh@sky.net> wrote in news.software.nntp:
> I've seen some people mention running nnrpd from inetd as a performance
> measure.. I'd like to try it, but I've never seen the exact procedure
> posted. Can I just run it, or is a patch necessary to make it hand off to
> innd for feeders?
This can be a big performance win, especially on a loaded machine,
and you can still read news if innd is renumbering or down for
patching or whatever.
I did it this way:
1. Change #define NNTP_PORT in inn-1.5.1/include/configdata.h
from 119 to 433
2. Recompile. Best to recompile the whole caboodle because this
change has affected lib/remopen.[oc] amongst other things,
which will affect actsync, innxbatch, innxmit, nntpget,
getlist, rnews, nnrpd as well as inndstart.
3. Add the following to /etc/inetd.conf:
nntp stream tcp nowait news /usr/news/bin/nnrpd nnrpd
- this assumes the usual 4.3BSD layout of inetd.conf, and that
nnrpd is in /usr/news/bin
4. Add "-P 119" to the trailing <args> field in nntpsend.ctl
so that innxmit (which uses configdata.h) connects to the
correct port.
5. Arrange for your backend newsfeeds to connect to port 433.
If they're INN, use the "-P 433" modification in nntpsend.ctl.
If they're Diablo, you can add the p433 option in the
options field of the relevant lines in dnntpspool.ctl. I don't
know about DNews/Cyclone/others.
6. Once it's all working, maybe set the sticky bit on nnrpd
(chmod +t nnrpd) - this *might* start nnrpd up a fraction quicker.
Depends on your kernel.
7. Add nnsp 433/tcp to /etc/services.
If you don't have your news transit (feeding) on a separate machine
to the reader-facing box then you'll need to ask your peers to
update their nntp control files as per step 5.
I've used 433 in response to a suggestion in this group some time
ago. It's in RFC1700, but there's no description given.
p.s: Matt D - if you're reading this - that p<num> option isn't
documented (OK, it's in the Diablo source, what more could I
want?) but keep it in - it's been useful.
(pps: I don't wish to mislead anybody; I'm not admin for dcs.ed.ac.uk -
my usual location is news.ednet.co.uk)
--
Joshua Goodall NNTP/Linux/RISCOS/ISDN/Flute/Saxophones/Tea
#include <disclaimer.h> mailto:jjg@dcs.ed.ac.uk
...I am not a number, I am a free(3) man(1)!
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