Thread View: news.software.nntp
9 messages
9 total messages
Started by Margarita Suarez
Thu, 03 Jul 1997 00:00
Read-only INND?
Author: Margarita Suarez
Date: Thu, 03 Jul 1997 00:00
Date: Thu, 03 Jul 1997 00:00
20 lines
1295 bytes
1295 bytes
we are running INND 1.5.1 on a Sun Ultra2 machine (dual ultra1/170 processors, 640MB RAM, SSA112). we would like to split the readers off to a second machine, but we would like to avoid duplicating the disk space (currently 10 days of news with 0 days of alt.binaries takes up 14gb). i'd like to try NFS mounting the news spool, history, and overview files (perhaps using SUN cachefs), but i couldn't figure out how to run INND in reader-only mode. e.g., it wants to open the history database for reading and writing. has anyone done something like this before, or does anyone have any ideas on how to do this? seems like it would be quite useful. thanks marg@columbia.edu
Re: Read-only INND?
Author: Miquel van Smoorenburg
Date: Fri, 04 Jul 1997 00:00
Date: Fri, 04 Jul 1997 00:00
19 lines
1351 bytes
1351 bytes
In article <5pdv24$7bs$1@newsmaster.cc.columbia.edu>, Margarita Suarez <marg@manila.cc.columbia.edu> wrote: >i'd like to try NFS mounting the news spool, history, and overview files >(perhaps using SUN cachefs), but i couldn't figure out how to run INND >in reader-only mode. e.g., it wants to open the history database for >reading and writing. Well, you could try not running innd at all but just run nnrpd from inetd, I guess. Mike. -- | Miquel van Smoorenburg | "I need more space" "Well, why not move to Texas" | | miquels@cistron.nl | "No, on my account, stupid." "Stupid? Uh-oh.." | | PGP fingerprint: FE 66 52 4F CD 59 A5 36 7F 39 8B 20 F1 D6 74 02 |
Re: Read-only INND?
Author: Dan Tedrick
Date: Fri, 04 Jul 1997 00:00
Date: Fri, 04 Jul 1997 00:00
27 lines
1446 bytes
1446 bytes
Margarita Suarez wrote: > > we are running INND 1.5.1 on a Sun Ultra2 machine (dual ultra1/170 > processors, 640MB RAM, SSA112). we would like to split the readers off > to a second machine, but we would like to avoid duplicating the disk > space (currently 10 days of news with 0 days of alt.binaries takes up > 14gb). good idea. > > i'd like to try NFS mounting the news spool, history, and overview files > (perhaps using SUN cachefs), but i couldn't figure out how to run INND > in reader-only mode. e.g., it wants to open the history database for > reading and writing. don't run innd, launch the nnrpds out of inetd. also, there should be no need to run NFS3, use NFS2 (less overhead) and if you can, turn off atime updates. also mounting read only is a nice safe percaution. Dan Tedrick
Re: Read-only INND?
Author: Sach
Date: Fri, 04 Jul 1997 00:00
Date: Fri, 04 Jul 1997 00:00
28 lines
1540 bytes
1540 bytes
You can run regular innd with no entries in hosts.nntp or you can bind nnrpd to port 119 on the reader machine. |Margarita Suarez wrote: | | we are running INND 1.5.1 on a Sun Ultra2 machine (dual ultra1/170 | processors, 640MB RAM, SSA112). we would like to split the readers off | to a second machine, but we would like to avoid duplicating the disk | space (currently 10 days of news with 0 days of alt.binaries takes up | 14gb). | | i'd like to try NFS mounting the news spool, history, and overview files | (perhaps using SUN cachefs), but i couldn't figure out how to run INND | in reader-only mode. e.g., it wants to open the history database for | reading and writing. | | has anyone done something like this before, or does anyone have any | ideas on how to do this? seems like it would be quite useful. | | thanks | marg@columbia.edu -- Sach ssk@cmprime.cis.att.com
Re: Read-only INND?
Author: Juan Carlos Castro
Date: Fri, 04 Jul 1997 00:00
Date: Fri, 04 Jul 1997 00:00
30 lines
1865 bytes
1865 bytes
On 3 Jul 1997, Margarita Suarez wrote: > we are running INND 1.5.1 on a Sun Ultra2 machine (dual ultra1/170 > processors, 640MB RAM, SSA112). we would like to split the readers off > to a second machine, but we would like to avoid duplicating the disk > space (currently 10 days of news with 0 days of alt.binaries takes up > 14gb). > > i'd like to try NFS mounting the news spool, history, and overview files > (perhaps using SUN cachefs), but i couldn't figure out how to run INND > in reader-only mode. e.g., it wants to open the history database for > reading and writing. > > has anyone done something like this before, or does anyone have any > ideas on how to do this? seems like it would be quite useful. > Dont run innd on the reader machine, just run nnrpd out of inetd (or tcpserver or what ever is good to listen to port 119)... Cachefs sounds to me like a really big win, I dont know how well it would do with overview history, or active files though. ---- J. Carlos Castro (JCC31) - Consulting for your Internet Needs work --president@netcrusader.net--> http://www.netcrusader.net http://www.jcas.com <-------------j@jcas.com------------- play
Re: Read-only INND?
Author: Mario Vidovic
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
21 lines
1311 bytes
1311 bytes
;;;On 3 Jul 1997, Margarita Suarez wrote: ;;; ;;;Dont run innd on the reader machine, just run nnrpd out of inetd ;;;(or tcpserver or what ever is good to listen to port 119)... ;;; ;;;Cachefs sounds to me like a really big win, I dont know how well it ;;;would do with overview history, or active files though. ;;; ;;;---- reading news would be o.k. But what happens if someone posts an article? nnrpd does not take an article or I am wrong ? Please mail me answers too. I am on holidays for one week. Thanks Mario
Re: Read-only INND?
Author: Margarita Suarez
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
30 lines
2089 bytes
2089 bytes
thanks for all the responses. i took the advice to run nnrpd out of inetd, listening on port 119. i am cacheing the site (news config) directory and also the spool directory (which in our case also includes the overview files). the defaults for cachefs are to cache files up to 3mb. it's a little slower than reading on the news master, but liveable (at least at low summer loads). cachefsstat tells us that we're getting an excellent hit rate on the site directory (99%!). this is probably the active file. on the spool/overview directory we're only getting 50%. this can be viewed as a "glass half full or empty" question: half the time we incur the overhead of cacheing a file which no one ever references again, but the other half the time, we protect the server from repeated accesses. a while back we had added a switch to modify the innd XREPLIC mode so that only overview files were sent, not article contents. this was so we could keep the overview files locally on the stage. i think we lost those mods since upgrading to 1.5.1, but i'm not sure it's worth it to try to reproduce them. that is, there are so many articles that no one ever looks at, it's probably better to try to cache them. i'm not sure how large the largest overview files get (bigger than 3MB?) marg
Re: Read-only INND?
Author: Jerry Aguirre
Date: Thu, 17 Jul 1997 00:00
Date: Thu, 17 Jul 1997 00:00
14 lines
1334 bytes
1334 bytes
>reading news would be o.k. But what happens if someone posts an >article? nnrpd does not take an article or I am wrong ? When nnrpd gets a post it will envoke inews. It is up to you to configure a working inews on the "slave" system. Either the "mini-inews" that comes with the refference NNTP or the INN inews could be used. The trick is to have their configuration tell them to post via the "master" server. They will then connect to the master server and pass the article along to it. Eventually the posting gets passed to innd on the master system.
Re: Read-only INND?
Author: Kenneth Herron
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
50 lines
3212 bytes
3212 bytes
We're running one of these too (coincidentally set up the day before Ms. Suarez posted). In our case, the caching system is a pentium-133 running Solaris 2.5.1, with a 1-gigabyte cache. So far I'm the only one using it, which unfortunately isn't a good way to test a cache, but it's functionally complete anyway. Just to expand on Margarita's post: We're currently caching articles, overview, and the active-file directory, all on separate partitions but using the same cache. Cachefs caches at the file level--instead of, say, disk blocks--and apparently retransfers the entire file if it detects that the file has changed. This is completely wrong for the history database, so these files are provided through regular NFS. It also seems non-optimal for overview files for some of the larger groups. Accordingly, I set cachefs to only cache files up to 1mb, so some large overview files would be passed through instead of being cached. The first cachefs mount can take several minutes if the cache contains a lot of data, due to an fsck step. I was initially using the automounter to maintain the mounts, but am currently mounting them at boot time. My experience was complicated by a wayward core-finding script that was descending into the cache area and generating loads of extraneous NFS traffic (and probably keeping the cache artificially full); I may try the automounter again later. One can control how long file/directory data is cached before re-checking with the master server. Right now I'm using: articles: acregmin=600,acregmax=3600,acdirmin=300,acdirmax=3600 overview: acregmin=600,acregmax=1200,acdirmin=1200,acdirmax=3600 active: acregmin=300,acregmax=3600,acdirmin=300,acdirmax=3600 If I understand what I'm doing, this means that any particular overview file will only be transferred once per 10 minutes, and the active file only once per 5 minutes. With just me using the server, I'm getting a 13% hit rate on the spool area and a 93% hit rate on overview. My guess is that directory caching is accounting for much of this 93%; cachefs is not a perfect fit for overview caching, especially with the larger groups. It may be more effective to arrange an overview data feed and just build local overview files on the slave reader. -- Kenneth Herron -- kherron@campus.mci.net No animals were harmed during the production of this message.
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