Thread View: news.software.nntp
5 messages
5 total messages
Started by Keith
Tue, 16 Dec 1997 00:00
actived
Author: Keith
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
35 lines
1844 bytes
1844 bytes
Hello, I am running INN 1.7.2-insync1.1a on our news machine. Currently, we average 10 or so reader connections and have five full news peers. Unfortunetly, we occasionally start to deny readers access to the server because nnrp "Cannot allocate memory". I find this error rather misleading because we do indeed have enough memory on the machine for another news reader process. I've never seen us below 20megs of physical ram free. This doesn't even mention swap. In my investigation I noticed that actived was not being used by any nnrp processes (yet it is running on the system). I simply get an error message in news.notice that looks something like: Dec 15 22:57:25 news nnrpd[15590]: redneck.hick.com NOT using actived My two questions are, a) do you know why actived wouldn't be used? b) What could cause nnrp to not accept connections with the error message "Cannot allocate memory" even if their is enough memory availible? Please respond via email as I check it much quicker then this news group, though I try to check this group everynight. Once last unrelated question.. Is there a better way to clear the .overview in control/cancel? I am removing articles every 10 minutes and /dev/null'ing the .overview file but I am wondering if there is a better way to do this? Thanks in advance. Keith McCallion
Re: actived
Author: Andrew
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
24 lines
1598 bytes
1598 bytes
Keith <keith@iswest.com> wrote: > My two questions are, a) do you know why actived wouldn't be used? b) What > could cause nnrp to not accept connections with the error message "Cannot > allocate memory" even if their is enough memory availible? It'd probably be a lot easier to diagnose if you mentioned what OS and hardware setup you're running on. > Once last unrelated question.. Is there a better way to clear the .overview > in control/cancel? I am removing articles every 10 minutes and > /dev/null'ing the .overview file but I am wondering if there is a better > way to do this? You shouldn't be feeding control to overchan, period. Add a !control* to your overchan newsfeeds line. -- Andrew O. Smith | If you're one of those people who always System Administrator | stops ten feet in front of an intersection Insync Internet Services, Inc. | when the light is red, please email me and Houston, Texas, USA | tell me why you do it.
Re: actived
Author: Phil Crown
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
56 lines
2436 bytes
2436 bytes
>>>>> "MGF" == Marc G Fournier <marc@acadiau.ca> writes:
MGF> In article <6768ko$eor$1@synthemesc.insync.net>,
MGF> Andrew <aos@insync.net> writes:
>> Keith <keith@iswest.com> wrote:
>>> Once last unrelated question.. Is there a better way to clear the .overview
>>> in control/cancel? I am removing articles every 10 minutes and
>>> /dev/null'ing the .overview file but I am wondering if there is a better
>>> way to do this?
>>
>> You shouldn't be feeding control to overchan, period. Add a !control* to
>> your overchan newsfeeds line.
MGF> As has been mentioned sooooooo many times here, that has no effect at
MGF> this point in time. Postings to control are cross-posted to the relevant
MGF> newsgroups, so putting in !control* or even @control will have no effect...
I'm not sure of the official name of this patch (nov-cancel.diff?),
but it seems work very well, it reduced our overview partition usage
by about 60 percent and overchan hasn't overflowed once since applying
this patch.
I didn't write this patch, someone posted it here awhile back.
% rcsdiff -u -r1.1 overchan.c
===================================================================
RCS file: RCS/overchan.c,v
retrieving revision 1.1
diff -u -r1.1 overchan.c
--- 1.1 1997/07/30 08:24:13
+++ overchan.c 1997/08/12 03:51:01
@@ -1,4 +1,4 @@
-/* $Revision: 1.1 $
+/* $Revision: 1.3 $
**
** Parse input to add to news overview database.
*/
@@ -169,6 +169,11 @@
continue;
}
break;
+ }
+
+ /* skip lines beginning with "control/cancel" */
+ if (strncmp(p, "control/cancel", 14) == 0) {
+ continue;
}
/* If doing mkov output, process that line and continue. */
--
Phil Crown pcrown@ispnews.com http://ispnews.com
Re: actived
Author: Frank Ederveen
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
19 lines
1068 bytes
1068 bytes
Andrew wrote: > You shouldn't be feeding control to overchan, period. Add a !control* to > your overchan newsfeeds line. Does that really work? What we use looks something like this: OVERVIEW!/cyberspam:*:Tc,WO:/usr/news/bin/startoverchan It doesn't take care of _all_ control messages, but it's good enough for us. A rough guess; less than 1% get's through this way. Regards, Frank Ederveen NLnet
Re: actived
Author: Marc G. Fournier
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
18 lines
1456 bytes
1456 bytes
In article <6768ko$eor$1@synthemesc.insync.net>, Andrew <aos@insync.net> writes: > Keith <keith@iswest.com> wrote: >> Once last unrelated question.. Is there a better way to clear the .overview >> in control/cancel? I am removing articles every 10 minutes and >> /dev/null'ing the .overview file but I am wondering if there is a better >> way to do this? > > You shouldn't be feeding control to overchan, period. Add a !control* to > your overchan newsfeeds line. As has been mentioned sooooooo many times here, that has no effect at this point in time. Postings to control are cross-posted to the relevant newsgroups, so putting in !control* or even @control will have no effect...
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