🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Wang Haw Thu, 08 Apr 1999 00:00
ACTIVED problem
#36398
Author: Wang Haw
Date: Thu, 08 Apr 1999 00:00
34 lines
1790 bytes
I am currently using inn-1.7.2.insync-1.1d running on Digital Alpha server
DU4.0D for my news server, understand that inn-1.7.2.insync-1.1d has the 
actived built-in feature in it, actived daemon is running on server, but I
got this error captured in news.notice

Apr  7 16:34:51 violet nnrpd[10185]: qtas0503.singnet.com.sg connect
Apr  7 16:34:51 violet nnrpd[10185]: read_udp: recv: Connection refused
Apr  7 16:34:51 violet nnrpd[10185]: qtas0503.singnet.com.sg actived socket
couldnt be read AYTACK Connection refused

My present news setup is having innd running on one server and several
newsreader access servers running nnrpd via /etc/inetd.conf

nntp   stream  tcp     nowait  root    /usr/local/etc/in.nnrpd in.nnrpd -S innd_server

NetApp Filer is used to NFS export news spool, log and configuration files to
innd server and nnrpd servers.

What has gone wrong? $INN/config config.data has the item 18 actived 
configuration enabled, I did make and make install in $INN/actived directory,
and make/make install from the $INN directory.

I am asking for any advices and appreciate your help. Perhaps my compilation
was wrong, would greatful showing me the correct compilation to get rid of
the above-mentioned error.

--

Best regards,

Wang Haw
SingNet NOC

Re: ACTIVED problem
#36381
Author: Russ Allbery
Date: Wed, 07 Apr 1999 00:00
20 lines
1378 bytes
Wang Haw <wh@singnet.com.sg> writes:

> I am currently using inn-1.7.2.insync-1.1d running on Digital Alpha
> server DU4.0D for my news server, understand that inn-1.7.2.insync-1.1d
> has the actived built-in feature in it, actived daemon is running on
> server, but I got this error captured in news.notice

Are you sure that you're running actived?  Does it show up as a running
process?  The insync-1.1d patch set caused actived to be built, but IIRC
it didn't add a line to start actived to rc.news.  So you have to make
sure that something somewhere actually starts actived.

Also note that actived has a penchant for dying, particularly if you
process a bunch of newgroups or rmgroups at once.  You may want to run it
under something like supervise.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: ACTIVED problem
#36390
Author: Russ Allbery
Date: Wed, 07 Apr 1999 00:00
15 lines
1167 bytes
Wang Haw <wh@singnet.com.sg> writes:

> Sure, actived is running as daemon process, I modified rc.news to make
> it run when system starts up or I can always start it up manually just
> for my testing.  If this is not going to work, is there anyway I can
> disable it?

Recompile without it enabled.  But I'm using actived and it's working
fine, apart from those times when it dies.  Which hasn't been recently.
Try killing it and restarting it; does it start working again?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: ACTIVED problem
#36395
Author: Wang Haw
Date: Thu, 08 Apr 1999 00:00
23 lines
1671 bytes
Countless recompilation (:-<
Everything is fine when innd and its spawned nnrpd is running on a single
server. Notice that my present news setup is a bit different, innd on one
server and nnrpd on several newsreader servers, this is to make use of
nnrpd -S option to pass the posting to innd server, this way, I can 
round-robin the nnrpd servers to split the load.

Russ Allbery (rra@stanford.edu) wrote:
: Wang Haw <wh@singnet.com.sg> writes:

: > Sure, actived is running as daemon process, I modified rc.news to make
: > it run when system starts up or I can always start it up manually just
: > for my testing.  If this is not going to work, is there anyway I can
: > disable it?

: Recompile without it enabled.  But I'm using actived and it's working
: fine, apart from those times when it dies.  Which hasn't been recently.
: Try killing it and restarting it; does it start working again?

: -- 
: Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: ACTIVED problem
#36399
Author: Wang Haw
Date: Thu, 08 Apr 1999 00:00
46 lines
2626 bytes
Hi Russ, my first word to you is a million thanks. It WORKS finally.
The problem was I run actived on innd server only.
You reminded me actived SHOULD run on each separate newsreader servers.
What do you think, actived should run on both innd server and nnrpd    
servers? 

Usually, posted articles are captured in news.notice with "post ok followed
by message-id", something like 
Apr  8 15:02:26 columbine nnrpd[11928]: begonia.singnet.com.sg post ok <7ehka2$bko$1@columbine.singnet.com.sg>      

With my present news server setup, news.notice captured simple line like
Apr  8 16:56:44 violet nnrpd[11383]: begonia.singnet.com.sg posts received 1 rejected 0
The news log takes over the capturing of message-id line, is there any way
to remain message-id to be captured in news.notice?

Another qurstion would like to seek your advice, currently my news server
carries 7000+ newsgroups, the history file size is 370MB with the articles
expiration set to 7 days, we intend to carry 20000+ newsgroups, can history
file able to hold much more huge file size, how much it can hold? What
such a huge history file, if the file is corrupted, can I rebuild the file
while innd is running?

Russ, thanks again.


Russ Allbery (rra@stanford.edu) wrote:
: Wang Haw <root@begonia.singnet.com.sg> writes:

: > Everything is fine when innd and its spawned nnrpd is running on a
: > single server. Notice that my present news setup is a bit different,
: > innd on one server and nnrpd on several newsreader servers, this is to
: > make use of nnrpd -S option to pass the posting to innd server, this
: > way, I can round-robin the nnrpd servers to split the load.

: You're running actived on each separate newsreader server, correct?

: -- 
: Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

--
Best regards,

Wang Haw
SingNet NOC

Re: ACTIVED problem
#36402
Author: Russ Allbery
Date: Thu, 08 Apr 1999 00:00
14 lines
1233 bytes
Wang Haw <root@begonia.singnet.com.sg> writes:

> Everything is fine when innd and its spawned nnrpd is running on a
> single server. Notice that my present news setup is a bit different,
> innd on one server and nnrpd on several newsreader servers, this is to
> make use of nnrpd -S option to pass the posting to innd server, this
> way, I can round-robin the nnrpd servers to split the load.

You're running actived on each separate newsreader server, correct?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: ACTIVED problem
#36403
Author: Wang Haw
Date: Thu, 08 Apr 1999 00:00
33 lines
1779 bytes
Sure, actived is running as daemon process, I modified rc.news to make it 
run when system starts up or I can always start it up manually just for my
testing.
If this is not going to work, is there anyway I can disable it?


Russ Allbery (rra@stanford.edu) wrote:
: Wang Haw <wh@singnet.com.sg> writes:

: > I am currently using inn-1.7.2.insync-1.1d running on Digital Alpha
: > server DU4.0D for my news server, understand that inn-1.7.2.insync-1.1d
: > has the actived built-in feature in it, actived daemon is running on
: > server, but I got this error captured in news.notice

: Are you sure that you're running actived?  Does it show up as a running
: process?  The insync-1.1d patch set caused actived to be built, but IIRC
: it didn't add a line to start actived to rc.news.  So you have to make
: sure that something somewhere actually starts actived.

: Also note that actived has a penchant for dying, particularly if you
: process a bunch of newgroups or rmgroups at once.  You may want to run it
: under something like supervise.

: -- 
: Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

--
Best regards,

Wang Haw
SingNet NOC

Re: ACTIVED problem
#36412
Author: Russ Allbery
Date: Thu, 08 Apr 1999 00:00
41 lines
2582 bytes
Wang Haw <wh@singnet.com.sg> writes:

> What do you think, actived should run on both innd server and nnrpd
> servers?

Yes.  The actived code in nnrpd doesn't have the ability to connect to a
remote actived server; it tries to connect to an actived on the local
host.  So each host running nnrpd has to be running its own actived.

> With my present news server setup, news.notice captured simple line like
> Apr  8 16:56:44 violet nnrpd[11383]: begonia.singnet.com.sg posts received 1 rejected 0
> The news log takes over the capturing of message-id line, is there any way
> to remain message-id to be captured in news.notice?

This is in a setup where you're posting remotely to a feed server?  I
honestly don't know, since I've not run that particular setup, but I
somewhat doubt it.

> Another qurstion would like to seek your advice, currently my news
> server carries 7000+ newsgroups, the history file size is 370MB with the
> articles expiration set to 7 days, we intend to carry 20000+ newsgroups,
> can history file able to hold much more huge file size, how much it can
> hold?

Well, mine is currently a little over 800MB, but the vast majority of it
are articles that don't have associated tokens (which keeps the size
down).  That's essentially a full feed with a 14 day retention, though.
So I wouldn't worry too much about it; I wouldn't expect it to get much
over 800MB.  The effective upper limit is probably 2GB, at which point you
start running into largefile limitations on most OSes.

> What such a huge history file, if the file is corrupted, can I rebuild
> the file while innd is running?

I would expect you not to be able to; rebuilding it from the spool would
take quite a while.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

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