Thread View: news.software.readers
2 messages
2 total messages
Started by G.D.Pratt
Mon, 14 Sep 1992 13:14
configuring tin to use shared index files
Author: G.D.Pratt
Date: Mon, 14 Sep 1992 13:14
Date: Mon, 14 Sep 1992 13:14
57 lines
3093 bytes
3093 bytes
With tin5 1.1 PL5 (soon to be pl6) we want to read the articles from a news server over NNTP but have shared index on our main user machine in /usr/local/lib/news/.tin/.index. Is it possible to configure a version of tin that will find this index without having to use the -I flag? I built the "dynix" version with these flags:- # For Sequent DYNIX dynix: @echo "Compiling for Sequent DYNIX..." @$(MAKE) CC=$(CC) CFLAGS='$(COPTS) -DBSD -DNNTP_ABLE -DNO_NNTP_EXTS -DNNTP_INEWS_GATEWAY=\"$(NNTP_INEWS_GATEWAY)\" -DNNTP_INEWS_DOMAIN=\"$(NNTP_INEWS_DOMAIN)\" -DLIBDIR=\"$(LIBDIR)\" -DSPOOLDIR=\"$(SPOOLDIR)\"' \ LIBS="-lcurses -ltermcap -lseq" \ EXE=tin linkit This works OK if:- 1) tin is set group ID:- ~/tin-1.1pl5/ > chmod 2775 tin ~/tin-1.1pl5/ > ls -lg tin -rwxrwsr-x 1 news news 289130 Sep 11 16:40 tin* 2) is invoked with -I flag as in tin -r -I/usenet/.tin/.index comp.text.tex Is the locking mechanism necessary - haven't seen any problems so far. /usenet/.tin/.index just contains group news owned files created by different users reading the news:- ls -alg /usenet/.tin/.index/ total 149 drwxrwx--- 2 news news 512 Sep 11 16:42 ./ drwxrwx--- 3 news news 512 Sep 11 14:36 ../ -rw-r--r-- 1 cca13 news 25296 Sep 11 15:15 10.1 -rw-r--r-- 1 cca13 news 13318 Sep 11 15:07 1088.1 -rw-r--r-- 1 cca13 news 22911 Sep 11 14:55 128.1 -rw-r--r-- 1 gerry news 3512 Sep 11 14:59 1401.1 -rw-r--r-- 1 gerry news 900 Sep 11 14:50 251.1 -rw-r--r-- 1 gerry news 1824 Sep 11 15:19 330.1 -rw-r--r-- 1 gerry news 2382 Sep 11 14:51 358.1 -rw-r--r-- 1 gerry news 2309 Sep 11 14:59 411.1 -rw-r--r-- 1 cca13 news 45511 Sep 11 16:42 500.1 -rw-r--r-- 1 gerry news 17041 Sep 11 15:17 528.1 -rw-r--r-- 1 gerry news 9989 Sep 11 16:38 551.1 The reason we want to set it up like this is that running tind every 30 mins or so on the news server machine seems to use a lot of CPU time (> 30 mins). Also having it setup like this means that the most frequently read newsgropus will have automatically updated indexes. gerry -- gerry pratt -- workstation support -- university of keele email: gerry@seq1.keele.ac.uk * telephone : 0782 583072 "these opinions are mine, mine, Mine.....ALL MINE I TELL YOU!"
Re: configuring tin to use shared index files
Author: Iain Lea
Date: Tue, 15 Sep 1992 07:04
Date: Tue, 15 Sep 1992 07:04
20 lines
1422 bytes
1422 bytes
G.D.Pratt (gerry@seq1) wrote:
:
: With tin5 1.1 PL5 (soon to be pl6)
^^^^^^^^^^^^^^
Its already been posted to alt.sources.
: The reason we want to set it up like this is that running tind every
: 30 mins or so on the news server machine seems to use a lot of CPU time
: (> 30 mins).
I know. The PL6 tind has been tweaked to handle the CPU bashing problem.
I posted some timings between tind PL5 & tind PL6 a short while ago.
Iain
--
NAME Iain Lea
EMAIL Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)
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